mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-23 21:38:09 +00:00
3.5 KiB
3.5 KiB
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
License
This project is licensed by the terms of the MIT license
