Anonymous Messaging Web App (Full Stack)
WhisperBox is a modern anonymous messaging platform where users can create an account, share their public profile link, and receive anonymous messages privately.
Built with a clean UI, secure authentication, and a scalable full-stack architecture.
- ✅ User Authentication (Signup / Signin)
- ✅ NextAuth Integration (Credentials + Google Login)
- ✅ Anonymous Message Receiving System
- ✅ User Dashboard
- ✅ Clean UI with Dark Mode Support
- ✅ Toast Notifications (Sonner)
- ✅ Fully Responsive Design (Mobile + Desktop)
- Frontend: Next.js (App Router), TypeScript, Tailwind CSS
- Auth: NextAuth.js
- Backend: Next.js API Routes / Server Actions
- Database: MongoDB
- UI Components: shadcn/ui
- Notifications: Sonner
git clone <your-repo-url>
cd whisperbox
2) Install dependencies
npm install
3) Setup Environment Variables
Create a .env.local file in the root directory and add:
NEXTAUTH_SECRET=your_secret_key
NEXTAUTH_URL=http://localhost:3000
MONGODB_URI=your_mongodb_connection_string
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
⚠️ Make sure MongoDB is running and your URI is correct.
▶️ Run Locally
npm run dev
Now open:
http://localhost:3000