Backend DRF that manages user ads
Running as docker containers
docker-compose build
docker-compose up -d
docker-compose exec app bash
python manage.py createsuperuser
login using this link: http://localhost:8000/admin/login/
$ docker-compose run --rm app pytest
or, to run a single test:
docker-compose run --rm app pytest -q -s tests/test_api.py
to see test coverage report:
docker-compose exec app bash
py.test --cov=app tests/