mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 02:01:40 -05:00
Improved express sample in README.md
Added body-parser import..
This commit is contained in:
parent
d560c538f9
commit
16cd308d2d
1 changed files with 1 additions and 0 deletions
|
@ -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!
|
||||
|
|
Loading…
Add table
Reference in a new issue