Skip to content

sidd707/Coupon-Bazaar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Coupon Bazaar

Buy & Sell Unused Coupons β€” Save Smart, Waste Nothing

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


Hero

The Problem

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.

Screenshots

Shop by Category & Stats

Browse deals across Fashion, Food, Electronics, Travel, Shopping, and more.

Categories

Testimonials & CTA

Real users sharing their savings experience.

Testimonials

Browse Coupons

Full catalog with category filtering, search, discount badges, and deal cards.

Browse

Features

  • 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

Tech Stack

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

Project Structure

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

Getting Started

Prerequisites

  • Python 3.10+
  • pip

Installation

  1. Clone the repository

    git clone https://github.com/sidd707/Coupon-Bazaar.git
    cd Coupon-Bazaar
  2. Create virtual environment

    python -m venv venv
    source venv/bin/activate   # On Windows: venv\Scripts\activate
  3. Install dependencies

    pip install -r requirements.txt
  4. Set up environment variables

    cp .env.example .env
  5. Run migrations

    python manage.py migrate
  6. Create superuser (to add coupons via admin)

    python manage.py createsuperuser
  7. Start the server

    python manage.py runserver
  8. Open in browser

    http://127.0.0.1:8000/
    

    Add coupons via admin panel: http://127.0.0.1:8000/admin/

Environment Variables

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

How It Works

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Seller     β”‚     β”‚   Coupon     β”‚     β”‚   Buyer     β”‚
β”‚  has unused  │────▢│   Bazaar    │◀────│  wants a    β”‚
β”‚   coupon     β”‚     β”‚  marketplace β”‚     β”‚   deal      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚                    β”‚                    β”‚
   Lists coupon        Connects both         Buys coupon
   earns money         sides safely         saves money

Author

Siddharth Patel β€” Full-Stack Developer

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

Distributed under the MIT License.


Built with Django & Bootstrap Β· Every coupon saved is money earned.

About

"🎟️ CouponBazaar: Transform unused coupons into savings! Django-powered platform for buying and selling spare discounts. Maximize savings, reduce waste, and contribute to a sustainable shopping experience. Join us in redefining couponing! πŸ’ΈπŸŒ #OpenSource #Django #Coupons"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors