Discount PRO is a full-stack coupon aggregation platform that helps Bangladeshi shoppers discover, save, and apply discount codes from top e-commerce stores β all in one place. Built with a focus on performance, clean UX, and secure authentication.
π Live Site: https://effervescent-profiterole-63765b.netlify.app/
| Feature | Description |
|---|---|
| π Authentication | Email/password & Google Sign-In via Firebase |
| πͺ Browse Coupons | Explore deals from multiple Bangladeshi e-commerce stores |
| π One-Click Copy | Instantly copy coupon codes at checkout |
| π Favorites | Save, manage, and revisit preferred coupons |
| π Category Filter | Filter by electronics, fashion, and more |
| β±οΈ Real-Time Updates | Always shows the latest codes and expiry dates |
| π Private Routes | Authenticated-only access to sensitive pages |
| π« Custom 404 | Friendly error page for invalid routes |
discount-pro/
βββ public/
β βββ index.html
βββ src/
β βββ components/ # Reusable UI components
β βββ pages/ # Home, CouponDetails, Login, Signup, Favorites, 404
β βββ context/ # Auth context (Firebase)
β βββ hooks/ # Custom React hooks
β βββ routes/ # Protected & public routes
β βββ App.jsx
βββ .env # Firebase config (not committed)
βββ package.json
- Node.js
v18+ - npm or yarn
- Firebase project with Authentication enabled
# 1. Clone the repository
git clone https://github.com/DKAbir111/discount-pro.git
# 2. Navigate into the project
cd discount-pro
# 3. Install dependencies
npm install
# 4. Add your Firebase config to .env
cp .env.example .env
# Fill in your Firebase credentials
# 5. Start the development server
npm startApp runs at http://localhost:3000
Create a .env file in the root with:
REACT_APP_FIREBASE_API_KEY=your_api_key
REACT_APP_FIREBASE_AUTH_DOMAIN=your_auth_domain
REACT_APP_FIREBASE_PROJECT_ID=your_project_id
REACT_APP_FIREBASE_STORAGE_BUCKET=your_storage_bucket
REACT_APP_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
REACT_APP_FIREBASE_APP_ID=your_app_id- π Home β Featured coupons, category sidebar, responsive coupon grid
- π·οΈ Coupon Details β Full discount info, expiry date, copy-code button
- π Favorites β Manage saved coupons
- π Login / Register β Email & Google auth with password recovery
- β 404 Page β Clean error handling for unknown routes
- Advanced filters (expiry date, minimum discount %)
- Email alerts for new & expiring coupons
- User coupon rating & review system
- Admin panel for coupon management
- OAuth expansion (Facebook, Twitter)
Darun Karas Abir
β If this project helped you or impressed you, please give it a star! β
Built with β€οΈ in Bangladesh
