A platform where creators, developers, and artists can receive support from their community through virtual chai (tea) donations. Inspired by "Buy Me A Coffee" but with a desi twist!
Get Me A Chai is a platform that allows creators to receive support from their audience in the form of chai donations. Supporters can send virtual chai to their favorite creators, helping them continue their creative work while fostering a community around the shared love for chai. A modern web application built with Next.js and integrated with Razorpay payment gateway, enabling secure and seamless chai (tea) donations for creators. This platform leverages:
- Next.js - For server-side rendering, optimized performance, and enhanced SEO
- Razorpay - For secure payment processing and transaction management
- TailwindCSS - For responsive and maintainable styling
- Server-side rendering for faster page loads
- Secure payment processing
- Mobile-responsive design
- Real-time transaction updates
- Simple chai donations starting from ₹5 (one cup of chai)
- 👤 Creator profiles with customizable pages
- 💰 Secure payment integration
- 📊 Dashboard for tracking donations
- 💌 Thank you messages to supporters
- 📱 Mobile-responsive design
-
Frontend:
- React.js
- Tailwind CSS
- Redux for state management
-
Backend:
- Node.js
- Express.js
- MongoDB
-
Payment Integration:
- Razorpay/Stripe
-
Authentication:
- Using GitHub
# Clone the repository
git clone https://github.com/Raviast/Get-me-a-chai-project.git
# Navigate to project directory
cd get-me-a-chai
# Install dependencies for backend
npm install
## Usage
# Run the project
npm run dev
# Build production
npm run buildCreate a .env file in the root directory with the following variables:
# Server Configuration
PORT=3000
NODE_ENV=development
GITHUB_ID = XXXXXXXXX
GITHUB_SECRET = xxxxxxxxxx
NEXT_PUBLIC_KEY_ID = XXXXXXXXXX
KEY_SECRET = XXXXXXXXXX
NEXT_PUBLIC_URL = http://localhost:3000
NEXT_AUTH_URL = http://localhost:3000
NEXT_AUTH_SECRET = xxxxxxx
# process.env.MONGO_URI
# Database
MONGODB_URI=your_mongodb_connection_string
# Payment Gateway
RAZORPAY_KEY_ID=your_razorpay_key_id
RAZORPAY_KEY_SECRET=your_razorpay_secret_key
-
POST /api/auth/route.js - Register new user
-
POST /api/auth/route.js - User login
-
GET /api/auth/logout - User logout
-
GET /api/profile/:username - Get creator profile
-
PUT /api/profile/update - Update profile
-
POST /api/auth/route - Create new donation
-
GET /api/donations/route - Get donation history
We welcome contributions! Please follow these steps:
-
Fork the repository
-
Create your feature branch
git checkout -b feature/AmazingFeature -
Commit your changes (
git commit -m 'Add some AmazingFeature') -
Push to the branch (
git push origin feature/AmazingFeature) -
Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
-
Inspired by Buy Me A Coffee
-
Thanks to all contributors and supporters
Made with ❤️ and lots of chai ☕️