A modern, real-time chat application built with the MERN stack (MongoDB, Express.js, React.js, Node.js).
- 🔐 User authentication with profile pictures
- 💬 Real-time messaging
- 👥 User management and online status
- 🎨 Modern, responsive UI with animations
- 🌙 Theme switching capability
- 📱 Mobile-friendly design
npm startThis will start both the backend server and React frontend concurrently.
Backend (Terminal 1):
cd chat-back
npm startFrontend (Terminal 2):
cd chat-front
npm startIf you haven't installed dependencies yet:
npm run install-allThis will install dependencies for the root project, backend, and frontend.
npm start- Start both frontend and backendnpm run server- Start only the backendnpm run client- Start only the frontendnpm run dev- Alternative command to start both (same as npm start)npm run install-all- Install all dependencies
- Frontend: React.js, Tailwind CSS, Framer Motion, Heroicons
- Backend: Node.js, Express.js, Socket.io
- Database: MongoDB
- Authentication: JWT
Cipher_Messenger/
├── chat-back/ # Backend server
├── chat-front/ # React frontend
├── package.json # Root package.json for easy startup
└── README.md
- Frontend: http://localhost:3000
- Backend: http://localhost:5000
Make sure your backend has the necessary environment variables set up in chat-back/.env:
MONGODB_URIJWT_SECRETPORT(optional, defaults to 5000)