00:00 FastAPI is a modern and fast web framework for building APIs with easy-to-use features. 04:15 FastAPI uses ASCII server and Uvicorn implementation for building high performance sync IO services. 08:52 FastAPI is a growing Python web framework 13:48 Creating a router decorator in FastAPI 18:15 Creating a minimal app with FastAPI 23:50 Creating a to-do list API with GET, POST, and PUT requests 28:49 Creating a delete route for to-do items 34:33 FastAPI CRUD operations demonstrated Crafted by Merlin AI.
I've been following a tutorial using FastAPI that creates a web app. I thought I was following along well, but your video has actually opened my eyes more and I understand so much more of why I doing what I'm doing, imstefa of just blindly following! Thank you.
Seriously man, this is one of the best fastapi crash courses on youtube and I am surprised your channel doesn't get a descent amount views and subscribers while other undeserved do !!! Thanks Bek and keep it going man
Good tutorial. I want to thank you also for taking the effort of increasing the font size of the codes so that we can all read the code easily. Other tutorial videos won't even bother to do that. It's hard to read the code that one just gives up!. You won't get anything out of it if you can't even see the code and it just add another layer of difficulty in the learning process. Again great job for your tutorial videos!
That was a real jump start tutorial. Thanks! btw i use vs-code. If you like to do a course on the whole stack react and mongodb that would be so excellent.
I am happy to come across with this video :) have been planning to start till today :) thank you. I would like to see more of FastAPI tutorials from you.
Actually, there are a few FastAPI videos on the channel, and currently I'm preparing a FastAPI-VueJS Full-stack tutorial, probably will be uploaded by the end of the current month - stay tuned
Thanks for sharing the video with the world, it seems to be easy to get started with, and the documentation feature is really such a powerful tool. However, if others are confused, at around 38:00 minute mark, you say that the JSON data you put, needs to have an entry with "id" present. This is not correct, as you are already using the URL path to define which ID you are interacting with. Hence, all the body needs to be, is a JSON object with "Activity" - nothing more. I felt you emphasized it a bit too much - hence I got a little confused. Another thing that could be interesting, would be to mention how you can make the API respond with proper status codes, for example when the ID was not found during RUD actions. Other than that, flawless, simple approach to a simple API. Thanks a bunch!
We installed Starlette [ which is a web framework that uses Uvicorn ASGI server ] because FASTAPI uses Starlette - so Starlette is the heart of speed & performance in FASTAPI, also Starlette helps you to build web apps with routing to different pages
Great tutorial, very concise explanations. Could you please advise on what we need to change in the model.py due to updated Pydantic ver 2.0 kicking errors. Thank you.
Can you please show the same thing with a Database. Please do it with MongoDB. Or if you have already made a video or there any videos on the internet please share the link. Thank you :) (Vs Code btw). :)
Hello 👋 Annabomina my friend - I just released a new course for FARM stack using FastAPI MongoDB and React JS 🙂 check out my last video, you’ll find it
@@BekBrace im watching yout farm stack video now, would love a more in-depth farm stack course ill pay for one and im sure others will also. there is no farm stack course out there yet
well, let me try to put it simply Fast API is a high-performance framework for building web apps with Python 3.6+ based on standard Python type hints. It is designed to be high performance and easy to learn, also FASTAPI enables you to use a REST interface to call functions to implement applications. Django is the most popular Python web framework, right ? It's a great framework that encourages rapid development (great for big projects because it has a lot of out-of-the-box tools and features). It follows a "batteries included" philosophy and ships with many tools that are needed by application developers such as ORM framework, admin panel , directory structure and more, you can check out my django projects for that.
Not for any reason but clarity, also you can think of it as a constraint enforcement from my side; the same thing for async/await code; the program will run fine without it - just to show different patterns and get used to typing such code / Thanks Mayank for your observation
00:00 FastAPI is a modern and fast web framework for building APIs with easy-to-use features.
04:15 FastAPI uses ASCII server and Uvicorn implementation for building high performance sync IO services.
08:52 FastAPI is a growing Python web framework
13:48 Creating a router decorator in FastAPI
18:15 Creating a minimal app with FastAPI
23:50 Creating a to-do list API with GET, POST, and PUT requests
28:49 Creating a delete route for to-do items
34:33 FastAPI CRUD operations demonstrated
Crafted by Merlin AI.
Thank you so much 😊👍🙏
I've been following a tutorial using FastAPI that creates a web app. I thought I was following along well, but your video has actually opened my eyes more and I understand so much more of why I doing what I'm doing, imstefa of just blindly following!
Thank you.
Thanks Aaron 🙏, this means a lot to me - Glad you found it useful 🙂
same here, i have a clue of how it works now.
I'm so glad that was useful
Pycharm all day. This Fastapi crash course is by far the easiest and clearest intro explanation I've followed up to now. Thank you!
PyCharm is great ! Thanks a lot El Jesco, I’m glad you found this course useful 🙂
Vim forever ;).
Thank you so much sir, I didn’t find any FastAPI course on UA-cam - thanks a lot
Yes, what is concurrency. Thanks
I’ll answer your question in a future separate video
PyCharm and Atom - switched to VS Code lately and it's a smart IDE
I hate pycharm
VSC over here, excellent crash course, thanks a lot!
Thank you, Julio - appreciate it 🙏
Very high quality video .. Thanks for making this. Now i will watch all of your videos...
Thank you Tech world 🙏🙂
Really nice intro for Django developers
Thank you, Jimmy
I see what you did there.
VSCode is my fav, but I also use sublime text sometimes
the best FastAPI course on UA-cam hands down !!! bless you man !
Thank you Naruto
im blown away. starting to hate myself for loving things getting easier and easier. im such a lazy programmer lololo
We're all lazy programmers 😂
@@BekBrace that was an awesome intro to FastAPI. i'm even interested in a FARM stack (coming from basic bootstrap and postgre)
Seriously man, this is one of the best fastapi crash courses on youtube and I am surprised your channel doesn't get a descent amount views and subscribers while other undeserved do !!! Thanks Bek and keep it going man
Thank you 🙏
Awesome tutorial! Easy to follow , to the point, simple examples and yet thorough. Thank you.
Thank you, Glenn 🙏
Sir, not only you teach well but your video editing and thumbnail designing skills are GREAT !
I use VS Code.
Vscode and sublime text.. Thanks for this video.. Excellent explanation 👍
Thank you, Ajmal 🙏
Good tutorial. I want to thank you also for taking the effort of increasing the font size of the codes so that we can all read the code easily. Other tutorial videos won't even bother to do that. It's hard to read the code that one just gives up!. You won't get anything out of it if you can't even see the code and it just add another layer of difficulty in the learning process. Again great job for your tutorial videos!
Thank you very much 🙏 Glad you liked the tutorial 🙂
That was a real jump start tutorial. Thanks!
btw i use vs-code. If you like to do a course on the whole stack react and mongodb that would be so excellent.
Thanks a lot Ronald 🙂
Actually I am currently preparing a full tutorial on the FARM stack ( FastAPI - React - MongoDB) 👍
Glad I came over this course. GREAT! I'm using Pycharm!
thank you my friend
Fantastic video ............... Keep up the good work.
God bless
Thank you very much my friend
Amazing crash course!!! Thanks!!
Thank you very much 🙏😊
what is async/await ?
Take a look to my series of simplified concepts in python, I talked about the asyncio library :)
the docs page is a really great dev aid
WSL 2 is a good Terminal with Ubuntu so you have all the right tools
Always nice to find a hidden gem channel, great content
Thank you 😊 so much !
I am happy to come across with this video :) have been planning to start till today :) thank you. I would like to see more of FastAPI tutorials from you.
Thank you Ulvi, and you are very welcome, friend
Actually, there are a few FastAPI videos on the channel, and currently I'm preparing a FastAPI-VueJS Full-stack tutorial, probably will be uploaded by the end of the current month - stay tuned
@@BekBrace FastAPİ + Vue 🥰 what i am looking for.
I am looking forward seing your content
What a nice introduction to FastAPI
Thank you Eddy 🙏
Thanks Sir ...getting clear in all endpoints
exceptional content Bek Brace. I shattered that thumbs up on your video. Keep up the awesome work.
Thanks a lot Keyser The Red Beard 🙂🙏
Loved this video clear and consize explanation. Keep up the good work. Thanks 👍
Thank you
This was straight to the point, a very neat introduction. Full crud. Loved it.
Thank you Farsi, I’m glad you liked it 🙂
Good crash course to learn fastapi, and I'll prefer visual studio code the most!
Thanks 👍
This video was amazing tnx body and keep it up
Glad you liked it, Vampire 🧛♀️🙂
Goroutines(Go) Vs Coroutines (fastapi)
Thanks man for this course , i learned a lot , and also i always work with visual studio code
Cool 👍
Thanks for sharing the video with the world, it seems to be easy to get started with, and the documentation feature is really such a powerful tool.
However, if others are confused, at around 38:00 minute mark, you say that the JSON data you put, needs to have an entry with "id" present. This is not correct, as you are already using the URL path to define which ID you are interacting with. Hence, all the body needs to be, is a JSON object with "Activity" - nothing more. I felt you emphasized it a bit too much - hence I got a little confused.
Another thing that could be interesting, would be to mention how you can make the API respond with proper status codes, for example when the ID was not found during RUD actions.
Other than that, flawless, simple approach to a simple API. Thanks a bunch!
I use visual studio code very often
Good stuff! I love FastAPI.
why did we install starlette? i dont recall using it?
We installed Starlette [ which is a web framework that uses Uvicorn ASGI server ] because FASTAPI uses Starlette - so Starlette is the heart of speed & performance in FASTAPI, also Starlette helps you to build web apps with routing to different pages
@@BekBrace You don't need to install Starlette separately, it is installed together with FastAPI.
@@yarmik3d Yes, it's true - Thank you Yaroslav
Great bro :)
شكرا اخى الكريم
I have created localhost from Docker image. Can FastAPI be used with docker image localhost environment?
Yes
انت مبدع استمر
شكرا صديقي 👍
I did this course really fast.
Great to hear, thank you for watching 🙂
Always vscode, very comfortable
I feel the same with vscode
Loved it. I was hoping you'd give us FARM and I saw you already have done that. Amazing work
I am humbly accepting the fact that I was the first on UA-cam to create a FARM stack course, and it's even on FreeCodeCamp :) Thank You for watching
@@BekBrace I believe you coined the term too.
I like atom but it doesn’t work ok anymore. now I use visual studio code
Used to work with atom too for a while
spectacular!
Thank you so much 🙏
Great tutorial! Is there any bigger FastAPI (like an advanced one or something) on the way? that'd be awesome!
Thank you.
A standalone no, but I'm preparing a big project taking vue js , fastapi, docker and authentication all in one application.
Could you create one video that returns a dB model? Thanks
Have you checked my FARM stack course ?
@@BekBrace OH no, have not but will try to review. 🙂
@@jaimedpcaus1 this is a course showing how fastapi - mongodb - react can work together / you'll find it in fullstack playlist 🙏🙂
@@BekBrace 🙂 OH ths. I will go and find it. Thank you and have a great day.
Nice video!!
Thank You, Julio!
What will be the changes in the code if body contains more than 1 property, right now we have one "Activity". Thanks.
Awesome tutorial dude!!
Great tutorial, very concise explanations. Could you please advise on what we need to change in the model.py due to updated Pydantic ver 2.0 kicking errors. Thank you.
Thank you so much, I haven't actually checked out latest updates on Pydantic, as soon as I know, I will get back to you with a reply :)
VSCode for the last two years. Also, never do anything in Python without pipenv.
Great tutorial 💯 BTW which font you're using?
Thank you Pawel 🙂 theme is called Material
@@BekBrace Do checkout "Jellyfish Theme" you'll love it. BTW I was asking about the font you're using in vscode it's looking cool.
Thank you for the excellent video. I use VSCode. I would like to see this code using React and deployed to a cloud host such as Google or Linode.
Thank you 🙏 Riscaverse for your support - I’m preparing currently a tutorial for the FARM stack ( FastAPI - React - MongoDB )
I work in visual studio code all the time
Nice 👍
I am sorry to hear that :S
Very useful, thank you so much!!
Thank you my friend 🙏
Very helpful tutorial. Thank you!
That’s great!! Thank you, friend
@@BekBrace Nagrywaj więcej materiałów :)
Can you please show the same thing with a Database. Please do it with MongoDB. Or if you have already made a video or there any videos on the internet please share the link. Thank you :) (Vs Code btw). :)
Hello 👋 Annabomina my friend - I just released a new course for FARM stack using FastAPI MongoDB and React JS 🙂 check out my last video, you’ll find it
There it is : ua-cam.com/video/oGwszbCH5Z4/v-deo.html
I’m working on Angular..!!
Do u have the same thing with Angular instead of react..??
@@kiran59345 no
can you create a whole ecommerce site and web apps with fast and react?
Yes definitely I can.
Would you be interested in such tutorial ?
@@BekBrace im watching yout farm stack video now, would love a more in-depth farm stack course ill pay for one and im sure others will also. there is no farm stack course out there yet
could somebody tell me what's Fastapi is used for and how it is different from Django and which one is better for web app ?
well, let me try to put it simply
Fast API is a high-performance framework for building web apps with Python 3.6+ based on standard Python type hints. It is designed to be high performance and easy to learn, also FASTAPI enables you to use a REST interface to call functions to implement applications.
Django is the most popular Python web framework, right ? It's a great framework that encourages rapid development (great for big projects because it has a lot of out-of-the-box tools and features).
It follows a "batteries included" philosophy and ships with many tools that are needed by application developers such as ORM framework, admin panel , directory structure and more, you can check out my django projects for that.
VIM
Is VIM difficult ?
VI is a code editor, but what do you use as IDE ?
awesome
Thank you 🙏
NeoVIM !!!
❤❤❤
🤗
Why you are mentioning -> dict after a function?
By default the function will return dictionary only.
Could you please explain.
Not for any reason but clarity, also you can think of it as a constraint enforcement from my side; the same thing for async/await code; the program will run fine without it - just to show different patterns and get used to typing such code / Thanks Mayank for your observation
@@BekBrace Thank you for the clarification 🙌🏻
I am using vscode
I like VIM
i use vim
VS Code
VSC
Really good vids you are making- learning a lot
Thank you, David, I’m glad to hear that
vscode
The Best
Who else is here from hng😂
It is well 😂😂
What is hng?
It's an internship program
vscode
Me too 😀