Skip to content

Latest commit

 

History

History

graphity-server-express

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Graphity - Server Express

Downloads Version License Typescript
dependencies Status

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)