StudentDiscount is a web application that offers exclusive discounts to students in Pakistan, similar to UniDays. The platform connects students with merchants offering discounts, making it easy to save money while studying.
- Redeem Discounts: Generate unique codes to redeem at participating merchants
- Authentication: Sign in with email/password, Apple ID, or Google
- Wishlist: Save favorite discounts for later
- Profile: Track savings and manage account details
- Search: Find discounts by merchant, category, or keywords
- Dashboard & Analytics: Track redemptions and engagement
- Discount Listing Creator: Easily create and publish new discount offerings
- Redemption Verification: Verify and validate student discount codes
- Listing Management: Manage active, upcoming, and expired listings
- Frontend: React.js with Next.js
- Styling: Tailwind CSS
- Charts: Chart.js with react-chartjs-2
- UI Components: Headless UI, Heroicons
- Forms: React Hook Form
- Node.js 14.x or later
- npm or yarn
- Clone the repository
git clone https://github.com/yourusername/studentdiscount.git
cd studentdiscount- Install dependencies
npm install
# or
yarn install- Run the development server
npm run dev
# or
yarn dev- Open http://localhost:3000 in your browser
npm run build
npm run start
# or
yarn build
yarn startThis project is configured for easy deployment to Netlify using the netlify.toml configuration file.
-
Push your code to a GitHub repository
-
Connect your repository to Netlify:
- Go to Netlify
- Click "New site from Git"
- Select GitHub and authorize Netlify
- Select your repository
- Netlify will automatically detect the build settings from netlify.toml
-
Configure environment variables:
- Add any required environment variables in the Netlify dashboard under Site settings > Build & deploy > Environment
-
Deploy:
- Netlify will automatically deploy your site and provide a URL
- Each push to the main branch will trigger a new deployment
/app- Next.js 14 app directory/components- Reusable UI components/styles- Global CSS styles/utils- Utility functions
/public- Static assets
This project is licensed under the ISC License.