add graphql dependency to docs (#1244)

This commit is contained in:
Alessio Dionisi 2018-06-26 01:37:12 +02:00 committed by Evans Hauser
parent d85ef48070
commit 2b925c4725
2 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ AWS Lambda is a service that lets you run code without provisioning or managing
Learn how to integrate Apollo Server 2 with AWS Lambda. First, install the `apollo-server-lambda` package:
```sh
npm install apollo-server-lambda@rc
npm install apollo-server-lambda@rc graphql
```
## Deploying with AWS Serverless Application Model (SAM)
@ -193,4 +193,4 @@ exports.graphqlHandler = server.createHandler({
credentials: true,
},
});
```
```

View file

@ -8,7 +8,7 @@ description: Setting up Apollo Server with AWS Lambda
This is the AWS Lambda integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).
```sh
npm install apollo-server-lambda@rc
npm install apollo-server-lambda@rc graphql
```
## Deploying with AWS Serverless Application Model (SAM)