fastapi-practices/fastapi-best-architecture resource
Enterprise-level backend architecture solution with fastapi、sqlalchemy,、celery、pydantic、grafana、docker... observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 99
- Release rhythm 98
- Longevity 88
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 8.5
- age_days: 1244
- days_rel: 17
- days_push: 10
- n_releases_24m: 45
Adoption not part of the score
2523 stars · 379 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An enterprise-level backend architecture template built on FastAPI, SQLAlchemy 2.0, Pydantic v2, Celery, and Docker, organized in a three-tier (api/schema/service/crud/model) structure. It provides a production-ready starting point with monitoring via Grafana and support for MySQL and PostgreSQL.
Use cases
- start a new fastapi backend project with a clean layered architecture
- template for enterprise rest api backend in python
- fastapi project with sqlalchemy 2 and pydantic v2 setup
- background task processing with celery in fastapi
- dockerized fastapi backend with grafana monitoring
- rbac and jwt auth boilerplate for fastapi
- replace django/spring-style layered structure with fastapi
When to choose
- you want a batteries-included, opinionated FastAPI backend skeleton
- you need a three-tier layered structure (api, service, crud, model) out of the box
- you want integrated Celery, Docker, and monitoring from day one
When to avoid
- you prefer a minimal, unopinionated FastAPI setup you assemble yourself
- you need a microservices-based directory structure rather than a monolith
- your stack is not Python/FastAPI
Facets
learning-resource · maturity active
web-framework orm auth authorization middleware caching monitoring deployment database web-development backend developer-tools apis self-hosted python self-hosted fastapi sqlalchemy celery pydantic template enterprise-architecture three-tier-architecture grafana boilerplate boilerplate docker web-server
1 source
- readme: https://github.com/fastapi-practices/fastapi-best-architecture · fetched 2026-08-28 · c4db78cc7874
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fastapi-practices/fastapi-best-architecture | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="fastapi-practices/fastapi-best-architecture")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem