Skip to content

Demo of Serverless application using AWS DynamoDB and Lambda

Notifications You must be signed in to change notification settings

jrmarquard/serverless-ddb-lambda-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless-ddb-lambda-deemo

Demo of Serverless application using AWS DynamoDB and Lambda

Brief / Requirements

  1. Create a Serverless application
  2. Create a DynamoDB table in your AWS account to house "User" data. Attributes:
    1. id: String UUID
    2. firstName: String
    3. lastName: String
    4. username: String
    5. credentials: String (Encrypted)
    6. email: String
  3. Create Lambdas to create and list items from this DynamoDB table.
    1. Keep credentials attribute as a write-only attribute.
  4. Upon save take plain password and encrypt it using KMS with a user-defined CMK.
  5. Make the Lambda function available via an AWS API Gateway endpoint.
  6. Write unit tests for your code by mocking AWS EC2 API.
  7. Produce a code coverage report for your test suite.
  8. Make response JSON:API 1.0 compatible.

Requirements

Initial setup

  • Run aws configure if your box is not configured with AWS yet
  • Run npm i

Deployment

Run npm run deploy -- --stage { dev | prod } to deploy to either dev or prod. --stage is required.

About

Demo of Serverless application using AWS DynamoDB and Lambda

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published