- Docker Compose Cli Plugin
make
make run
make test
Use docker-compose.override.yml
to override compose settings locally.
- The database listens on host port 5454 by default and 5432 in docker network
- The api server listens on port 8000 by default
- The admin server listens on port 8001 by default
- The pywine server listens on port 8002 by default
- The frontend server listens on port 3000 by default
- Frontend: http://localhost:3000/
- API: http://localhost:8000/
- Admin: http://localhost:8001/
Accessing the API application root URL (/
) launches Swagger UI.
Swagger UI lists all public endpoints by default. In order to list all available endpoints you need to login using the
"Authorize" button. Just drop a valid token from the token endpoint with the prefix "Bearer" into the input field.
For example:
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NjU4Njg0NTQsIm9yaWdfaWF0IjoxNTY1NzgyMDU0LCJ1c2VyX2lkIjoxLCJvcmdhX2lkIjoyLCJlbWFpbCI6ImJ1ZXR0Z2VuYmFjaEBkYXRhY29sbGVjdC5jb20iLCJpc19zdXBlcnVzZXIiOnRydWUsImlzX2Rpc3RyaWJ1dG9yIjp0cnVlLCJ0eiI6IkV1cm9wZS9CZXJsaW4ifQ.5S71Wauol5uNou2I2HxkeOunGP8ro_8X7h2_NNJO1Ck
There are several environment variables to control the application behaviour.
@TODO: Create complete list of existing environment variables.
@TODO: coding conventions for python projects
@TODO: coding conventions for Django projects
@TODO: coding conventions for DRF projects