Interview task describing creation of REST API
-
Run tests In order to run tests, run:
make run-tests
This will, firstly, build test image, and then run app tests with pytest.
-
Run local development server In order to run local development server, run command:
docker-compose -f ./docker/docker-compose.yml up --build
Then just nagivate to http://localhost/swagger to view SwaggerUI docs
On every push to any branch, CircleCI build is triggered. The build executes tests using test docker container.
CircleCI badge for master
branch build is available to view on top of readme.