Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thepabloaguilar/clean-architecture-python


https://github.com/thepabloaguilar/clean-architecture-python

Last synced: about 1 month ago
JSON representation

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