watch the demo youtube
-
build the docker containers:
docker compose build
-
run the containers in detached mode:
docker compose up -d
-
recreate the database:
docker compose exec api python manage.py recreate_db
-
visit
http://localhost:5000/api/v1/docs
to create, read, update and delete movies -
stop the containers:
docker compose down
-
build and run the containers:
docker compose build && docker compose up -d
-
execute the test suite:
docker compose exec api python -m pytest "app/tests" -p no:warnings --cov="app"