Dealio is a responsive and dynamic coupon-collection web app where users can browse, save, and reveal curated discount codes across categories like Food, Fashion, Electronics, Travel, and more. Built with React, Firebase Authentication, Framer Motion, and Tailwind CSS.
Live Site: https://deali0.web.app/
- ✅ Responsive layout with animated 3D coupon cards (Framer Motion)
- ✨ Spotlight buttons and hover effects inspired by hover.dev
- ⛔ Login-gated access to coupon codes
- 🎉 Copy-to-clipboard coupon reveal with animation and confirmation
- 🔢 Category-wise filtering with context API
- 🏠 User dashboard with profile update and saved coupons
- ✨ Save/unsave feature with persistent localStorage logic
- 🕐 Sticky sidebar filters and scroll-to-top bounce button
- ⚡ Firebase Auth (email/password) and Firebase Hosting deployment-ready
- Frontend: React, Tailwind CSS, DaisyUI
- Animation: Framer Motion
- Routing: React Router DOM
- Auth: Firebase Authentication
- Hosting: Firebase Hosting
- Home page with banner swiper and featured deals
- Coupons page with sidebar filter
- Saved coupons page
- Auth (Signup / Login)
- Dashboard with user profile info and update form
- View-only coupon code component after login
- Install Firebase CLI:
npm install -g firebase-tools
- Login & init:
firebase login
firebase init
- Choose Hosting, build directory:
dist
orbuild
- Deploy:
npm run build
firebase deploy
- Go to Firebase Console > Hosting > Add Custom Domain
- Follow DNS verification steps (TXT + A/AAAA records)
- Firebase will handle SSL (HTTPS) automatically
- Clone the repo
git clone https://github.com/your-username/dealio.git
cd dealio
- Install dependencies
npm install
- Add Firebase config in
firebase.config.js
// Example
const firebaseConfig = {
apiKey: "...",
authDomain: "...",
projectId: "...",
...
};
- Run locally
npm run dev
/src
/components // Reusable UI components
/pages // Page-level views (Coupons, Dashboard, Auth)
/sub // Smaller subcomponents
/provider // AuthContext
/utils // LocalStorage, SavedContext
/main // Route wrappers, context sharing
- Social login (Google, GitHub)
- Firestore user profiles
- Email coupon alerts
- Admin dashboard for adding/editing coupons
- Analytics for coupon usage
Design inspired by hover.dev Built with love & learning during my frontend journey.