Note: To run the application it is enough that only the docker compose
tool is installed on the system. There is no need to install dependencies manually, the whole project will be automatically assembled and run inside the docker container.
-
Start the stack with Docker Compose:
docker compose up --build backend
-
Now you can open your browser and interact with these URLs:
-
Automatic interactive documentation with Swagger UI (from the OpenAPI): http://localhost:8000/docs
-
Alternative automatic documentation with ReDoc (from the OpenAPI): http://localhost:8000/redoc
Note: The first time you start your stack, it might take a minute for it to be ready.
To check the logs, run:
docker compose logs backend
Once the docker container is successfully launched, you can make requests to the API endpoints of the application on the port 8000.
All endpoints are fully meet the requirements of the task.
Detailed examples of requests can be found in the ./examples/
directory.