r/FastAPI • u/Gerum_Berhanu • 1d ago
Question Where to learn FastAPI?
I have a good Python experience. I did basic backend dev with PHP and Flask before, so the beginner concepts won't be that much challenging. What I'm looking for is a single well-organized course to learn FastAPI deeply. I've checked out the official documentation, which is absolutely great and lovely, and I will use that as a reference.
It doesn't matter if the course is certified or not. I focus on the skills I'll gain. It's more preferred to be a free course though (but don't hesitate to share paid courses too if they are really worth paying for).
2
u/No-Butterscotch9679 1d ago
when i started learing i too used youtube videos and docs so yea one resource is Code Goat search in youtube
2
u/spigotface 20h ago
- Go through the FastAPI docs on their website. Follow along in your own editor.
- Build a trivial REST API alongside Claude, using TDD and a containerized postgres db
- Fork that project once it's done, and adapt it to return HTML responses and server-side-rendered Jinja templates
- Do another fork of the original REST API and connect a totally separate frontend (React) app
1
u/FirstVisit4432 17h ago
What after this, i am done with REST API, JET TOKENIZATION and alembic migrations. I learnt by claude, and made a app called product manager with react as the frontend framework.
1
1
1
u/adiberk 21h ago
These questions pop up here all the time and I don’t get it.
- The docs are super thorough. Did you even try reading them first before asking?
- I think the question shouldn’t be “where to learn fastapi”. Fastapi is a framework and a pretty simple one at that (you say you know flask, then this is even simpler). It is easy to learn if you understand the general concepts involved in building backend rest (or other protocol) applications.
So the real question should be - how do I learn the principles of building a backend rest application.
1
u/Zealousideal_Tea6461 10h ago
I am also learning FastAPI and at the same time had a solid basic foundation of Python and Django and little bit of flask. I use the official documentation of both the FastAPI and also the Pydantic documentation itself. What I will recommend is build something, not necessarily to be big, small ideas of your liking, then use the documentation as your reference plus Ai which is what I use for my daily coding and brainstorming, but never recommend to only rely on Ai, when ever you encounter a confusion or a difficult concept go back to the reference docs. Also I have a good experience of using the official Github discussions for FastAPI, there you can find experts who can give you great answers and elightments.
1
u/Busy_Satisfaction791 5h ago
Be patient and follow the fastapi docs from the beginning. It'll teach you a lot.
14
u/the_milkman01 1d ago
The fastapi docs themself are really good
I would start there
Also I recommend Dave gray fastapi course on youtube
I liked that a lot as well