MENU

Fun & Interesting

How to build and test a REST API using AWS API Gateway, Lambda, and DynamoDB via the AWS CDK!

Coner Murphy 4,496 2 years ago
Video Not Working? Fix It Now

In this video, we look at how we can create an example REST API to create, retrieve, and delete items in a database using AWS DynamoDB, Lambda, and API Gateway and deploy it via the AWS CDK! We also cover how to test the API using Postman. Links: - Accompanying Blog Post: https://conermurphy.com/blog/build-rest-api-aws-cdk-api-gateway-lambda-dynamodb-api-key-authentication - Example GitHub Code: https://github.com/conermurphy/cdk-tutorials/tree/main/rest-api-with-api-key-auth Chapters: 00:00 - Introduction 00:31 - Prerequisites 1:00 - Defining our Database 1:26 - Defining our API 2:22 - Usage Plans 3:24 - Defining our Lambda’s 4:41 - Writing our Lambda’s 10:29 - Connecting our API and Lambda’s 13:57 - Deploying our CDK Stack 15:10 - Testing our API 18:28 - Closing Thoughts ===== 🐦 TWITTER ● https://twitter.com/MrConerMurphy 📷 INSTAGRAM ● https://www.instagram.com/mrconermurphy 💼LINKEDIN ● https://www.linkedin.com/in/conermurphy ✏️ WEBSITE ● https://conermurphy.com 🎬 TWITCH ● https://www.twitch.tv/conermurphy

Comment