Truth-Tunnel is a web application that allows users to send and receive messages securely while maintaining anonymity. With a robust login system featuring OTP (One-Time Password) verification, your safety and privacy are our top priority.
- 🔒 Anonymous Identity: Users can communicate without revealing their identity.
- 📧 Secure OTP Login: Verifies user identity via OTP sent to their email.
- 🔐 Encrypted Messaging: Ensures privacy with end-to-end message encryption.
- 💻 Cross-Platform: Accessible on web and mobile devices.
- ✨ User-Friendly Interface: Simple, clean, and intuitive design.
Access the live version of Truth-Tunnel at truth-tunnel.vercel.app.
Truth-Tunnel is built using the following technologies:
- Frontend:
- Next.js
- TailwindCSS
- shadcn
- Backend:
- Node.js
- Express.js
- Database:
- MongoDB
- Security:
- next/auth for authentication
- OTP (One-Time Password) for verification
- bcrypt for password hashing
Before setting up the project, ensure you have the following installed:
- Node.js: Download and install from nodejs.org.
- MongoDB: Set up an account at MongoDB Atlas.
Follow these steps to set up Truth-Tunnel locally:
- Clone the repository:
git clone https://github.com/MitulSonagara/truth-tunnel.git
cd truth-tunnel
- Install dependencies:
npm install
-
Set up environment variables:
Create a .env file in the root directory and configure the following variables:
DATABASE_URL= #Prisma Database url
NEXTAUTH_SECRET= #Any Secret code for next auth secret
EMAIL_PASS= #App password for your email account from which you want to send the email
EMAIL_USER= #Email address from which you want to send the email
NEXTAUTH_URL=http://localhost:3000
GOOGLE_CLIENT_ID= #Your Google client ID
GOOGLE_CLIENT_SECRET= #your Google client secret
- Build the application:
npm run build
- Run the application:
npm start
Contributions are welcome! Follow these steps to contribute:
Fork the repository
Click the "Fork" button at the top-right corner of the repository page to create a personal copy.
Clone your forked repository
git clone https://github.com/your-username/truth-tunnel.git
cd scruter
Create a new branch
git checkout -b feature-branch-name
Add your changes
git add .
Make your changes and commit them
git commit -m 'Add some feature'
Push to the branch
git push origin feature-branch-name
Submit a pull request
Go to the original repository and click on the "Pull Request" button to submit your changes.
Please refer to the Contributing.md file for detailed guidelines on how to contribute to this project.