{"adoption": {"forks": 379, "observed_at": "2026-08-28T04:06:58.390494+00:00", "stars": 2523}, "canonical_url": "https://ross.abutalabs.com/products/fastapi-best-architecture", "card": {"archived": false, "artifact_type": "learning-resource", "description": "Enterprise-level backend architecture solution with fastapi、sqlalchemy,、celery、pydantic、grafana、docker...", "domain": ["web-development", "backend", "developer-tools", "apis", "self-hosted"], "enriched": true, "function": ["web-framework", "orm", "auth", "authorization", "middleware", "caching", "monitoring", "deployment", "database"], "health_score": 99, "homepage": "https://docs.fba.wu-clan.cc", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["fastapi-practices/fastapi-best-architecture"], "name": "fastapi-practices/fastapi-best-architecture", "platform": ["python", "self-hosted"], "pushed_at": "2026-08-23T04:16:50+00:00", "repo": "fastapi-practices/fastapi-best-architecture", "stars": 2523, "tags": ["fastapi", "sqlalchemy", "celery", "pydantic", "template", "enterprise-architecture", "three-tier-architecture", "grafana", "boilerplate", "boilerplate", "docker", "web-server"], "topics": ["fastapi", "fba", "celery", "sqlalchemy", "fastapi-template", "grafana"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/fastapi-best-architecture", "repo": "fastapi-practices/fastapi-best-architecture", "role": "main", "score": 96}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.390494+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T08:31:48.687785+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4db78cc7874665989f94a52152c42253ae84f7b677f62511380e8afc27760a8", "fetched_at": "2026-08-28T04:06:58.390494+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fastapi-practices/fastapi-best-architecture"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.390494+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T08:31:48.687785+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4db78cc7874665989f94a52152c42253ae84f7b677f62511380e8afc27760a8", "fetched_at": "2026-08-28T04:06:58.390494+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fastapi-practices/fastapi-best-architecture"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T08:31:48.687785+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4db78cc7874665989f94a52152c42253ae84f7b677f62511380e8afc27760a8", "fetched_at": "2026-08-28T04:06:58.390494+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fastapi-practices/fastapi-best-architecture"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.390494+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.390494+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.390494+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T08:31:48.687785+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4db78cc7874665989f94a52152c42253ae84f7b677f62511380e8afc27760a8", "fetched_at": "2026-08-28T04:06:58.390494+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fastapi-practices/fastapi-best-architecture"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.390494+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.390494+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T08:31:48.687785+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4db78cc7874665989f94a52152c42253ae84f7b677f62511380e8afc27760a8", "fetched_at": "2026-08-28T04:06:58.390494+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fastapi-practices/fastapi-best-architecture"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.390494+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.390494+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.390494+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T08:31:48.687785+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4db78cc7874665989f94a52152c42253ae84f7b677f62511380e8afc27760a8", "fetched_at": "2026-08-28T04:06:58.390494+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fastapi-practices/fastapi-best-architecture"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.390494+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.390494+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T08:31:48.687785+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4db78cc7874665989f94a52152c42253ae84f7b677f62511380e8afc27760a8", "fetched_at": "2026-08-28T04:06:58.390494+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fastapi-practices/fastapi-best-architecture"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T08:31:48.687785+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4db78cc7874665989f94a52152c42253ae84f7b677f62511380e8afc27760a8", "fetched_at": "2026-08-28T04:06:58.390494+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fastapi-practices/fastapi-best-architecture"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T08:31:48.687785+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4db78cc7874665989f94a52152c42253ae84f7b677f62511380e8afc27760a8", "fetched_at": "2026-08-28T04:06:58.390494+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fastapi-practices/fastapi-best-architecture"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T08:31:48.687785+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4db78cc7874665989f94a52152c42253ae84f7b677f62511380e8afc27760a8", "fetched_at": "2026-08-28T04:06:58.390494+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fastapi-practices/fastapi-best-architecture"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 88, "rhythm": 98}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1244, "days_push": 10, "days_rel": 17, "gap_med": 8.5, "n_releases_24m": 45}, "score": 96, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}