If you added a new package, force build:
docker-compose up --build
else:
docker-compose up
docker-compose down
-
Adjust your models
-
Create migrations:
docker-compose exec web python manage.py makemigrations
-
Migrate:
docker-compose exec web python manage.py migrate
-
Create superuser:
docker-compose exec web python manage.py createsuperuser
http://localhost:8000/api/v1
If you plan to have multiple apps in this project, maybe create a dedicated "api" app that hosts all other API url routes