Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thepabloaguilar/clean-architecture-python
https://github.com/thepabloaguilar/clean-architecture-python
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/thepabloaguilar/clean-architecture-python
- Owner: thepabloaguilar
- Created: 2020-03-28T16:49:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-20T03:11:17.000Z (over 3 years ago)
- Last Synced: 2024-10-04T13:57:01.921Z (about 2 months ago)
- Language: Python
- Size: 11.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Clean Architecture Python
This example is heavily inspired by:
[clean-architecture-example By Mattia Battiston](https://github.com/mattia-battiston/clean-architecture-example)
[Enforcing SRP By Sobolevn](https://sobolevn.me/2019/03/enforcing-srp)
## Run project
```shell
git clone https://github.com/phakiller/clean-architecture-python
cd clean-architecture-python
pipenv install
```#### With Flask
```shell
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](https://github.com/dry-python/mappers/blob/master/docs/index.md) to translate Domain to Model objects and vice versa, instead create **to_entity(...)** method in Model classes
- [ ] Write more unit tests