/cookie-stand-api

A Django/DRF powered project with all the fixins we end up using in class

Primary LanguagePython

Lab: 34 - Back End Deployment

Django REST Framework deployed on heroku with docker containers

Author: Ammar Abul-Feilat

overview

Use Django REST Framework to create an API with simple Jwt Authentication

Architecture

Python 3.9.5 Django 4.0.4 Docker 20.10.12 PostgreSQL 11

Run the Project

Open Console in Main Project Directory.

link to the site
https://cookiee-stands.herokuapp.com/

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