Home » Science & Technology » Build a CRUD REST API for DynamoDB w/ AWS Lambda & API Gateway using Node.js AWS-SDK V3 & Serverless

Build a CRUD REST API for DynamoDB w/ AWS Lambda & API Gateway using Node.js AWS-SDK V3 & Serverless

Written By Jackson Yuan on Friday, Jun 18, 2021 | 08:00 AM

 
In this serverless tutorial, we'll be building a complete CRUD REST API for Amazon DynamoDB using AWS Lambda and API Gateway. Our lambdas will be written in Node.js using the V3 AWS-SDK. We'll also be using the Serverless Framework along with GitHub Actions to set up a CI/CD pipeline that deploys our application to the AWS cloud. Sections: 00:00 - Intro 00:27 - Set up deployment pipeline 4:02 - Discussing why V3 SDK is better than V2 & installing dependencies 7:09 - Setting up the serverless.yml file 19:55 - Implementing the Lambda handlers 40:26 - Testing the deployed endpoints Other related tutorials: CRUD REST API for Amazon S3: https://youtu.be/Too-U4bcJEs Deploying to AWS Lambda w/ the Serverless Framework & GitHub Actions (CI/CD): https://www.youtube.com/watch?v=oFYFqOzJdqY AWS-SDK for JavaScript V3: https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-dynamodb/index.html Serverless Framework: https://www.serverless.com/ GitHub Actions: https://github.com/features/actions Source Code: https://github.com/jacksonyuan-yt/dynamodb-crud-api-gateway Found this video helpful? Feel free to support this channel here: https://ko-fi.com/jacksonyuan #aws #awslambda #dynamodb #apigateway #nodejs #serverless #githubactions