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 |
For more details, please check the official documentation
This project is licensed by the terms of the MIT license
