This is a full-stack chat application built using the MERN stack along with Socket.io for real-time messaging. It includes features like authentication with JWT, online user status, global state management, error handling, and more.
Check out the live demo of the application ChatApp.
- Tech stack: MERN (MongoDB, Express.js, React.js, Node.js) + Socket.io + TailwindCSS + Daisy UI
- Authentication & Authorization: JWT-based authentication system
- Real-time messaging: Implemented using Socket.io
- Online user status: Monitored with Socket.io and React Context
- Global state management: Utilizing Zustand
- Error handling: Both on the server and client sides
- Deployment: Deployed seamlessly for FREE!
-
Clone the repository:
git clone https://github.com/konprtk/ChatApp.git
-
Navigate to the project directory:
cd ChatApp -
Install dependencies:
npm install
-
Set up your MongoDB database and update the connection string in
.env. -
Run the development server:
npm run dev
-
Access the application at
http://localhost:3000.
Contributions are welcome! If you find any bugs or want to improve the project, feel free to create a pull request.
For any questions or suggestions, feel free to reach out to me:
- Email: official.pratik.2003@gmail.com
- GitHub: konprtk
- LinkedIn: Pratik Lokhande
- CodePen: konprtk