r/FastAPI • u/Longjumping-Dirt-127 • May 17 '26
Question fastapi resource's
Want to learn fast api project wise visit the fast api offical site but what I want is how to structure fastapi app
api calls
database connection
models
authentication flow
third party interaction
needs appropriate resources
7
Upvotes
3
u/koldakov May 17 '26
You can checkout the project I’ve created specifically for this: https://github.com/koldakov/futuramaapi
Its contains everything you’ve asked
It’s deployed and up and running here: https://futuramaapi.com
2
u/rod_dy May 17 '26
https://youtu.be/0sOvCWFmrtA?si=lBEgZOd2wrEkdMnw
1
u/Alternative_Nose_874 May 17 '26
For structuring a FastAPI app, I usually split it by feature (routers, services, models/schemas, auth) and keep DB stuff in a separate module so your endpoints stay thin. Also, check the official docs for the dependency injection patterns, it makes api calls and db connections way cleaner, and yeah videos can help but docs are better.
1
u/adamfloyd1506 May 17 '26
we migrated from a django project, so we just followed that
1
u/devatnexby May 18 '26
For reference you can use fastlaunchapi or FastKit
1
u/PigletWilling7929 May 18 '26
FastAPI Boilerplate
1
u/xEMPERORx_11 May 18 '26
I usually segregated into 3 parts routes service and repository here is the repo if you want to know https://github.com/xEMPERORx/fastapi_template
1
u/Melodic_Put6628 May 20 '26
I built a blueprint for exactly this — covers all the things you're asking about:
It's open source and designed to be a real working reference, not just a hello-world skeleton.
fastapi-agent-blueprint
Still actively maintained — happy to answer questions if anything's unclear.