REST API IN PYTHON | Flask vs. FastAPI vs. Django

Sdílet
Vložit
  • čas přidán 26. 08. 2021
  • Let's walk though some of the different REST API options in Python and why FastAPI is the best 😂
    Join me and make the long and arduous journey of becoming a software engineer... slightly less arduous.
    Make sure to smash that like button for the CZcams algorithm 😅
  • Věda a technologie

Komentáře • 39

  • @user-qv7rw7dq1d
    @user-qv7rw7dq1d Před 2 lety +3

    Holy shit. In 5 minutes you cleared up little doubts I've had over the past few years. You need to do more. Your channel will blow up.

  • @pingyunao5112
    @pingyunao5112 Před 2 lety +9

    Great video, thank you. I'd love to see a simple project in FastAPI from start to finish.
    You have a great style, keep it up.

  • @stunning-computer-99
    @stunning-computer-99 Před 2 lety +1

    Extremely helpful!

  • @DevlogBill
    @DevlogBill Před měsícem

    Excellent video thank you. Last year I spent about 4 months learning Django created a couple of crud applications. Eventually stopped learning Django and focused instead of React. Made a couple of projects with React, end goal is to focus mostly on frontend with react was strongly considering Django for creating a restful api. BUT what you mentioned in this video nailed it on the head! Creating an API to connect to your SPA library with Django is a NIGHTMARE! Spent over 1 month looking at GOLANG, didn't like cause despite you can do everything with the language itself you have to write so much code just to get the job done. Now found your video cause Google wasn't much help. and within the 5 minutes of your video now I know what I need as a tool for focusing specifically on just creating a restful api.
    Thank-You! I think I will go with FastAPI for my React project!
    Do you have any videos you can share which explains the pro's and con's with FastAPI? I guess I will go to the docs and see how to create what I need, thank-you once again.

  • @bronxed3666
    @bronxed3666 Před 2 lety

    wow. did not know about the fast api. thank you
    very helpful video

  • @someslav7337
    @someslav7337 Před 2 lety

    Love the content!

  • @josemariadiy6400
    @josemariadiy6400 Před rokem

    Hi.
    Hola, buen video 👍
    Consulta: de los 3 frameworks: Django, FastApi y Flask... Cuál recomendarias para este 2022.o 2023.??
    Saludos

  • @DaniloSilva-pl3sq
    @DaniloSilva-pl3sq Před 2 lety +3

    I don't have much time to elaborate a comment (I have to create my first REST API with Python today as a technical challenge for a job), but: FANTASTIC VIDEO!!!!!!!!!

  • @themarksmith
    @themarksmith Před 2 lety +9

    Really found this video useful, you explain things very well!

    • @PhillipRubin
      @PhillipRubin  Před 2 lety +3

      Thanks so much!! Motivation to make more content 😀

    • @themarksmith
      @themarksmith Před 2 lety

      @@PhillipRubin Please do!

  • @imansyaefulloh
    @imansyaefulloh Před 3 měsíci

    Really great explanation, thanks

  • @anasaljawa858
    @anasaljawa858 Před 2 lety

    Great video, thank you.

  • @nafisborkar4998
    @nafisborkar4998 Před 2 lety +9

    Great Content,
    It was easy to understand the concept of wsgi applications and how fast api stand out with its feature.
    All the best!

  • @tudatostrader
    @tudatostrader Před 2 lety +1

    Love your voice and clear explanation! Keep it going!

  • @Sam-tg4ii
    @Sam-tg4ii Před 10 měsíci

    Thank you for the clear and concise comparison. One question: can the FastAPI's documentation page be used as a GUI for the API? I mean it is possible to put that on a server so a user can access it, enter values as inputs and get a reponse back?

    • @PhillipRubin
      @PhillipRubin  Před 10 měsíci

      Yep! So wherever you have it deployed, going to the /docs route will allow access to that Swagger UI where users can make requests. I would say be mindful of authorization there tho. Happy coding!

    • @Sam-tg4ii
      @Sam-tg4ii Před 10 měsíci

      @@PhillipRubin Thank you very much for the response.

    • @PhillipRubin
      @PhillipRubin  Před 10 měsíci

      @@Sam-tg4ii Anytime! Thanks for watching

  • @gunahawk6893
    @gunahawk6893 Před 2 lety +3

    Hi can we use fastapi for larger projects? With react or vue as Frontenf

    • @PhillipRubin
      @PhillipRubin  Před 2 lety +4

      Yep totally -- i have used it with React before. I would recommend being really careful with your folder structure tho -- its a microframework planning to accommodate something large is really helpful. The fastapi team gives a really good guide here: fastapi.tiangolo.com/tutorial/bigger-applications/

    • @gunahawk6893
      @gunahawk6893 Před 2 lety +2

      @@PhillipRubinthanks rubin,yes the project structure is kind of scary with the import files

  • @6Sambora
    @6Sambora Před 2 lety +1

    I'm looking for a framework similar to Laravel with Database migrations. Any idea?

    • @jorge1869
      @jorge1869 Před 2 lety +5

      In this case go for Django.

  • @Linuxdeveloper
    @Linuxdeveloper Před 2 lety +1

    Ok - Im' your 14'th subscriber...

  • @joaovictor-dl6ve
    @joaovictor-dl6ve Před 2 lety +1

    Who is more fast? Based on performance and scaling?

  • @jasonscala5834
    @jasonscala5834 Před 2 měsíci

    I ❤ Flask

  • @soniyaprasad77
    @soniyaprasad77 Před 3 měsíci

    Is it really a video, if he can teach this well only with audio, idk how his video explanation is going to be. :)

  • @kennstack01
    @kennstack01 Před 2 lety

    Hello

  • @siphr
    @siphr Před rokem +2

    Honestly, I do not know why anybody should now consider Django/Flask rest,now that we have fastapi, which is a rest first framework instead of a bolt on plugin...