A beginner-friendly eCommerce platform built with Django. This project helps you learn core Django concepts such as views, models, templates, routing, and user sessions by simulating an online shopping experience.
- 🏠 Home Page with product listings
- 🔍 Product detail view
- ➕ Add to cart / 🗑 Remove from cart
- 💰 Checkout simulation (no payment gateway)
- 🔐 Admin panel to manage products
- 🎨 Basic frontend using HTML & CSS
- Backend: Django
- Frontend: HTML, CSS
- Database: SQLite (Django default)
QuickCart-Django-Ecommerce-App/
│
├── quickcart/ # Main Django project
├── store/ # Store app (views, models, urls)
├── templates/ # HTML templates
├── static/ # CSS, JS, Images
├── .env # Secret key and config (not tracked)
├── manage.py
└── requirements.txt
git clone https://github.com/cybernova2/QuickCart-Django-Ecommerce-App.git
cd QuickCart-Django-Ecommerce-Apppython -m venv myenv
myenv\Scripts\activate # On Windows
# OR
source myenv/bin/activate # On Mac/Linuxpip install -r requirements.txtCreate a .env file in the project root and add:
SECRET_KEY=your-django-secret-key-here
DEBUG=True
Update settings.py like this:
from decouple import config
SECRET_KEY = config("SECRET_KEY")
DEBUG = config("DEBUG", cast=bool)python manage.py makemigrations
python manage.py migratepython manage.py createsuperuserpython manage.py runserverVisit: http://127.0.0.1:8000
Access: http://127.0.0.1:8000/admin
Make sure to register all models (e.g., Product, Customer, Order) in store/admin.py to manage them from the admin panel.
To test functionality:
- Add products using the admin panel.
- Try adding/removing items from cart.
- Check cart total and checkout flow.