This example demonstrates how to setup a lambda graphql API with apollo ( Slight extension from https://github.com/serverless/examples )
@serverless
- Small graphql API
- Creating a temporary lambda API that can easily be converted to standard GraphQL API
-
Setup your env file for AWS deployment with:
-
- APOLLO_LAMBDA_KEY
-
- NODE_ENV
-
-
sls deploy
- To test it locally with serverless-offline by running:
npm run dev
- Add support for subscription with Redis