mini-eCommerce is a virtual online shop built using the Django framework.
To learn how to use the API, please refer to the mini-eCommerce API documentation.
Here are some screenshots showcasing the main features.
- Django
- Django REST framework
- Bootstrap
- MySQL
Please ensure that you have the following installed on your local machine:
- Python 3.11.8
- MySQL
git clone https://github.com/yanpin0524/mini_ecommerce_app.git
Navigate to the project folder
cd "project path"
pip install -r requirements.txt
poetry install
python manage.py migrate
--number=${number of seed data}
python manage.py seed shop --number=10
python manage.py runserver
please make sure you already have Docker on your local machine
git clone https://github.com/yanpin0524/mini_ecommerce_app.git
Navigate to the project folder
cd "project path"
docker-compose build
docker-compose up -d
Open your browser and go to:
http://localhost:8000/products/
To stop the server, use the following command:
docker-compose down