REST API IN PYTHON | Flask vs. FastAPI vs. Django
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
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.
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.
czcams.com/video/0sOvCWFmrtA/video.html
Extremely helpful!
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.
wow. did not know about the fast api. thank you
very helpful video
Love the content!
Hi.
Hola, buen video 👍
Consulta: de los 3 frameworks: Django, FastApi y Flask... Cuál recomendarias para este 2022.o 2023.??
Saludos
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!!!!!!!!!
Thanks!! Good luck you can do it 👏
Really found this video useful, you explain things very well!
Thanks so much!! Motivation to make more content 😀
@@PhillipRubin Please do!
Really great explanation, thanks
Great video, thank you.
Great Content,
It was easy to understand the concept of wsgi applications and how fast api stand out with its feature.
All the best!
Much appreciated!!
Love your voice and clear explanation! Keep it going!
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?
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!
@@PhillipRubin Thank you very much for the response.
@@Sam-tg4ii Anytime! Thanks for watching
Hi can we use fastapi for larger projects? With react or vue as Frontenf
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/
@@PhillipRubinthanks rubin,yes the project structure is kind of scary with the import files
I'm looking for a framework similar to Laravel with Database migrations. Any idea?
In this case go for Django.
Ok - Im' your 14'th subscriber...
14th of many hopefully!!
Who is more fast? Based on performance and scaling?
Fast-api
fastapi, for the most part
I ❤ Flask
Is it really a video, if he can teach this well only with audio, idk how his video explanation is going to be. :)
Hello
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...