fastapi-practices

    fastapi-practices/fastapi-best-architecture

    Enterprise-level backend architecture solution with fastapi、sqlalchemy,、celery、pydantic、grafana、docker...

    backend
    monitoring
    celery
    fastapi
    fastapi-template
    fba
    grafana
    Python
    MIT
    2.6K stars
    393 forks
    2.6K GitHub watchers
    Updated Nov 1, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    3 releases in the last 90 days, the latest 3 days ago, with 29 contributors on GitHub.

    Gained 62% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Provides an enterprise-level backend architecture solution using FastAPI, SQLAlchemy, Celery, Pydantic, Grafana, and Docker.
    • Offers a pseudo 3-tier architecture tailored for Python web development, improving code organization and maintainability over traditional MVC patterns.
    • Use for building scalable and maintainable RESTful APIs with clear separation of concerns in Python projects.
    • Use for integrating asynchronous task queues and monitoring with Celery and Grafana in backend services.
    • Use for developing database-driven applications with type-safe data models and CRUD operations using SQLAlchemy and Pydantic.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Enterprise-level backend architecture solution

    The mvc architecture is a common design pattern in python web, but the 3-tier architecture is even more fascinating

    In python web development, there is no common standard for the concept of 3-tier architecture, so we'll call it a pseudo 3-tier architecture here

    But please note that we don't have a traditional multi-app structure (django, springBoot...) If you don't like this pattern, use templates to transform it to your heart's content!

    For more details, please check the official documentation

    Excerpt from the fastapi-practices/fastapi-best-architecture README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    393+15

    Open issues

    16+0

    Compared with peers in Backend

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    fastapi-practices/fastapi-best-architecture compared with Backend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/skills187.8K+2.9K15—
    DuarteSantos8/openGym19.7K+2.4K602 days ago
    shiyu-coder/Kronos47.0K+2.3K16—
    NationalSecurityAgency/ghidra98.2K+2.3K6414 days ago
    microsoft/VibeVoice56.0K+1.1K29—
    fastapi-practices/fastapi-best-architecture2.6K—513 days ago
    Category median56.0K+2.3K29—

    Discover Repositories

    Search across tracked repositories by name or description