[Python] Build a CRUD Serverless API with AWS Lambda, API Gateway and a DynamoDB from Scratch

[Python] Build a CRUD Serverless API with AWS Lambda, API Gateway and a DynamoDB from Scratch

Felix Yu

2 года назад

47,185 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@shaneatvt
@shaneatvt - 16.08.2022 05:11

This is super helpful material. Your level of content and pace are great. Thanks a lot Felix!

Ответить
@stephensuico5741
@stephensuico5741 - 28.08.2022 04:59

Thank you! Lot of value here

Ответить
@saptanilchowdhury1851
@saptanilchowdhury1851 - 10.09.2022 09:14

plz share the code

Ответить
@saptanilchowdhury1851
@saptanilchowdhury1851 - 14.09.2022 09:48

share the code please it is not working for me get, patch methods. POST and DELETE is working

Ответить
@JoseRodrigues-vd3si
@JoseRodrigues-vd3si - 14.09.2022 23:07

Thee best ever explanation I have saw about this subject.

Ответить
@riazahmad5975
@riazahmad5975 - 20.09.2022 09:31

Hello sir , please make vidoe that how to insert csv data to dynamodb in serverless framework using lambad in nodejs

Ответить
@onlymullapudi
@onlymullapudi - 29.09.2022 05:49

Thank you for the tutorial. Can you provide lambda code with gitlab link?

Ответить
@trainsam22
@trainsam22 - 09.10.2022 08:25

can you please give the code?

Ответить
@MyGui1000
@MyGui1000 - 19.10.2022 18:19

It's work very well to me in POSTMAN and Requests in Python, but when I try make a request in my simple web page using Javascrip I'm having a issue call CORS "CORS policy: Request header field acess-control-allow-origin is not allowed by Access-Control-Allow-Headers in preflight response", someone know what is?

Ответить
@ablevoice2428
@ablevoice2428 - 20.10.2022 16:48

Great video. Thanks....pls I will appreciate if you can share this code. Something like the repo link

Ответить
@khoatd7726
@khoatd7726 - 27.10.2022 17:09

Hi Felix, I see 502 bad gateway when call GET /product API. What could I check to solve this error? Thanks.

Ответить
@YogaTriLoka
@YogaTriLoka - 10.11.2022 20:12

This is a great video, super helpful! If I wanted to get all products with color "green", what would the scan body look like? Or would you not use scan for this functionality?

Ответить
@navidshaikh9146
@navidshaikh9146 - 21.11.2022 16:28

Im getting 502 bad gateway in postman with 'internal server error' message, how should I solve this

Ответить
@zaheerbeg4810
@zaheerbeg4810 - 29.11.2022 12:06

This tutorial is okay for AWS free tier?

Ответить
@sahirbhat9297
@sahirbhat9297 - 16.12.2022 08:59

whre i can get code of this project

Ответить
@clintonebai1351
@clintonebai1351 - 16.12.2022 21:36

Hey Felix, you are doing a great job and thank you for this wonderful tutorial. I coded along with you in this tutorial but after trying to invoke my function via postman, I got a 500, internal server error, however, that is not my most significant concern. How are you able to put all these pieces of code together, how are you able to know where and when to use a particular function, module or class? I understand the basics of python but putting them together to form one big program like what you just did is a nightmare for me. How are you able to write almost 250+ lines of code forming a single program without mistakes? Is there a manual you guys use when coding? what is that cheat code you use bro?

Ответить
@amineghadi1524
@amineghadi1524 - 18.12.2022 17:55

Thank you for this video it's very useful , can you do same one with Redshift Database

Ответить
@AniraKanu
@AniraKanu - 28.12.2022 19:09

Could you please put your code on git and share a link.

Ответить
@Nikhilsharma-tc5wr
@Nikhilsharma-tc5wr - 02.01.2023 04:12

Hi felix , your video in such a helpful can you share these code with me👍👍

Ответить
@CMishra-kl4rb
@CMishra-kl4rb - 04.01.2023 10:46

Hi Felix, Can you please share the code because I'm getting error on my system as "Internal Server Error".
Please share code anyone.

Ответить
@cpacash3964
@cpacash3964 - 05.01.2023 23:10

Dislike, because you don't share the example code, what I supposed to do, copy it from the video?

Ответить
@GauravRoy1972
@GauravRoy1972 - 20.01.2023 23:16

Thanks for this Felix, could you please create a tutorial to explain the CRUD operations in dybamoDB via Lambda. Querying in dynamoDB seems to a whole subject in itself.

Ответить
@iantaylor5871
@iantaylor5871 - 15.02.2023 21:26

Where can we find the code?

Ответить
@ehsanarefifar196
@ehsanarefifar196 - 08.03.2023 07:18

Very nice start-point walkthrough video. Thanks Felix! Way to go!

Ответить
@asifhossain1874
@asifhossain1874 - 16.03.2023 13:57

Please upload the code also so that we can test it

Ответить
@asifhossain1874
@asifhossain1874 - 01.04.2023 10:03

"message": "Internal server error"
}

Ответить
@luizarnoldchavezburgos3638
@luizarnoldchavezburgos3638 - 17.06.2023 09:07

Is it better to have CRUD in one api or C R U D in 4 diferents lambdas?

Ответить
@JFischbeck
@JFischbeck - 13.07.2023 04:09

Can you share your code?

Ответить
@LS-qg2zn
@LS-qg2zn - 13.08.2023 01:58

Very very helpful tutorial for a beginner.. Thank you so much!

Ответить
@shaikshoaibakthar-f5d
@shaikshoaibakthar-f5d - 22.08.2023 09:46

can i get the code??

Ответить
@shaikshoaibakthar-f5d
@shaikshoaibakthar-f5d - 22.08.2023 09:47

can u plz start classes of python from beginer to advanced level??

Ответить
@daqa290885
@daqa290885 - 06.10.2023 01:48

Hi bro, excellent video, in the first time, was desperate jejeje, because I changed some variables and put the wrong variables necessary for all the code, also, I could add all tests for every method that you mentioned in the video, was very interesting, because if you don't know how to check the logs in. cloud watch, or you don't the correct syntax to write the dynamodb resources, you always get and internal server error 502. Thanks for this video you won a follower for your channel. Note: I broke my brain, trying to fix all my errors, but this is our world, we try to understand other codes and to practice every day until all are excellent. thanks again and regards.🤓

Ответить
@happylearning6543
@happylearning6543 - 23.11.2023 06:48

@Felix Yu, this video was really helpful thanks a lot!! I am stuck in integrating my lambda function, dynamodb and api gateway. Are you open to giving feedback on individual questions? Will be easier if I show you my approach and your coffee is on me for sure!

Ответить
@LavanyaVeluswamy
@LavanyaVeluswamy - 26.11.2023 04:32

Can you make the video for SpringBoot? It would be great help

Ответить
@amrithanshu3478
@amrithanshu3478 - 26.11.2023 07:21

{
"message": "Internal server error"
}
how to resolve this

Ответить
@gamerz5135
@gamerz5135 - 14.01.2024 16:07

did any one got the code? can u share it with me

Ответить
@virtualvessel0
@virtualvessel0 - 04.02.2024 18:41

Hi, thank you for this. Could you send or post the text source-code please. Thank.

Ответить
@billybob2a
@billybob2a - 20.05.2024 05:44

I've followed about 6 videos before trying to get this working and was unsuccessful.
A couple of things I took away from yours that made it successful for me:
- Your attention to detail and explanation of the code was very helpful.
- Setting the timeout to longer than 3 seconds I think is the golden thing that puzzled me, other videos didn't advise it, yet I think it helped!
- Case sensitivity is important. I named my key productid instead of productId and had to use cloud watch to figure out why mine didn't work.
- Not only does it work, I now have a code base as well as a base understanding to keep going. Massive thank you!

Ответить
@ajaysinhavadithya
@ajaysinhavadithya - 27.05.2024 22:46

Awesome video... could you please create a video for RDS instead of Dynamodb

Ответить
@kosalendra1387
@kosalendra1387 - 08.07.2024 05:30

will anybody please let me know how much will it cost for this above project in the vedio @Felix YU

Ответить
@AhmedKhatib-c1w
@AhmedKhatib-c1w - 22.08.2024 12:59

This was very straightforward and helpful. Thank you!
Experimented with stuff and followed along and learned much.
Just one thing, your python variable / object naming convention feels like Javascript (camelCase), while in Python the convention is variable_name.
So was confused for a short time xD.

Ответить
@ttaylor9916
@ttaylor9916 - 02.10.2024 21:27

Thanks!

Ответить
@romihans
@romihans - 04.10.2024 17:51

could we have created a zip file that includes the custom encoder and uploaded that to Lambda? I think this should work. Your inputs would be very helpful

Ответить
@romihans
@romihans - 10.10.2024 10:38

I have copied all of this code into VSC and got this working. No hassles there, barring a few glitches. I am thinking of creating a Git repository that could help out people who are on a learning curve wit Lambda & API (it's always a learning curve actually, but can be real steep in the beginning)

In a real life scenario, would it be a better idea to have different Lambda functions for delete, modify and add functions of a CRUD API? Just discussing the pros and cons vis-vis maintainability and testability

Ответить

"Незнакомая" знакомая Лысьва | Виртуальная экскурсия Центральная Библиотека МБУК Лысьвенская БС
свадьба 30 03 19 Тыва фотограф
Анна Ключник. Отзыв о Master Kit Master Kit. Методика психологической самопомощи