fastapi-boilerplate

Production-ready FastAPI boilerplate

pythonapiboilerplatedatabaseasynciofastapifastapi-templatefastapi-boilerplate
FreeRepo

Preview

fastapi-boilerplate preview

Overview

Design Pattern for FastAPI Template Introduction To maintain a consistent design pattern, we have created this repository to provide a template for new projects. Project Structure The project structure is as follows: `` design-pattern/ โ”‚ โ”œโ”€โ”€ src/ โ”‚ โ”œโ”€โ”€ main.py โ”‚ โ”œโ”€โ”€ __init__.py โ”‚ โ”œโ”€โ”€ app/ โ”‚ โ”‚ โ”œโ”€โ”€ modules/ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ passports/ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ users/ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ schemas/ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ validators/ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ users_controller.py โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ users_service.py โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ users_repo.py โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ users_middleware.py

Features

modular-architecturedesign-patternscode-quality-toolsasync-supportenvironment-configurationmiddleware-supportschema-validationrepository-patternservice-layercontroller-layer

Feature Flags

formsValidation

Recommended Use Cases

rest-api-developmentproduction-ready-applicationsscalable-backend-servicesmicroservices

Frontend

None

Backend

fastapipythonuvicorn

Auth Providers

None

Deployment Targets

None

Payment Providers

None

Quick Facts

โญ Stars
0
๐Ÿด Forks
0
๐Ÿ”„ Active
Unknown

Stack

Framework
fastapi
Language
python
Testing
pytest

Data Layer

UI Stack

Developer Experience

Docker
No
Tests
Yes
Quickstart
Yes
env.example
Yes

Pricing

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