Skip to content

fastapi-practices/fastapi-best-architecture

Repository files navigation

The logo includes the abstract combination of the three letters FBA, forming a lightning bolt that seems to spread out from the ground

FastAPI Best Architecture

Enterprise-level backend architecture solution

English | 简体中文

GitHub Python MySQL PostgreSQL SQLAlchemy Pydantic v2 Ruff uv Docker Discord Discord Ask DeepWiki

Three-tier architecture

The MVC architecture is common in Python Web as a general design pattern, but the three-tier architecture is more fascinating

However, please note that we do not have a traditional multi-app (microservices) directory structure (django, springBoot...). ), but a self-righteous directory structure that you can give it any twist if you don't like this model!

workflow java fastapi_best_architecture
view controller api
data transmit dto schema
business logic service + impl service
data access dao / mapper crud
model model / entity model

Help

For more details, please check the official documentation

Contributors

Special thanks

Interactivity

Discord

License

This project is licensed by the terms of the MIT license

Stargazers over time

About

Enterprise-level backend architecture solution with fastapi、sqlalchemy,、celery、pydantic、grafana、docker...

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

Contributors

Languages