fastapi-boilerplate

FastAPI boilerplate for real world production

pythonapiboilerplatesqlalchemyasynciofastapifastapi-templatefastapi-boilerplatesqlalchemy-async
FreeRepo

Preview

fastapi-boilerplate preview

Overview

This FastAPI boilerplate provides a production-ready foundation for building async web applications with built-in support for database operations, user authentication and caching. It includes async SQLAlchemy integration, role-based permissions, Celery task queues, Docker containerization and a flexible caching system with multiple backend options, designed for developers building scalable APIs that need database routing, custom authentication and performance optimization out of the box.

Features

async-sqlalchemy-sessioncustom-user-classpermission-dependenciescelery-integrationdocker-supportevent-dispatchercaching-systemalembic-migrationsjwt-authenticationmulti-database-supporthot-reload

Feature Flags

userDashboardauthenticationsubscriptionsemailsecommerceauthorizationjobsQueueapiDocscaching

Recommended Use Cases

production-apimicroservicesasync-applicationsscalable-backends

Frontend

None

Backend

fastapipythonsqlalchemyceleryalembic

Auth Providers

jwt

Deployment Targets

docker

Payment Providers

None

Quick Facts

โญ Stars
1,4k
๐Ÿด Forks
213
๐Ÿ”„ Active
Unknown

Stack

Framework
fastapi
Language
python
Database
postgresql
ORM
sqlalchemy
Testing
pytest

Data Layer

Databases
postgresql
ORM
sqlalchemy

UI Stack

Developer Experience

Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
No

Pricing

Classification
free
Selected
โ€”
Notes
Open source boilerplate
Get Started with this Boilerplate