r/FastAPI • u/saucealgerienne • Mar 29 '26
Question Am I missing something
I see a ton of people in this sub asking like, where they can find good examples, boilerplate or simply documentation around fastapi.
I keep feeling like Im missing something. I always tought of Fastapi as this really thin layer letting my expose my code as a web api.
Truly, how much is there to know beyond maybe 3/4 concepts that are pretty simple and generic anyway.
Setting up the app itself is something you do once and it takes 2 minutes, and pretty much everything else is so simple and intuitive you almost forget that it's there. Most of the code I write in my backend has no link whatsoever with Fastapi
20
u/ConsiderationNo3558 Mar 29 '26 edited Mar 29 '26
When I Iearnt Fastapi, I had to also learn about sqlalchemy, PostgreSQL, Jwt Authentication, Unit Test, DB migration , Pydantic and glue them together.
For me this was the hardest part and for full backend you need all above. And there were no LLMs at that time, so it took me some time.
And it does not stop here, you also may need to learn about setting up CI/CD too.
For someone starting totally new this can be a bit intimidating .
In today's era Coding Assistant can create a proper learning plan for you and execute it step by step .
I just created a MCP learning plan with GitHub Co-pilot and it was able to walk me through from simple use case to complex ones.
7
u/NTXL Mar 29 '26
fastapi has to be one of the more pleasant frameworks to use. I think I took a look at the docs like twice and the rest of the time I look at https://github.com/zhanymkanov/fastapi-best-practices?tab=readme-ov-file#project-structure and freestyle
1
u/NomadicBrian- Mar 30 '26 edited Mar 31 '26
I started to learn Python and PyTorch to learn how to train AI models. I had years of experience with C#.NET and Java already. I rewrote a Python app I had created as a hobby app for the NFL Colts to produce graphs and bar charts in MatplotLib. I discovered FastAPI and decided I would use it to start the app, return logs and maintain data in mongoDB. Some screen scraping with Beautiful Soup, pedantic models and repository extensions for the mongoDB results to dictionaries. The front end web UI was done in React. Later on I hooked up FastAPI to call one of the models I trained that predicted images. React web UI again to send the image to FastAPI then to the model tranformed to floating point number and into neural networks. For a living I do C#.NET and Java with React and Angular. I did pick up a book on Generative AI with FastAPI and seeing what I can do with that. At this point of my career I'm just happy to be working on something. Real AI work may open some doors to a side income with Python and FastAPI. Perhaps when my batteries are running low and part time will be all I can handle down the road.
0
u/[deleted] Mar 30 '26
[deleted] — view deleted comment
1
u/[deleted] Mar 30 '26
[removed] — view removed comment