Skip to content
This repository was archived by the owner on Apr 11, 2023. It is now read-only.
alvinthenPublic archive

About

A GraphQL schema hosted in AWS Lambda wrapping http://swapi.co/

Topics

Resources

Stars

20 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

swapi-graphql-lambda

A GraphQL schema hosted in AWS Lambda wrapping http://swapi.co/

Based on https://github.com/graphql/swapi-graphql

Getting started

  1. Install dependencies with
npm install
  1. Bundle the project into one file with
npm run build
  1. Upload the generated swapiLambda.js to AWS Lambda
  2. Set Lambda handler to swapiLambda.handler
  3. Test the Lambda function by supplying test event as below
{"query": "query{allPlanets{planets{name}}}"}

About

A GraphQL schema hosted in AWS Lambda wrapping http://swapi.co/

Topics

Resources

Stars

20 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages