Example of a Python application using Domain-Driven Design keeping the structure as simple as possible.
- Install Docker
- Clone this repository
https://github.com/yulio94/python-ddd-example
- Move to the root project folder:
cd python-ddd-example
- Go to env_variables directory
cd compose/env_variables
- Copy env files like this:
cp db.env.example db.env && cp rabbit.env.example rabbit.env
- Run
docker-compose up --build
- Go to your browser and type
http://localhost:8001
orhttp://localhost:8000