TruVoice - Where your identity remains a secret. Now with the power of AI.
TruVoice is an innovative platform designed to allow users to give and receive anonymous feedback. With the integration of AI, users can generate thoughtful and constructive feedback easily. Whether authenticated or not, users can provide feedback securely and anonymously.
- Anonymous Feedback: Receive feedback from others while keeping your identity secret.
- Email Authentication: Authenticate via email using OTP for secure feedback receipt.
- AI-Generated Feedback: Use Gemini AI to generate feedback messages.
- Cross-Platform: Fully responsive design for both desktop and mobile devices.
TruVoice is built using the following technologies:
- Frontend: Next.js, ShadCN
- Backend: Next.js API routes
- Database: MongoDB
- Authentication: Next-Auth, Auth.js, JWT tokens
- Validation: Zod
- Email Services: Nodemailer, Gmail API
- AI Integration: Gemini AI
To get a local copy up and running, follow these simple steps:
-
Clone the repo
git clone https://github.com/Kirtan134/TruVoice.git
-
Install NPM packages
npm install
-
Set up environment variables
- Create a
.env
file in the root directory - Add your MONGODB_URI, NEXTAUTH_SECRET, GEMINI_API_KEY, CLIENT_ID, CLIENT_SECRET, REDIRECT_URI, REFRESH_TOKEN and other necessary credentials
- Create a
-
Run the development server
npm run dev
-
Authentication:
- Sign up with your email.
- Verify your email using the OTP sent to your inbox.
-
Giving Feedback:
- Choose to authenticate or give feedback anonymously.
- Use Gemini AI to generate feedback messages if needed.
- Submit your feedback.
-
Receiving Feedback:
- Receive feedback anonymously.
- Manage your feedback through the user dashboard.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- 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
Distributed under the MIT License. See LICENSE
for more information.