This full-stack application is a comprehensive chat platform developed using the MERN stack (MongoDB, Express.js, React.js, and Node.js). It offers a wide range of features, including:
-
One-to-One and Group Chats: Connect with individuals or create group conversations with dedicated admins.
-
Admin Privileges: Manage group members, change chat names, and foster a thriving community environment.
-
Real-Time Updates: Experience instant message delivery, monitor user status changes, and receive group updates through SocketIO.
-
User Management: Securely register, log in, and manage your account using JWT authentication.
-
Search Functionality: Easily find users to start one-to-one chats or invite them to groups.
-
Chat History: Review past conversations and stay informed about previous interactions.
To begin using the application, follow these steps:
-
Configure Backend:
- In the
backend/.env
file, add your MongoDB URI. - Also in the
backend/.env
file, add your JWT secret key. - Navigate to the
backend/frontend
directory and runnpm install
to install dependencies.
- In the
-
Start the Application:
- In the
frontend
directory, runnpm run dev
to launch the application. - Additionally, in the
backend
directory, executenpm start
to start the server.
- In the
By following these steps, you'll be set up to use the chat application seamlessly.
Feel free to reach out if you encounter any issues during the setup process!