UNPKG

create-pylon

Version:

CLI for creating a Pylon

16 lines (13 loc) 263 B
import {app} from '@getcronit/pylon' import {serve} from '@hono/node-server' export const graphql = { Query: { hello: () => { return 'Hello, world!' } }, Mutation: {} } serve(app, info => { console.log(`Server running at ${info.port}`) })