Skip to content

Latest commit

 

History

History
49 lines (25 loc) · 891 Bytes

README.md

File metadata and controls

49 lines (25 loc) · 891 Bytes

Clean Architecture Python

This example is heavily inspired by:

clean-architecture-example By Mattia Battiston

Enforcing SRP By Sobolevn

Run project

git clone https://github.com/phakiller/clean-architecture-python
cd clean-architecture-python
pipenv install

With Flask

export FLASK_APP="$(pwd)/example/boot.py"
flask initdb
flask run

Routes

  • /health/status
  • /broadbandaccessdevice//

Improves

Did you find improvements to make?

Open an Issue or submit your Pull Request

TODO

  • Use mappers to translate Domain to Model objects and vice versa, instead create to_entity(...) method in Model classes
  • Write more unit tests