Skip to content

A community-driven platform where users share and discover online coupons to maximize savings and minimize waste. Contribute, access deals, and make every purchase count! πŸ’°βœ¨

Notifications You must be signed in to change notification settings

Joyal-George-KJ/CouponShare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧾 CouponShare - Save More, Share More!

A community-driven platform for sharing and discovering the best online coupons. πŸ’Έ
Built with πŸ’™ using React + Appwrite + Tailwind CSS

CouponShare Preview


πŸ”— Live Demo

🌐 couponshare.joyalgeorgekj.com


πŸ“ Project Structure

.
β”œβ”€β”€ public/
β”‚   └── logo.png
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   β”œβ”€β”€ Home.jsx
β”‚   β”‚   β”œβ”€β”€ About.jsx
β”‚   β”‚   β”œβ”€β”€ Settings.jsx
β”‚   β”‚   β”œβ”€β”€ Terms.jsx
β”‚   β”‚   β”œβ”€β”€ Privacy.jsx
β”‚   β”‚   β”œβ”€β”€ NotFound.jsx
β”‚   β”œβ”€β”€ routes/
β”‚   └── App.jsx
β”œβ”€β”€ vercel.json
└── README.md

πŸš€ Tech Stack

Tool Usage
React JS Frontend Library
Vite Fast bundling & dev server
Tailwind CSS Styling with dark/light theme
Redux Toolkit Global state management
Appwrite Auth, DB, Functions, Realtime
Lucide Icons Modern icon pack
React Router DOM Page routing

🌐 Available Routes

Path Description
/ Home Page
/about About Page
/settings User Settings
/privacy Privacy Policy
/terms Terms and Conditions
/stores View all coupons
* 404 - Not Found

🧠 Database Design (Appwrite)

Users Collection

Field Type Description
uid string Appwrite user ID
email string User email
name string Display name
avatar string Profile picture

Coupons Collection

Field Type Description
title string Coupon title
description string Description of the coupon
tags string[] Relevant tags
code string Coupon code (optional)
redirect string Redirect URL (optional)
userId string User who submitted the coupon

🧭 App Workflow

  1. User Authentication β€” via Google OAuth (Appwrite)
  2. Create & Share Coupons β€” input title, description, tags, and optionally a code/redirect
  3. Community Discovery β€” users browse and copy active deals
  4. Settings & Privacy β€” users can control preferences or delete account
  5. Error Handling β€” beautiful error pages with animations
  6. SEO & Accessibility β€” optimized for web crawlers and users

🎯 Features

  • πŸ”’ Secure login via Appwrite OAuth
  • πŸ’¬ Add, update, and discover coupons in real-time
  • 🎨 Dark/Light mode with Tailwind
  • πŸ”” Toast notifications and alerts
  • βœ… Responsive & Mobile Friendly
  • ⚑️ Optimized for SEO and fast load time
  • 🀝 Community-first & open-source

πŸ›  Environment Variables

Rename .env.example to .env and add the following:

VITE_APPWRITE_PROJECT_ID=your_project_id
VITE_APPWRITE_REDIRECT_URL=https://appwrite.yourdomain.com
VITE_APPWRITE_DATABASE_ID=your_database_id

πŸ“Έ Preview

Profile Page


🌱 Contributing

We welcome contributions from everyone!
Help improve CouponShare or suggest features β€” open an issue or fork this repo!

git clone https://github.com/your-username/couponshare.git
cd couponshare
npm install
npm run dev

πŸ”– Things you could help with:

  • Better coupon sorting or tag filtering
  • Report Coupons and Admin Notifying
  • Adding markdown support to coupon descriptions
  • Notification system or chat
  • Admin dashboard & spam control
  • Extension for easy apply of coupons in sites

πŸ“ƒ License

MIT Β© Joyal George K J


✨ Support

If you like this project, please consider starring ⭐ the repo or sharing it with your friends!
You can also donate via the built-in Donation button in the app ❀️

About

A community-driven platform where users share and discover online coupons to maximize savings and minimize waste. Contribute, access deals, and make every purchase count! πŸ’°βœ¨

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published