Create a Serverless Python API | AWS Amplify, AWS Lambda, Flask, and Amazon DynamoDB

preview_player
Показать описание

In this tutorial, we will create a Flask API using the super fun Python programming language -- the theme of the app will be to list Britney Spears songs! We'll deploy using AWS Amplify's command line where we'll generate an AWS Lambda function. We'll also use an Amazon DynamoDB database to store our data and implement routes for all CRUD functionality.

👩🏼‍💻 Links Mentioned 👩🏼‍💻

🌸 My Links 🌸

Рекомендации по теме
Комментарии
Автор

This is excellent. Thanks for making this.

posthocprior
Автор

Nice! got my lambda function running with dependencies after watching this video! Well done.

craigmacritchie
Автор

I loved this tutorial, I don't have enough experience with GraphQl, so I really want to use lambdas with python. Anyway, I got stuck twice and I would like to let you know what I did it to keep moving...

1.- request.get_json() -> returning NoneType; to fix it, you have to use request.json.
2.- My API name was not defined; If I tried to use any API name, I was getting that it didn't exist, to solve it I had to add API.configure(<my aws-export.js path>); at the top of my React component.

Thanks so much for the video!

xXrostanXx
Автор

Awesome Video! Could you please do a video to show an API python function taking a payload with various values, performing some logic and returning a result back to the mobile app

marif
Автор

I enjoyed the tutorial. However, I'm getting an error at the 15 minute mark. I have all the proper libraries/dependencies installed. The issue seems to involve the lambda handler. The terminal/debugger says "AttributeError: 'list' object has no attribute 'get'" I looked all over google and none of them seem to be relevant to a lambda function. I also get a large traceback call from the files listed in my backend amplify folder. I was wondering if you could tell me what the issue might possibly be?

Control
Автор

Great tutorial. Question, How do you integrate Amplify with a Chalice based rest api backend?

clivetafadzwashumba
Автор

Great tutorial! But unfortunately there's no cd/ci part... I expected to see that deploying a serverless flask application would be the same as for Next.js, just in couple of clicks =(( Hopefully someday it will be implemented.

coaka_yeaka
Автор

can you please have a video on hosting django web applkication on aws amplify framework

atharvapimputkar
Автор

I followed the same, my lambda function is getting timeout on put item

kartikpuri
Автор

I have an issue with creating lambda function using python3.9, because I am using GraphQL as an API

ameenbelly
welcome to shbcf.ru