@graphity/server-express
TypeScript icon, indicating that this package has built-in type declarations

0.9.2 • Public • Published

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)

Package Sidebar

Install

npm i @graphity/server-express

Weekly Downloads

1

Version

0.9.2

License

MIT

Unpacked Size

13.5 kB

Total Files

13

Last publish

Collaborators

  • wan2land