#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.
- Stars
- 604
- License
- MIT
- Last commit
- Nov 2026
- Language
- Python
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| Rank | Project | Score |
|---|---|---|
| #99 | serverless-rag-demoAWS CDK sample for document RAG chat and multi-agent workflows on Bedrock | 38 out of 100 |
| #100 | openai-chat-vision-quickstartQuart chat app that answers questions about uploaded images via Azure OpenAI | 37 out of 100 |
| #102 | openai-chat-app-quickstartMinimal Quart chat app on Azure OpenAI with managed identity | 36 out of 100 |
| #103 | flask-restxFlask extension for building REST APIs with Swagger documentation | 34 out of 100 |
| #104 | itty-routerTiny TypeScript HTTP router for Cloudflare Workers and other serverless runtimes | 34 out of 100 |