A modern e-commerce website for stationery products built with Django.
- Product Catalog: Browse products by category.
- Shopping Cart: Add products to cart with custom notes.
- Checkout Flow: Simple checkout process with Cash on Delivery (COD).
- Responsive Design: Optimized for both desktop and mobile devices.
- Visuals: Modern UI with glassmorphism header and vibrant design.
- Backend: Django 5.0
- Frontend: HTML5, Vanilla CSS, FontAwesome 6
- Database: SQLite (Default)
-
Clone the repository:
git clone https://github.com/sangle321/stationery-shop cd stationery-shop -
Create and activate a virtual environment:
python -m venv .venv # Windows .venv\Scripts\activate # Linux/macOS source .venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
-
Initialize Database: The project includes a setup script that runs migrations and creates initial categories.
python setup_db.py
-
Run Development Server:
python manage.py runserver
-
Usage:
- Homepage: http://127.0.0.1:8000
- Admin Panel: http://127.0.0.1:8000/admin (Requires creating a superuser via
python manage.py createsuperuser)
MIT