A fully functional e-commerce website built with Django.
This project was completed in 2022 as the final project for my Bachelor's degree and was awarded with full grade. It demonstrates comprehensive Django development skills including e-commerce functionality, user authentication, database design, and modern web development practices.
- Product catalog with categories and subcategories
- Shopping cart functionality
- User authentication and accounts
- Order management
- Admin panel for managing products and orders
- Audio (Headphones, Speakers, Gaming Headsets)
- Cameras (Digital Cameras, Action Cameras, DSLR)
- Laptops
- Mac (MacBook Pro)
- Windows (Gaming Laptops, Business Laptops)
- Smartphones
- Android (Flagship, Budget phones)
- iOS (iPhone Pro)
- Wearables (Smart Watches, Fitness Trackers, Smart Rings)
- Python 3.8+ installed on your system
- Git (optional, for cloning)
# Option A: Clone from repository
git clone <repository-url>
cd onlineShop_django
# Option B: If you have the project folder
cd /path/to/onlineShop_django# Create virtual environment
python -m venv .venv
# Activate virtual environment
# On macOS/Linux:
source .venv/bin/activate
# On Windows:
.venv\Scripts\activatepip install -r requirements.txt# Apply migrations
python manage.py migrate
# Load pre-populated data (recommended)
cp db_backup_working_*.sqlite3 db.sqlite3python manage.py runserverOpen your browser and visit: http://127.0.0.1:8000/
If you prefer to start with an empty database:
python manage.py migrate
python manage.py createsuperuser # Create admin account- Port already in use? Try:
python manage.py runserver 8001 - Virtual environment issues? Make sure it's activated (you should see
(.venv)in your terminal) - Missing dependencies? Run
pip install -r requirements.txtagain
shop/- Main shop application with products and categoriesaccounts/- User authentication and profilescart/- Shopping cart functionalityorders/- Order processing and managementmedia/- Product images organized by categorytemplates/- HTML templates
A working database backup is included: db_backup_working_*.sqlite3
This backup contains:
- 5 main categories with subcategories
- 15 products with proper images
- All category relationships configured
See requirements.txt for exact package versions that ensure compatibility.
- All product images are stored in the
media/folder - Categories support hierarchical structure (parent/subcategories)
- Products can belong to multiple categories
- The project uses SQLite for development (easily portable)