A modern crowdfunding platform for creators, artists, developers, and content makers. Get Me A Chai enables fans and followers to support creators directly through secure payment processing.
- Custom User Profiles: Create unique profiles with custom usernames, profile pictures, and cover images
- Secure Payment Processing: Integrated with Razorpay for seamless and secure payment transactions
- Supporter Leaderboard: Display top supporters with a leaderboard showing all contributions
- Personal Messages: Supporters can leave personal messages with their contributions
- OAuth Authentication: Sign in with Google or GitHub
- Responsive Design: Fully responsive design optimized for mobile, tablet, and desktop devices
- Real-time Payment Verification: Secure payment verification and status updates
- Next.js 16 - React framework with App Router
- React 19 - UI library
- Tailwind CSS 4 - Utility-first CSS framework
- React Toastify - Toast notifications
- Next.js API Routes - Server-side API endpoints
- MongoDB - Database (via Mongoose)
- NextAuth.js - Authentication (GitHub OAuth)
- Razorpay - Payment gateway integration
git clone <your-repo-url>
cd get-me-a-chainpm installCreate a .env file in the root directory and add the following variables:
# MongoDB
MONGODB_URI=your_mongodb_connection_string
# Google OAuth
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
# GitHub OAuth
GITHUB_ID=your_github_client_id
GITHUB_SECRET=your_github_client_secret
# NextAuth
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your_nextauth_secret
# Application URLs
NEXT_PUBLIC_URL=http://localhost:3000npm run devOpen http://localhost:3000 in your browser to see the application.
- Create a Razorpay account at razorpay.com
- Get your API keys from the Razorpay Dashboard
- Users need to add their Razorpay credentials in the dashboard to receive payments
- Go to Google Cloud Console
- Create a new project or select an existing one
- Enable Google+ API
- Create OAuth 2.0 credentials
- Add authorized redirect URI:
http://localhost:3000/api/auth/callback/google - Copy Client ID and Client Secret to
.env
- Go to GitHub Settings > Developer settings > OAuth Apps
- Create a new OAuth App
- Set Authorization callback URL:
http://localhost:3000/api/auth/callback/github - Copy Client ID and Client Secret to
.env
- Sign Up: Sign in with Google or GitHub
- Configure Profile: Go to Dashboard and add:
- Your name and profile details
- Profile picture URL
- Cover picture URL
- Razorpay Key ID and Secret (to receive payments)
- Share Your Link: Share your profile link (
/your-username) with your audience - Receive Support: Your supporters can now contribute to your work
- Visit a creator's profile page
- Enter your name and a message
- Choose an amount or enter a custom amount
- Complete the payment via Razorpay
- Your contribution will appear on the creator's supporter leaderboard
Contributions are welcomed....