A full-stack coupon marketplace built with Django where users can buy discounted coupons and sell their unused ones β turning expired deals into real savings.
Live Demo Β· Report Bug Β· Request Feature
Every year, billions of rupees worth of coupons go unused across India. Think about it:
- You get a Zomato 50% off coupon but you prefer Swiggy β it expires worthless
- Your friend has a Nike 40% off code but doesn't need shoes β wasted
- Brands like Amazon, Flipkart, and MakeMyTrip send discount codes that sit in inboxes until they expire
- Credit card companies bundle coupons that most cardholders never redeem
Meanwhile, someone out there is about to buy the exact product at full price β not knowing a discount exists.
The result? Consumers lose money. Brands lose conversions. Everyone loses.
Coupon Bazaar fixes this by creating a marketplace where:
- Sellers list their unused coupons and earn money instead of letting them expire
- Buyers get verified discount codes at a fraction of the original price
- Everyone saves β the seller earns, the buyer saves, and no coupon goes to waste
It's the OLX for coupons β simple, peer-to-peer, and built for India.
Browse deals across Fashion, Food, Electronics, Travel, Shopping, and more.
Real users sharing their savings experience.
Full catalog with category filtering, search, discount badges, and deal cards.
- Coupon Catalog β Browse coupons across 8 categories with live search and filtering
- Category Filtering β Fashion, Food, Electronics, Travel, Shopping, Shoes, Clothing, Zomato/Swiggy
- Coupon Detail Pages β View full details, copy coupon codes, share deals
- Discount Calculation β Auto-calculated discount percentages on every coupon
- Admin Dashboard β Django admin panel to manage all coupons, categories, and users
- Responsive Design β Fully responsive UI with animations, particles, and smooth transitions
- Search β Client-side instant search across all coupon listings
| Layer | Technology |
|---|---|
| Backend | Django 4.2, Python 3.x |
| Frontend | HTML5, CSS3, Bootstrap 5.3, JavaScript |
| Database | SQLite (dev) / PostgreSQL (prod-ready) |
| Images | Pillow for image processing |
| Fonts | Inter, Playfair Display (Google Fonts) |
| Icons | Font Awesome 6 |
Coupon-Bazaar/
βββ ec/ # Django project settings
β βββ settings.py # Configuration with dotenv
β βββ urls.py # Root URL routing
β βββ wsgi.py
βββ app/ # Main application
β βββ models.py # Product/Coupon model with 8 categories
β βββ views.py # Home, Browse, Category, Detail, About, Contact
β βββ urls.py # App URL patterns
β βββ admin.py # Admin configuration
β βββ templates/app/ # All HTML templates
β β βββ base.html # Base layout (navbar, footer, CSS system)
β β βββ home.html # Landing page with hero, categories, stats
β β βββ browse.html # Coupon catalog with sidebar filters
β β βββ coupon_detail.html # Individual coupon page
β β βββ about.html # About page
β β βββ contact.html # Contact page
β βββ static/app/ # Static assets (CSS, JS, images)
β βββ css/
β βββ js/
β βββ images/ # Banner and product images
βββ media/ # Uploaded coupon images
βββ screenshots/ # README screenshots
βββ .env.example # Environment variables template
βββ .gitignore
βββ requirements.txt
βββ manage.py
- Python 3.10+
- pip
-
Clone the repository
git clone https://github.com/sidd707/Coupon-Bazaar.git cd Coupon-Bazaar -
Create virtual environment
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies
pip install -r requirements.txt
-
Set up environment variables
cp .env.example .env
-
Run migrations
python manage.py migrate
-
Create superuser (to add coupons via admin)
python manage.py createsuperuser
-
Start the server
python manage.py runserver
-
Open in browser
http://127.0.0.1:8000/Add coupons via admin panel:
http://127.0.0.1:8000/admin/
| Variable | Description |
|---|---|
DJANGO_SECRET_KEY |
Django secret key for cryptographic signing |
DEBUG |
Debug mode (True for development) |
ALLOWED_HOSTS |
Comma-separated list of allowed hosts |
βββββββββββββββ ββββββββββββββββ βββββββββββββββ
β Seller β β Coupon β β Buyer β
β has unused ββββββΆβ Bazaar βββββββ wants a β
β coupon β β marketplace β β deal β
βββββββββββββββ ββββββββββββββββ βββββββββββββββ
β β β
Lists coupon Connects both Buys coupon
earns money sides safely saves money
Siddharth Patel β Full-Stack Developer
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Distributed under the MIT License.
Built with Django & Bootstrap Β· Every coupon saved is money earned.



