Demo API for e-commerce. It uses the following technologies:
- Python/Django
- Django Rest Framework
- Docker/Docker Compose
- Postgres
- python3, pip, django
- docker/docker desktop
- Edit ".env.sample" and provide the necessary information and save as ".env"
Open a terminal and type:
docker-compose up
Open docker desktop app dashboard. Go to terminal tab, then run the command:
python manage.py loaddata initial_data.json
- Open docker desktop app dashboard. Go to terminal tab, then run the command:
python manage.py createsuperuser
- Follow the prompt for user name and password
Navigate to: Admin : http://localhost:8000/admin API : http://localhost:8000/api/products/