Use Django REST Framework to create an API with simple Jwt Authentication
- 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 = abc123
check carefully the links in the browser
docker-compose up -d
docker-compose runweb <followed by your command>
you can run docker on localhost:8000
or 127.0.0.0:8000
python manage.py test