A full-stack anonymous messaging platform where users can send and receive mystery messages securely. Built with Next.js, Resend, MongoDB, and Gemini AI, this app offers a seamless and interactive user experience.
✅ Send & Receive Anonymous Messages – Stay anonymous while sharing your thoughts
✅ Email Verification – Secured with Resend to verify users
✅ AI Message Suggestions – Powered by Gemini AI
✅ Modern UI – Built with ShadCN for a sleek design
✅ Secure Data Storage – Messages and users are stored in MongoDB
- Frontend: Next.js (App Router) with ShadCN
- Backend: Next.js API Routes (Serverless)
- Database: MongoDB (Mongoose ORM)
- Authentication: Resend for email verification
- AI Features: Gemini AI for message suggestions
-
Clone the repository
git clone https://github.com/vaghmarelazy/Mystry-messages.git cd Mystry-messages
-
Install dependencies
npm install
-
Set up environment variables
Create a.env.local
file and add:MONGODB_URI=your_mongodb_connection_string RESEND_API_KEY=your_resend_api_key GEMINI_API_KEY=your_gemini_ai_key NEXTAUTH_SECRET=your_secret_key
-
Run the development server
npm run dev
Open
http://localhost:3000
in your browser.
- # with your email (verified via Resend).
- Share your unique link with others.
- Receive anonymous messages and get AI-generated responses!
- Add OAuth login (Google, GitHub)
- Message reactions & replies
- User profiles & message history
- End-to-end message encryption
Contributions are welcome! Open an issue or submit a pull request.
MIT License – Feel free to use and modify this project.