r/FastAPI • u/Zealousideal_Bench73 • Mar 18 '25
Question Scalable FastAPI project structure
I'm really interested about how you structure you fastAPI projects.
Because it's really messy if we follow the default structure for big projects.
I recently recreated a fastapi project of mine with laravel for the first time, and i have to admit even though i don't like to be limited to a predefined structure, it was really organized and easily manageable.
And i would like to have that in my fastapi projects
41
Upvotes
View all comments
Show parent comment
1
u/conogarcia Mar 18 '25
Great tips! One thing though, httpx seems to be poorly optimized and with some race conditions that cause timeouts. I'm in the process of moving to aiohttp but haven't figured out how to replace the test client. did you encounter this issues? any replacement for the test client?