A real-time chat application built using the MERN (MongoDB, Express, React, Node.js) stack, utilizing JWT for authentication and Socket.io for real-time communication.
- Real-time messaging using Socket.io
- User authentication using JWT
- User registration and login
- One-to-one chat conversations
- Simple and responsive design
- Efficient data management design using MongoDB
Click here to access the web application hosted in Render.com.
Disclaimer- As the application traffic is non-existent, requests made to the server may be slowed by 50 seconds or more.
Register a new user or log in with existing credentials.
Start a conversation with another user.
Send and receive messages in real time.
POST /api/auth/signup
Register a new user
POST /api/auth/login
Login an existing user
POST /api/auth/logout
Logout an existing user
GET /api/users
Get all registered users
GET /api/messages/:id
Get all messages (conversation) from the specified user id
POST /api/messages/send/:id
Send a new message to specified user id
Frontend: React, Tailwind CSS
Backend: Node.js, Express
Database: MongoDB
Authentication: JWT
Real-Time Communication: Socket.io