Improved express sample in README.md

Added body-parser import..
This commit is contained in:
Lars Wilhelmsen 2016-12-13 13:38:29 +01:00 committed by GitHub
parent d560c538f9
commit 16cd308d2d

View file

@ -36,6 +36,7 @@ where variant is one of the following:
```js
import express from 'express';
import bodyParser from 'body-parser';
import { graphqlExpress } from 'graphql-server-express';
const myGraphQLSchema = // ... define or import your schema here!