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

alvinthen/swapi-graphql-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published