A GraphQL schema hosted in AWS Lambda wrapping http://swapi.co/
Based on https://github.com/graphql/swapi-graphql
- Install dependencies with
npm install
- Bundle the project into one file with
npm run build
- Upload the generated
swapiLambda.js
to AWS Lambda - Set Lambda handler to
swapiLambda.handler
- Test the Lambda function by supplying test event as below
{"query": "query{allPlanets{planets{name}}}"}