- 🌟 Tech stack: MERN + Socket.io + TailwindCSS + Daisy UI
- 🔐 Authentication & Authorization with JWT
- � Real-time messaging with Socket.io
- � Online user status
- � Global state management with Zustand
- 🎯 Error handling (both server and client-side)
- 🖼️ Cloudinary image upload support
- 🌓 Light/Dark mode
Create a .env
file in the backend
directory:
MONGODB_URI=your_mongodb_connection_string
PORT=5001
JWT_SECRET=your_jwt_secret_key
CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_API_SECRET=your_api_secret
NODE_ENV=development
cd backend
npm install
npm run dev
Backend will run on: http://localhost:5001
cd frontend
npm install
npm run dev
Frontend will run on: http://localhost:5173