Chat-App is a real-time messaging application built using Socket.io and Node.js. It allows users to engage in live conversations, share text messages, and exchange images seamlessly. The project utilizes the Mustache template engine for dynamic HTML rendering, providing a smooth and responsive user interface.
-
Real-Time Messaging: Instantaneous communication between users, with messages appearing in real-time without the need for page refresh.
-
Image Sharing: Users can share images with each other, enhancing the overall chat experience.
-
Mustache Templating: Dynamic HTML rendering using Mustache templates for a flexible and interactive user interface.
-
Room-based Model: Users can join specific chat rooms without the need for individual user authentication.
Check out the live demo of Chat-App: Chat-App Live Demo
Before running the Chat-App, make sure you have the following installed:
- Node.js: Download Node.js
- npm (Node Package Manager): Installed with Node.js
- Git: Download Git
-
Clone the repository:
git clone https://github.com/your-username/chat-app.git
-
Navigate to the project directory:
cd chat-app
-
Install dependencies:
npm install
-
Configure environment variables:
- Create a
.env
file in the root directory. - Add the following variables:
PORT=3000
- Create a
-
Run the application:
npm start
-
Open your browser and visit
http://localhost:3000
to access the Chat-App.
- Register or log in to start chatting.
- Send and receive real-time messages.
- Share images with other users.
Contributions are welcome! If you'd like to contribute to the project, please follow the guidelines in the CONTRIBUTING.md file.
This project is licensed under the MIT License - see the LICENSE.md file for details.
- Socket.io for enabling real-time communication.
- Node.js for server-side JavaScript.
- Mustache for template rendering.
For issues or inquiries, please contact [email protected].
Happy chatting! 🚀