#101101st of 110 in Backend and cloud templates

fastapi-clean-example

FastAPI example app structured with clean architecture and Alembic migrations

Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Releases and problems feed (RSS)

Stars
604
License
MIT
Last commit
Nov 2026
Language
Python
Stars, last 30 weeks+73
26 Apr 2026: 531 stars3 May 2026: 541 stars10 May 2026: 545 stars17 May 2026: 547 stars24 May 2026: 548 stars31 May 2026: 549 stars7 Jun 2026: 549 stars14 Jun 2026: 552 stars21 Jun 2026: 557 stars28 Jun 2026: 559 stars5 Jul 2026: 562 stars12 Jul 2026: 564 stars19 Jul 2026: 568 stars26 Jul 2026: 572 stars2 Aug 2026: 574 stars9 Aug 2026: 578 stars16 Aug 2026: 579 stars23 Aug 2026: 582 stars30 Aug 2026: 583 stars6 Sept 2026: 584 stars13 Sept 2026: 587 stars20 Sept 2026: 589 stars27 Sept 2026: 590 stars4 Oct 2026: 592 stars11 Oct 2026: 592 stars18 Oct 2026: 593 stars25 Oct 2026: 595 stars1 Nov 2026: 596 stars8 Nov 2026: 598 stars15 Nov 2026: 600 stars22 Nov 2026: 604 stars

531 on 26 Apr 2026604 on 22 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A FastAPI reference project organized along clean-architecture lines, with user sign-up, login and role-based access (a super_admin role is set manually in the database). It uses Alembic for migrations, uv for dependencies, and Make targets for Docker and local runs. The README is mid-refactor; architecture docs live on the legacy-2025 branch, and it is not yet a finished template.

Who it is for: Python developers studying a clean-architecture FastAPI codebase

Strengths

  • Makefile targets cover Docker start, local start, migrations and tests
  • Tests included, with light (make check) and full Docker (make test-docker) runs
  • Pre-commit and pre-push hooks set up via prek
  • Docker and compose files included

Weaknesses

  • Refactor in progress; README does not yet explain code or patterns
  • Template conversion is unchecked in the README TODO list
  • Architecture docs only on the legacy-2025 branch, not the main branch
  • Super admin role must be set by hand in the database

What it needs

  • Python
  • Needs Docker, Alembic, uv
  • GitHub template
  • Docker
  • env example file

Also in Backend and cloud templates

See all 110
Also in Backend and cloud templates
RankProjectScore
#99serverless-rag-demoAWS CDK sample for document RAG chat and multi-agent workflows on Bedrock223 starsMIT-038 out of 100
#100openai-chat-vision-quickstartQuart chat app that answers questions about uploaded images via Azure OpenAI224 starsMIT37 out of 100
#102openai-chat-app-quickstartMinimal Quart chat app on Azure OpenAI with managed identity254 starsMIT36 out of 100
#103flask-restxFlask extension for building REST APIs with Swagger documentation2.2k starscustom license34 out of 100
#104itty-routerTiny TypeScript HTTP router for Cloudflare Workers and other serverless runtimes2.1k starsMIT34 out of 100