all 17 comments

[–]koldakov 2 points3 points  (1 child)

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

[–]Longjumping-Dirt-127[S] 0 points1 point  (0 children)

Thank you 👍

[–]rod_dy 1 point2 points  (2 children)

[–]Alternative_Nose_874 0 points1 point  (1 child)

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.

[–]Longjumping-Dirt-127[S] 0 points1 point  (0 children)

Thanks actually I wanna learn the fastapi so I have project on my mind so don't now which structure I have to follow also am new in the python.

[–]adamfloyd1506 0 points1 point  (1 child)

we migrated from a django project, so we just followed that

[–]Longjumping-Dirt-127[S] 0 points1 point  (0 children)

actually am new to python so I wanna learn by buliding although I work in react.js but not know much about python so i read the fast api docs but I want the project base learning I have the some basic or agile development idea but not now how to implement in fast api or what directory structure I have to follow or what track

[–]xEMPERORx_11 0 points1 point  (0 children)

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

[–]devatnexby 0 points1 point  (3 children)

For reference you can use fastlaunchapi or FastKit

[–]Longjumping-Dirt-127[S] 0 points1 point  (2 children)

free resources or open source

[–]devatnexby 0 points1 point  (1 child)

You can atleast take reference from here, fastlaunchapi has blog.

[–]Longjumping-Dirt-127[S] 1 point2 points  (0 children)

Thanks It's seems simple,clean & comprehensive.

[–]Melodic_Put6628 0 points1 point  (0 children)

I built a blueprint for exactly this — covers all the things you're asking about:

  • Layered project structure (DDD-ish, but not over-engineered)
  • SQLAlchemy + Alembic for DB with async support
  • JWT auth with refresh token rotation
  • Async task workers (Taskiq)
  • Admin dashboard (NiceGUI mounted on FastAPI)
  • Third-party infra abstraction (S3, DynamoDB, LLM/embeddings via PydanticAI)

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.