Tutorial: How to build a CRUD Serverless API with API Gateway, AWS Lambda and DynamoDB
ฝัง
- เผยแพร่เมื่อ 10 ก.พ. 2025
- A quick tutorial on how to create a CRUD REST API in AWS. A step by step video that you can follow along with code samples you can try on your own.
(CRUD - Create / Read / Update / Delete)
Tutorial Items:
1) Quick review of what Serverless means and its benefits
2) Create a DynamoDB Table
3) Create a Lambda Function
4) Create a REST API Gateway
5) Test our new REST API using Postman
Both the index.js files and the Postman collection can be found on GitHub here: github.com/ica...
Happy Coding and feel free to message me with any new video topics you would like to see covered.
Thanks bro I am from India and your video is reaaly very helpfull for me and everyoe...
No problem Ayusha, I'm glad you found it helpful. I'm thinking of doing some more. The next one I may do is something on hosting static site on AWS using S3 with a custom domain.
Thank you so so so much. This is so streamlined and straight to the point and it works perfectly!
I'm glad you found it helpful.
How to add authentication on APIs
It's outlined in the other video using jwt tokens.
Does anyone have this code for Java?
I dont, but you can easily copy it into chat gpt and ask it to convert it to java for you.
Can you make gameloby and live stats
Can you clarify what you mean by game lobby with stats? Do you mean for sports games?
@@letsfindsolutions think of game lobbies, these lobbies have leaderboards, and when players' game is over, points are added to leaderpoints and other players are updated in real time
This would be possible in aws. I would create a CRUD service to manage all the api calls then have all the player and game information stored in dynamo db tables. As for the UI, this could be done in any UI framework like angular or react. If this needs to be real-time then api web sockets can be used to achieve the bidirectional behaviour. This is my high level blueprint of what you are asking for. Maybe after some review I may look into doing a video on it if I can get a small POC working.
@@letsfindsolutions what you think about AppSync
Appsync would work too...but reading the docs it will also use websocket layer for realtime capabilities.