A Django-based E-commerce project with user management, product listings, orders, and reviews.
- Installation
- Configuration
- Run the Development Server
- Run Tests
- API Documentation
- Contributing
- License
-
Clone the Repository:
git clone https://github.com/your-username/ecommerce-project.git cd ecommerce-project
-
Create a Virtual Environment:
python -m venv venv
-
Activate the Virtual Environment:
-
Windows:
venv\Scripts\activate
-
Linux/Mac:
source venv/bin/activate
-
Install Dependencies:
pip install -r requirements.txt
-
Database Migration:
python manage.py makemigrations python manage.py migrate
-
Project Clone & Run the Development Server:
# Python version 3.xx git clone https://github.com/shoumitro-cse/ecommerce_project.git cd ecommerce-project python -m venv venv source ./venv/bin/activate pip install -r requirements/dev.txt python manage.py makemigrations python manage.py migrate python manage.py runserver
-
**Installation (using Docker Compose): **
git clone https://github.com/shoumitro-cse/ecommerce_project.git cd ecommerce-project docker-compose up --build -d # or docker-compose up --build # username & password username: admin@gmail.com password: 1111
python manage.py test
go to ---> http://localhost:8000/api/docs/