@graphity/server-express
v0.9.2
Published
Graphity server for Express
Downloads
11
Maintainers
Readme
Graphity - Server Express
Installation
npm install @graphity/server-express --save
import { Graphity } from 'graphity'
import { ServerExpress } from '@graphity/server-express'
const graphity = new Graphity({
resolvers: [
HomeResolver,
/* ... */
],
})
graphity.register(new AuthProvider())
graphity.register(new AwsProvider())
graphity.register(new TypeormProvider())
const server = new ServerExpress(graphity) // without boot
server.start(8080)