FastAPI-Production-Boilerplate

A scalable and production ready boilerplate for FastAPI

pythonapitemplateboilerplaterest-apirestful-apifastapifastapi-templatefastapi-boilerplate
FreeRepo

Preview

FastAPI-Production-Boilerplate preview

Overview

This FastAPI boilerplate provides a production-ready template with layered architecture (models, repositories, controllers, API) designed for scalable applications. It includes Python 3.11+, SQLAlchemy 2.0, async support, JWT authentication, row-level access control, database migrations via Alembic, Redis caching, Celery background tasks, type checking and Docker setup, making it suitable for building secure, maintainable backend services quickly.

Features

jwt-authenticationrow-level-access-controldatabase-migrationsredis-cachingcelery-background-taskstype-checkingcrud-operationsasync-supportdocker-supportrepository-patternlayered-architecture

Feature Flags

userDashboardauthenticationsubscriptionsemailsauthorizationjobsQueueapiDocscachingtypeCheckingdockertesting

Recommended Use Cases

rest-api-developmentscalable-backend-applicationsproduction-ready-services

Frontend

None

Backend

fastapipythonsqlalchemyalembicceleryredis

Auth Providers

jwt

Deployment Targets

docker

Payment Providers

None

Quick Facts

โญ Stars
559
๐Ÿด Forks
88
๐Ÿงพ License
mit
๐Ÿ”„ Active
Unknown

Stack

Framework
fastapi
Language
python
Database
postgresql
ORM
sqlalchemy
Testing
pytest

Data Layer

Databases
postgresql, redis
ORM
sqlalchemy

UI Stack

Developer Experience

Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes

Pricing

Classification
free
Selected
โ€”
Notes
Open source project licensed under MIT
Get Started with this Boilerplate