This is a real-time chat application built with the MERN stack (MongoDB, Express, React, Node.js) and powered by Socket.io for live messaging and Cloudinary for image uploads. It features user authentication, chat history, media sharing, and online status indicators.
- User Authentication (JWT based)
- One-to-One Messaging
- Image Uploads via Cloudinary
- Unseen Message Count
- Online/Offline Status Indicators
- Real-time Communication using Socket.io
- User Search
- Message Seen Tracking
- React.js
- Tailwind CSS
- Axios (API requests)
- Socket.io-client
- React Context API (state management)
- Vite (build tool)
- Node.js
- Express.js
- MongoDB + Mongoose
- Cloudinary SDK
- Socket.io
- JWT for authentication
git clone https://github.com/sowmya-rebbavarapu/SocketTalk
cd SocketTalkcd server
npm install- Create a
.envfile in theserverfolder:
PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_API_SECRET=your_api_secretnpm run devcd client
npm install
npm run devEnsure both frontend and backend are running concurrently.