r/FastAPI • u/eslam5464 • Nov 10 '25
Other FastAPI Template
I’m excited to share my new open-source project: Fastapi-Template
It’s designed to give you a solid starting point for building backend APIs with FastAPI while incorporating best practices so you can focus on business logic instead of infrastructure. You can check the docs folder for a walkthrough of the architecture and code.
Highlights
Token authentication using JWT with secure password hashing
Async SQLAlchemy v2 integration with PostgreSQL
Database migrations using Alembic
Organized folder structure with clear separation for routes, schemas, services, and repositories
Structured logging with Loguru
Ready-to-use .env configuration and environment management
Pre-commit hooks and code formatting
Example cloud storage integration using Backblaze B2
Note:
Feel free to edit it to match your tone, add any screenshots or code snippets you want, and adjust the bullet points to emphasise what you care about most.
If you think something is missing, needs refactoring, or could be better structured, I’d love to hear your thoughts in a comment below or open a PR on Github.
1
u/[deleted] Nov 19 '25
I'm one week late with the same idea :)
This is my project: fastapi-template. My project still lacks the features, documentation, and production readiness that your project has. But I found my template more fitting for small-scale apps. You can have a look if you need this.
Also, make a template from your github repo so everybody can just use it instead of forking