Use Django REST Framework to create an API, then “containerize” it with Docker. +PSQL
- Python 3.9.5
- Django 4.0.4
- Docker 20.10.12
- PostgreSQL 11
Open Console in Main Project Directory.
python manage.py runserver
username = admin
password = 0000
check carefully the links in the browser
docker-compose up
you can run docker on localhost:8000
or 127.0.0.0:8000
python manage.py test