Real-time messaging platform with secure user authentication and conversation management.
- ๐ JWT Authentication
- ๐ฌ Real-time messaging with Socket.IO
- ๐ฅ 1:1 & group conversations
- ๐ฑ Responsive React frontend
- ๐ Express.js backend API
- ๐ MongoDB database
# Clone repo
git clone https://github.com/yourusername/chatapp.git
# Backend setup
cd backend
npm install
# Frontend setup
cd ../frontend
npm install
# Start servers (in separate terminals)
npm run dev # frontend
npm run dev # backendCreate .env in backend:
MONGO_URI=your_mongodb_connection
JWT_SECRET=your_jwt_secret_key
PORT=3000
Create .env in backend:
VITE_SERVER_URL=http://localhost:3000/api
VITE_BASE_URL=http://localhost:3000
- Backend: Node.js, Express, MongoDB, Socket.IO
- Frontend: React, Redux, Tailwind CSS