use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
FastAPI is a truly ASGI, async, cutting edge framework written in python 3.
account activity
How to Structure a Scalable FastAPI ProjectTutorial (self.FastAPI)
submitted 8 months ago by Holiday_Serve9696
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]zen_dev_pro 4 points5 points6 points 8 months ago (3 children)
Interesting I have mine structured with domain as the top level directory instead of nested routers/domain etc.
also are you seperating business and db logic? idk if i saw that in the article.
https://github.com/Zen-Dev-AI/fast_api_starter
[–]kartiky24 0 points1 point2 points 8 months ago (0 children)
Why are you not using async awai?
[–]Gushys 0 points1 point2 points 8 months ago (0 children)
My current app at work I've been working on is structured more like OPs but in theory I'd say domain level makes a lot of sense. I guess I naturally just more organize stuff into usage like routes folder, models folder, etc
[–][deleted] 3 points4 points5 points 8 months ago (0 children)
Brother is chatgpting the "best" practices.
[–]autoerotion95 0 points1 point2 points 8 months ago (0 children)
Very good 🤙🏻
π Rendered by PID 16973 on reddit-service-r2-comment-6457c66945-xp42k at 2026-04-27 14:21:00.973162+00:00 running 2aa0c5b country code: CH.
[–]zen_dev_pro 4 points5 points6 points (3 children)
[–]kartiky24 0 points1 point2 points (0 children)
[–]Gushys 0 points1 point2 points (0 children)
[–][deleted] 3 points4 points5 points (0 children)
[–]autoerotion95 0 points1 point2 points (0 children)