Skip to content

tmaximini/graphql-apollo-serverless-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless graphql server

Powered by Apollo Server Lambda - Check the docs here

Installation

run npm install or yarn

npm scripts

npm run dev: start graphiql dev server

deployment

via serverless

install serverless: npm i -g serverless

run sls deploy

via aws-cli

(make sure you have your aws-cli setup and configured)

run ./deploy.sh

AWS Setup

The resolver currently fetches Data from a DynamoDB, you'll need to setup your AWS credentials for local testing in a .env file or add IAM permissions accordingly on the deployed lambda on the AWS console.

About

run apollo-server on aws lambda

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages