Skip to content

lucassus/python-ddd-sandbox

Repository files navigation

Python Clean Architecture and Domain Driven Development sandbox app

Preparing and running the app

  • Use asdf to manage Python versions
  • 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": "[email protected]", "password": "passwdowrd"}' --silent
curl http://localhost:8000/api/projects/1/tasks --silent | jq

Other useful commands

  • pip list --outdated
  • libyear -r requirements.txt --sort

Books that inspired me to create this project

Other valuable resources