fastapi-boilerplate

Dockerized FastAPI boiler plate similar to Django code structure with views, serializers(pydantic) and model( Sqlalchemy ORM) with dockerized database(PostgresSQL) and PgAdmin. ๐Ÿš€

dockerboilerplatesqlalchemyormdocker-composepostgresqlpython3alembicpydanticfastapisqlalchemy-ormfastapi-sqlalchemy
FreeRepo

Preview

fastapi-boilerplate preview

Overview

This FastAPI boilerplate provides a production-ready backend framework with Django-like structure, using FastAPI, SQLAlchemy ORM, PostgreSQL and Docker for containerization. It includes built-in features for database migrations, authentication, logging, testing with pytest and CRUD operations, designed for rapid deployment of REST APIs with minimal setup.

Features

crud-apistoken-authenticationloggingdatabase-migrationsserializationdocker-composepgadmintdd

Feature Flags

userDashboardauthenticationemailsapiDocsloggingtesting

Recommended Use Cases

rest-apibackend-serviceproduction-deployment

Frontend

None

Backend

fastapipythonsqlalchemyalembicpydanticloguru

Auth Providers

token

Deployment Targets

docker

Payment Providers

None

Quick Facts

โญ Stars
228
๐Ÿด Forks
44
๐Ÿ”„ Active
Unknown
๐Ÿ•’ Last Commit
2025-01-21T10:19:43Z

Stack

Framework
fastapi
Language
python
Database
postgresql
ORM
sqlalchemy
Testing
pytest

Data Layer

Databases
postgresql, sqlite
ORM
sqlalchemy

UI Stack

Developer Experience

Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes

Pricing

Classification
free
Selected
โ€”
Notes
No clear pricing signals
Get Started with this Boilerplate