SahaYog is a Next.js platform that allows individual users to receive financial support directly from their community. With RazorPay integration, SahYog makes it easy for supporters to donate and for creators to manage their donations.
- Personal User Profiles: Customizable pages for users to showcase their projects and receive support.
- GitHub OAuth Authentication: Secure authentication via GitHub to manage user access.
- Effortless Transactions: Razorpay integration allows seamless payments on the SahYog website.
- Donation Leaderboard: Based on the amount which the supporters pay, they are ranked in the profile of individual creators.
- Framework: Next.js
- Authentication: NextAuth.js with GitHub OAuth
- Payment Processing: Razorpay
- Styling: Tailwind CSS
- Database: MongoDB (or any other database of your choice)
- Deployment: Vercel (or any other platform of your choice)
To set up SahaYog, follow these steps:
-
Clone the Repository:
git clone https://github.com/T1A0R3S2H/SahaYog.git cd Sahayog
-
Install Dependencies:
npm install
-
Set Up Environment Variables: Create a
.env.local
file in the root directory and add your environment variables. For example:NEXTAUTH_URL=http://localhost:3000 GITHUB_CLIENT_ID=your_github_client_id GITHUB_CLIENT_SECRET=your_github_client_secret
-
Run the Development Server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
Once the development server is running, you can start using SahYog:
-
Sign Up via GitHub:
- Click the "Login" or "Start Now" button to authenticate using your GitHub account. โ๏ธ
-
Customize Your Profile:
- After logging in, access the dashboard to personalize your profile page with name, username, email, profile picture, cover picture, and do not forget to provide your Razorpay ID and SECRET to receive payments. ๐๏ธ
-
Manage Donations:
- Use the profile page to track donations and engage with your supporters. ๐
I welcome contributions from the community! To contribute to SahYog, please follow these steps:
-
Fork the Repository: Click the "Fork" button at the top of the repository page to create your own copy of the repo. ๐ด
-
Clone Your Fork:
git clone https://github.com/T1A0R3S2H/SahaYog.git cd Sahayog
-
Create a Branch:
git checkout -b feature-name
-
Make Your Changes:
- Implement your feature or bug fix. ๐ ๏ธ
-
Commit and Push:
git add . git commit -m "Describe your changes" git push origin feature-name
-
Create a Pull Request:
- Open a pull request on the original repository and describe your changes. ๐
Made with โค๏ธ using Next.js.