Skip to content

APIs using Serverless framework, MiddyJS, DynamoDB, AWS lambda, AWS API Gateway

Notifications You must be signed in to change notification settings

vithalreddy/serveless-dynamodb-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f41ff16 · Apr 4, 2023

History

6 Commits
Mar 30, 2023
Mar 30, 2023
Mar 30, 2023
Mar 30, 2023
Apr 4, 2023
Mar 30, 2023
Apr 4, 2023
Apr 4, 2023
Mar 30, 2023
Mar 30, 2023
Mar 30, 2023
Mar 30, 2023
Mar 30, 2023
Mar 30, 2023
Mar 30, 2023
Mar 30, 2023
Mar 30, 2023

Repository files navigation

Falcon serverless apis

using Serverless framework, MiddyJS, DynamoDB, AWS lambda, AWS API Gateway

Setup

  • git clone this repo
  • Install deps npm ci
  • openapi docs
  • postman collection
  • local testing npm run dev
  • generate openapi and postman file npm run gen-openapi
  • deploy npm run deploy -- --aws-profile REPLACE_ME
    • will create all resources like DynamoDB table, IAM roles, S3 bucket for deployment etc
  • to remove everything npx sls remove --aws-profile REPLACE_ME
  • to import users data to DDB npm run data-import
    • you can pass env vars for DDB_PROFILE, DDB_REGION script will take care of rest

About

APIs using Serverless framework, MiddyJS, DynamoDB, AWS lambda, AWS API Gateway

Topics

Resources

Stars

Watchers

Forks