Let's make a production-ready REST API using DynamoDB, Lambdas, and APIGateway and deploy it to our AWS VPC using the Serverless infrastructure as code (IaC) framework. If you're new to IaC or building APIs with Lambdas, this might have some value for you.
Chapters:
00:00:00 Introduction
00:00:28 Project Background
00:01:43 Your Serverless.yml File
00:23:15 Deploying to Dev
00:26:21 Lambda Function Part 1: Getting Scores
00:48:33 Lambda Function Part 2: Posting Scores
00:56:13 Debugging and Deploying to Prod
01:02:10 Integrating the API in Your ReactJS Game
01:04:39 Conclusion
Here's the source code: https://github.com/markarenz/mms-scores
For an article with lots of tasty code snippets, check this out: https://www.markmakesstuff.com/posts/...
And here's a link to the game where we've implemented the scores API: https://figurefive.ridiculopathy.com
And here's the gallery of weird projects I referenced in the video: https://www.ridiculopathy.com