Python Clean Architecture and Domain Driven Development sandbox app
Preparing and running the app
make venv
make install
make seed
make server-dev
http://localhost:8000/docs http://localhost:8000/api/docs
Linting and testing
make lint
make test
make test-watch
curl http://localhost:8000/api/users -X POST -H "Content-Type: application/json" -d '{"email": "test@email.com", "password": "passwdowrd"}' --silent
curl http://localhost:8000/api/projects/1/tasks --silent | jq
Other useful commands
pip list --outdated
libyear -r requirements.txt
Books that inspired me to create this project
- Architecture Patterns with Python
- Clean Architecture: A Craftsman's Guide to Software Structure and Design
- Domain-Driven Design: Tackling Complexity in the Heart of Software
- Domain-Driven Design Distilled
- Implementing Domain-Driven Design