0.0.15 • Published 1 year ago
@hqmaker93/framework-api v0.0.15
API
Subscription
// ....
const httpServer = app.listen({ port: 4000, host: process.env.HOST }, () => {
console.log(`🚀 Server ready at http://localhost:4000${server.graphqlPath}`)
}
)
server.applyMiddleware({ app, path: `/api${server.graphqlPath}` })
server.installSubscriptionHandlers(httpServer)
0.0.15
1 year ago