Skip to content

mdaehnert/graphql-serverless-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphql-serverless-demo

This project is a demonstration on how to implement GraphQL with AWS Lambda.

Services

The following AWS features will be used / are required:

  • API Gateway
  • Lambda
  • DynamoDB

Setup environment

  1. Create DynamoDB Table with name customer and an item like:
{
  "age": 27,
  "birthday": "1991-09-12",
  "id": 0,
  "name": "Micha",
  "orders": [
    {
      "amount": 123,
      "date": "2017-12-21"
    }
  ]
}
  1. Lambda: Deploy Fat-JAR
  2. Create API Gateway with 1 endpoint as Lambda Proxy and wire it with the previously created lambda.

Build Lambda function and execute query + mutation

mvn clean package

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages