This project provides a basic e-commerce site built with the Django web framework. It includes modules for managing products, a shopping cart, and a minimal payment flow. The default database is SQLite and media files are stored locally.
- Clone the repository
git clone <repo-url> cd Django-Ecommerce
- Create a virtual environment (recommended)
python -m venv venv source venv/bin/activate
- Install dependencies
pip install Django==4.2.7 Pillow
- Apply database migrations
python manage.py migrate
- Create an admin user
python manage.py createsuperuser
- Start the development server
python manage.py runserver
- Open
http://127.0.0.1:8000/
in your browser to view the site.
store/
– product catalog and user profile logiccart/
– shopping cart functionalitypayment/
– simple checkout and order processingecom/
– project configuration and URLs
The templates for each app live under their respective templates/
directories.
The repository includes placeholder test files. Run them with:
python manage.py test
This project is intended as a learning example. You can customize the models and templates to fit your own requirements.