No video

FastAPI vs Django - The Ultimate Showdown! (Detailed Comparison)

  Рет қаралды 6,920

Eric Roby

Eric Roby

Ай бұрын

FastAPI and Django are two major Python frameworks for building your products. But the big question remains: which one is BEST for YOU?
Want free repositories? www.codingwith...
🎥 React + FastAPI: • How to build a React +...
🎥 AWS Lambda + FastAPI: • Deploy FastAPI on AWS ...
🎥 MongoDB + FastAPI: • Unlocking the Power of...
🎥 MySQL + FastAPI: • How to build a FastAPI...
🎥 PostgreSQL + FastAPI: • How to build a FastAPI...
🎓 Courses can be found:
FastAPI Beginner & Advanced: www.udemy.com/...
Learn Chatbot Development: www.udemy.com/...
👨‍💻 Hi, I am Eric!👨‍💻
Hey! I’m a seasoned developer and Cloud enthusiast. I love sharing my knowledge and helping others to discover the exciting world of programming and cloud technologies. For more tutorials, tips, and tech magic, don’t forget to hit that subscribe button and ring the bell for notifications!
🙏 Support The Channel 🙏
If you found this tutorial helpful, please give it a thumbs up 👍, comment, and share it with your network 🌍
#fastapi #django #python

Пікірлер: 45
@iamAliAhad
@iamAliAhad Ай бұрын
Django just has a lot more built in. User authentication, an ORM (Best ORM than any other Framework even ROR, Laravel or others) the admin panel and a whole lot more. You have to do it in FastAPI manually! You can use FastAPI in Django, Yes Its possible. There have also FastAPI like feature in Django called Django ninja! Django calls itself the framework for people with deadlines and it is true. It works, has a ton of support and flexibility. The actual choice is usually fastAPI vs flask as they are more comparable.
@coff3andprograming
@coff3andprograming Ай бұрын
If the requirements are well defined or you are a freelancer at the right time, Django is the best Python framework, but when the requirements are very changing, Django becomes a huge headache.
@iamAliAhad
@iamAliAhad Ай бұрын
@@coff3andprograming "but when the requirements are very changing, Django becomes a huge headache." That's not true. Sounds like skill issue, Mate.
@codingwithroby
@codingwithroby Ай бұрын
I did the video for those who may not know the difference between the two. I enjoy FastAPI more but everyone has their preferences!
@aashayamballi
@aashayamballi Ай бұрын
yep the fastapi comparison should be with flask
@ifeanyinneji7704
@ifeanyinneji7704 Ай бұрын
​@@iamAliAhadYep it's a skill issue. You can modify your Django project to fit any use case.
@francosbenitez
@francosbenitez Ай бұрын
So clear! Very detailed comparison. I am trying to learn FastAPI in my free time while working with Django in my full-time job.
@codingwithroby
@codingwithroby Ай бұрын
I know someone who made a really awesome course about FastAPI if you want to check it out 😉 (link in bio)
@azataiot
@azataiot 28 күн бұрын
Do your speed test implemented the authentitcation, security, sessions frameworks in FastAPI ? Or you are comparing them as their default state? Because django includes all of above by default, while FastAPI has no security concerns for example built-in. When you remove the middlewares above from django and test them 'barely' you will find a different answer.
@codernerd7076
@codernerd7076 Ай бұрын
Looking for a fast API with Next.js tutorial
@codingwithroby
@codingwithroby Ай бұрын
Any project ideas?
@codernerd7076
@codernerd7076 Ай бұрын
@codingwithroby Maybe a laundry pickup/delivery service, something down to earth that could be a real-world app, no AI, stuff or unnecessary 3rd party seevices 🤔
@princereyes5400
@princereyes5400 Ай бұрын
@@codingwithroby ecommerce since that is the booming market nowadays
@ogunniransiji2686
@ogunniransiji2686 Ай бұрын
@@codingwithroby I will strongly suggest a comprehensive admin dashboard system
@riyansh3396
@riyansh3396 Ай бұрын
What matters is how many companies specially in your country is using Django and Fastapi, at the we all want coding jobs
@codingwithroby
@codingwithroby Ай бұрын
Fair, but I’m not sure if it’s 100% accurate. The more popular one could also be more saturated
@skewty
@skewty Ай бұрын
Loved Sanic, then FastAPI after struggling to change the way some lower level Django pieces. Then we struggled with FastAPI, moved to Litestar and have found their development team more responsive. Also, appreciate that Litestar has more features and doesn't couple Starlette and Pydantic. (Love Pydantic though)
@codingwithroby
@codingwithroby Ай бұрын
Ahh interesting, thanks for sharing!
@coff3andprograming
@coff3andprograming Ай бұрын
A slightly better comparison would have been between django rest framework and FastAPI, personally I develop with both APIS and they are very good options when creating a project, if it is completely web and the application is very well thought out from start to finish I think that django rest framework has a great advantage because of the MVP pattern, its entire ecosystem and that by following the philosophy you do not repeat yourself, you already have to do quite a few things, now if the requirements are very changing or it is a product that has Viewing FastAPI data has the great advantage of being able to make modifications without breaking the code, in addition to being asynchronous and quite fast, I would not recommend using Flask for any project.
@codingwithroby
@codingwithroby Ай бұрын
Maybe an upcoming video: FastAPI vs Flask vs Django Rest.. thoughts?
@chakratejaboppana6716
@chakratejaboppana6716 Ай бұрын
Hi Roby, I'm currently in the middle of your FastAPI course on Udemy, and I'm loving it! The content is clear and incredibly well-structured. Thanks for such a great resource!
@codingwithroby
@codingwithroby Ай бұрын
Glad you enjoy it! ❤️
@shedrachugochukwu6245
@shedrachugochukwu6245 Ай бұрын
Thanks a lot, Eric. pardon me I have been trying to deploy a fast API app on Cpanel, but it's not working. Can you please make a video of it?
@codingwithroby
@codingwithroby Ай бұрын
I’ll add it to the backlog of videos I am currently making for KZfaq 🙂
@youssefchaabi5402
@youssefchaabi5402 10 күн бұрын
I think you can't deploy fastapi in Cpanel ,you need a vps or cloud
@joeuuk
@joeuuk Ай бұрын
why are you wearing your t-shirt inside out?
@codingwithroby
@codingwithroby Ай бұрын
HAHA - I was waiting for someone to mention that. 1. It is kind of funny. 2. It had a logo I didn't want shown
@efbYouTube
@efbYouTube Ай бұрын
TY!! curious to hear what u think of reflex (form pynecone)
@codingwithroby
@codingwithroby Ай бұрын
I have never actually used reflex - I'll take a look and see if it something I should make a video on 🙂
@centralcoding
@centralcoding 21 күн бұрын
What dou you think using django and Fastapi in the same project?
@codingwithroby
@codingwithroby 20 күн бұрын
I would probably be against it. If you want Django MVC use Rest Django along with it
@mohammedajmal5009
@mohammedajmal5009 Ай бұрын
clean and understandable.👍
@codingwithroby
@codingwithroby Ай бұрын
Yay! Glad you enjoyed it 🙂
@Cpluspluscoderexpert
@Cpluspluscoderexpert 21 күн бұрын
very helpfull video
@codingwithroby
@codingwithroby 20 күн бұрын
Glad you think so!
@user-sg7pp7bv4l
@user-sg7pp7bv4l Ай бұрын
It's a really great, clear and concise comparison of fastapi and Django
@codingwithroby
@codingwithroby Ай бұрын
Thank you so much, hopefully you were able to learn something!
@user-sg7pp7bv4l
@user-sg7pp7bv4l Ай бұрын
Yes bro, I learned fastapi through your videos and created a full stack project for the final year college project..! I got help from your 51 minute fastapi and react tutorial
@user-sg7pp7bv4l
@user-sg7pp7bv4l Ай бұрын
I watch your videos regularly to learn fastapi in depth..!
@codingwithroby
@codingwithroby Ай бұрын
This makes me so freaking happy and pumped - let’s goooooo!
@inno4953
@inno4953 Ай бұрын
How can you compare Django with FastAPI and not FastAPI vs DRF?
@codingwithroby
@codingwithroby Ай бұрын
I gave the people what they want haha - DRF vs FastAPI will be coming.
@riyansh3396
@riyansh3396 Ай бұрын
Problem with fastapi is Migrations
@codingwithroby
@codingwithroby Ай бұрын
Alembic solves this issue
FastAPI, Flask or Django - Which Should You Use?
9:49
Tech With Tim
Рет қаралды 67 М.
Why Is He Unhappy…?
00:26
Alan Chikin Chow
Рет қаралды 98 МЛН
Flask vs Django in 2024 - Make a RIGHT Choice (Difference Explained)
9:32
Daniel Dan | Tech & Data
Рет қаралды 44 М.
Is Django FINALLY dying? (Let's Investigate)
2:38
PEXT
Рет қаралды 3,6 М.
Masterclass: AI-driven Development for Programmers
8:49
Fireship
Рет қаралды 1,1 МЛН
FastAPI Tutorial | FastAPI vs Flask
16:13
codebasics
Рет қаралды 102 М.
9 Software Engineering Myths Wasting Your Time
9:02
Eric Roby
Рет қаралды 1,8 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 267 М.
So, you want to be a programmer?
20:43
ForrestKnight
Рет қаралды 262 М.
django Architecture - Connection Management
15:10
Hussein Nasser
Рет қаралды 45 М.
Why Is He Unhappy…?
00:26
Alan Chikin Chow
Рет қаралды 98 МЛН