How To Build a CRUD (TO-DO) App on AWS using FastAPI and Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024

ความคิดเห็น • 45

  • @pixegami
    @pixegami  2 ปีที่แล้ว +5

    What type of app do you want to learn to build next? Let me know!💡

    • @dragonballseriesepisodes3755
      @dragonballseriesepisodes3755 2 ปีที่แล้ว +2

      It would be great if you could build more fullstack saas applications like the AI driven saas application that you posted a while ago.

    • @ruslanskira
      @ruslanskira ปีที่แล้ว +1

      FastAPI + DynamoDB + admin dashboard aka Dajnago admin.

    • @rajuveerla9352
      @rajuveerla9352 ปีที่แล้ว

      It would be helpful, one complete python project by using technologies like Python + FastAPI + Dynamo DB + GraphQL + Pytest amd Postman for API testing

  • @user-eq8in2xw6y
    @user-eq8in2xw6y ปีที่แล้ว +1

    Wow im blown away by how helpful these tutorials are. Clear speaking, insightful instruction. Insane these dont have 1m views

    • @pixegami
      @pixegami  ปีที่แล้ว +1

      Thanks! I appreciate your command and I'm glad you found it clear and helpful. I plan to stay focused on quality, consistency and value for my viewers so I think we'll get to 1m views eventually :)

    • @user-eq8in2xw6y
      @user-eq8in2xw6y ปีที่แล้ว

      @@pixegami appreciate it man, just know your content is really helping us learn; easy to tell by the production quality you really care as well. I found you though AWS content might be an avenue to lean into

  • @odanilomedeiros
    @odanilomedeiros 8 หลายเดือนก่อน +2

    How to set the version of pydantic I want to install on lambda? My deploy goes well but the API does not work, when I test on lambda it shows the message "Runtime.ImportModuleError: Unable to import module 'todo': No module named 'pydantic'" thank you bro

    • @pixegami
      @pixegami  7 หลายเดือนก่อน

      Usually you can set it in your requirements.txt when you prepare your code for deployment. However, with issues like that, it's quite possible your Lambda is using a different architecture to the machine you are coding on (e.g. x64_86 vs arm64) so you have to make sure they match as well.

  • @aamirm5117
    @aamirm5117 2 ปีที่แล้ว +3

    This was an excellent video and very helpful in getting up and running with FastAPI and Lambda. Perhaps you could do a follow-up video that makes the code ready for a production setup. Maybe additional error handling, user management, API authn, etc?

    • @pixegami
      @pixegami  2 ปีที่แล้ว +1

      Thanks! Those are great suggestions, but I think to make something fully production-ready is going to be a LOT more than just one video :D I still have more to learn about that myself.

    • @aamirm5117
      @aamirm5117 2 ปีที่แล้ว

      @@pixegami Fair point, and maybe a full prod setup is a bit much. It would be nice to see this project iterated on a bit - maybe authn and error handling would be good next steps. For one, they help me achieve my own goals :-) and those additional changes build on something already established.
      I know the hate ToDo apps get, so maybe there is room to expand it to be something a bit more than a standard ToDo list, which would give you an excuse to show how you can extend the “Dyanamo DB schema” or whatever it’s called in DDB land. That might illustrate why it’s important to properly model the database before hand and could highlight some of the pain points devs encounter when modifying it later?
      Just spitballing, whatever you choose to make, I think your approach and cadence are just right, so please keep it up. Glad to be a new subscriber!

  • @vivizhao2351
    @vivizhao2351 ปีที่แล้ว +1

    Thank you! Another great video

    • @pixegami
      @pixegami  ปีที่แล้ว

      Glad you enjoyed it!

  • @md.musfiqurrahaman8612
    @md.musfiqurrahaman8612 2 ปีที่แล้ว +2

    You are creating amazing contents man...Subscribed!❤❤

    • @pixegami
      @pixegami  ปีที่แล้ว

      Thanks and welcome!

  • @khandoor7228
    @khandoor7228 2 ปีที่แล้ว +1

    Awesome thank you! This is gold!!!

  • @chillvibes71
    @chillvibes71 3 หลายเดือนก่อน +1

    Do we have to pay for any service ?? I would like to know before I start the project or I have to leave it in between . 😭.

    • @pixegami
      @pixegami  3 หลายเดือนก่อน +1

      AWS Lambda has a free tier, so it shouldn't cost you until you use millions of requests.

  • @biyenioseonyeagwu5736
    @biyenioseonyeagwu5736 2 ปีที่แล้ว +1

    10/10, awesome vid !!

  • @idcarlos
    @idcarlos ปีที่แล้ว +1

    Take a look over AWS SAM to automatize the process of upload the python code to AWS Lambda instead of create the .Zip by hand

    • @pixegami
      @pixegami  ปีที่แล้ว

      Thanks for the suggestion, I'll definitely take a look.

  • @snap-reviewsdotcom
    @snap-reviewsdotcom 10 หลายเดือนก่อน +1

    @pixegami Great Tutorial, thanks but...Lambda is restricted to 6MB of data per function. So if you have an endpoint that has to return a lot of data, won't this fail? Would your other video where we just run FastApi on an EC2 instance be preferable (even though we have to manage scaling ourselves etc)

    • @pixegami
      @pixegami  9 หลายเดือนก่อน

      Hmm, 6MB sounds like a lot of data to return from an API call. It might not be suitable for Lambda. Is this something that should be downloaded by the user instead? (e.g. via S3)

    • @snap-reviewsdotcom
      @snap-reviewsdotcom 9 หลายเดือนก่อน

      ​ @pixegami Thanks for responding. Thankfully I learned that FastAPI supports streaming, so we use that and not Lambda.@@pixegami

  • @tayfunslife
    @tayfunslife ปีที่แล้ว +1

    Can you make a video about EC2, ASG , LB, Target Group etc configurations by coding or yaml. Because ı always see console or ui page configurations but in enterprise life we need to create all these configuration with deployment script.

    • @pixegami
      @pixegami  ปีที่แล้ว

      Ah yes I know what you mean. For my larger projects I actually do use infrastructure code. It's better to use an SDK for it rather than YAML or JSON, because it's type-safe and more powerful. For AWS you can use AWS CDK. I have a small tutorial about it here: th-cam.com/video/o3s4VqlMsT8/w-d-xo.html

  • @pacoluna7969
    @pacoluna7969 ปีที่แล้ว +1

    Hi Pixegami! I'm looking a way to host a SPA made with react, I don't want to manage all the server related things and put it in a EC2, I see that i can do it from a S3 bucket or Amplify, which option you will recomend? (Even other not mention)

    • @pixegami
      @pixegami  ปีที่แล้ว +1

      For hosting a static site (SPA), I think your main options are AWS (S3 bucket or Amplify), Firebase (Google), or Vercel.
      I personally prefer Vercel just for a SPA, because they are the easiest to use. AWS and Firebase have more features, but also more complex to learn.
      In terms of AWS, S3 is the technology you want to use. I'm pretty sure Amplify uses S3 behind the scenes. But you can use Amplify as well if it makes it easier (it just uses S3 anyway).

    • @pacoluna7969
      @pacoluna7969 ปีที่แล้ว

      @@pixegami Thanks a lot! I've seen a lot of your videos about Lambdasand FastAPI, this is the best way to host a FastAPI right? So i can connect it to my SPA

  • @JKhalaf
    @JKhalaf 2 ปีที่แล้ว +1

    Nice video! What colour scheme are you using please?

    • @pixegami
      @pixegami  2 ปีที่แล้ว +1

      For VSCode I’m using Monokai Pro. For the terminal, I used a custom theme which I explain in this video:
      My terminal setup (theme and plugin) on Ubuntu Linux 💻
      th-cam.com/video/UvY5aFHNoEw/w-d-xo.html

  • @jesusperdomo8388
    @jesusperdomo8388 2 ปีที่แล้ว +1

    Gracias!!!!!

  • @durgeshpatil1344
    @durgeshpatil1344 ปีที่แล้ว +1

    Instead of typesrcipt language I choose to go with python , but I'm getting the error of my unzipped file size is large and exceeds the limit of lambda so It is not able to run the application , I have tried deleting If there are unnecessary libraries I'm zipping and uploading, as well I have also tried first uploading the file as asset to S3 and then using S3 bucket for lambda function ,still getting the same ,Please guide me I have been stuck at this problem from 1 week, will wait for you reply, Thankyou Great content!

    • @Bee-ib1pb
      @Bee-ib1pb ปีที่แล้ว +1

      Have you tried using a lambda layer?

    • @RuslanSkiraUkraine
      @RuslanSkiraUkraine 7 หลายเดือนก่อน

      I have the same and am stuck. I will try to return to simpler python code without FastAPI.

  • @montecristo31
    @montecristo31 ปีที่แล้ว +1

    what distribution are you using?

    • @pixegami
      @pixegami  ปีที่แล้ว

      In this video I am using Ubuntu Linux (probably 2020?) But nowadays I use a Mac M1, just because I use quite a lot of Adobe programs (which doesn’t run on Linux).

  • @rohitkrsingh
    @rohitkrsingh 2 ปีที่แล้ว +1

    Can not see above 360p

    • @pixegami
      @pixegami  2 ปีที่แล้ว

      The video might still be processing. Please try again soon!

  • @pradeeppawar3622
    @pradeeppawar3622 2 ปีที่แล้ว +1

    Build gpt3 powered app

    • @pixegami
      @pixegami  2 ปีที่แล้ว +1

      I did something like that here: th-cam.com/video/yxyyYMWu1ZA/w-d-xo.html
      But I'm happy to do more of them! I love GPT-3.

  • @gustavojuantorena
    @gustavojuantorena 2 ปีที่แล้ว +1

    Thank you! Another great video