fastapi-boilerplate

A comprehensive, enterprise-grade FastAPI boilerplate for ERP systems with support for multiple databases including PostgreSQL, MySQL, SQL Server and MongoDB.

mysqlpythonboilerplatemongodbpostgresqlmysql-databasemssqlpostgresql-databasemongodb-databasemssql-databasefastapifastapi-template
FreeRepo

Preview

fastapi-boilerplate preview

Overview

This FastAPI boilerplate provides a scalable backend for ERP systems built on Clean Architecture principles, supporting multiple databases including PostgreSQL, MySQL, MS SQL Server and MongoDB. It features asynchronous operations, dependency injection, comprehensive error handling and organized layers separating domain logic, application use cases, infrastructure and API presentation, helping teams ship fast with a maintainable, testable foundation.

Features

clean-architecturemulti-database-supportasynchronous-operationscrud-operationscustom-query-executiontype-safety-pydanticdependency-injectionerror-handlingapi-documentation-openapi-swaggerrepository-patternuse-cases-patterndtosconnection-pooling

Feature Flags

userDashboardauthenticationblogemailspaymentsauthorizationteamsOrgsanalyticsjobsQueuenotificationsapiDocscachingrateLimitingmaps

Recommended Use Cases

erp-systemsenterprise-backendmulti-database-applicationsscalable-rest-apis

Frontend

None

Backend

fastapipythonsqlalchemyasyncpgaiomysqlaiodbcmotor

Auth Providers

None

Deployment Targets

dockerkubernetes

Payment Providers

None

Quick Facts

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

Stack

Framework
fastapi
Language
python
Database
postgresql, mysql, mssql, mongodb
ORM
sqlalchemy
Testing
pytest

Data Layer

Databases
postgresql, mysql, mongodb, redis, mssql
ORM
sqlalchemy

UI Stack

Developer Experience

Docker
No
Tests
Yes
Quickstart
Yes
env.example
Yes

Pricing

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