An ecommerce website built with django, bootstrap and HTMX with a focus on basic Django & HTMX capabiltiies. With features such a filtering products, sorting products, shopping cart, rating,unlimited scrolling,event based toast messages with htmx, reviews, basic query managers and some basic unit tests.
- Install docker & docker-compose
- run
docker-compose -f docker-compose-dev.yaml up --buildin root folder - view website on localhost:8000
- Install dependencies from requirements.txt in backend folder with
pip install requirements.txt - Run
python manage.py runserverin backend folder - View website on localhost:8000
Run the below commands inside backend folder
- Run
python manage.py createcategories 10to create 10 test categories - Run
python manage.py createproducts 100to create 100 test products - Run
python manage.py createreviews 500to create 500 test reviews - Run
python manage.py testto run tests - Run
python manage.py createsuperuserto create an admin user
