ChatBook is a real-time chat application built using Node.js, Express, and Socket.io. It allows users to join different chat rooms and communicate with each other in real-time.
- User authentication: Users can enter their username and choose a chat room to join.
- Real-time messaging: Users can send and receive messages instantly within the chat rooms.
- User notifications: Notifications are displayed when a user joins or leaves a chat room.
- User list: A list of users in the chat room is displayed on the sidebar.
- Clone the repository:
git clone https://github.com/your-username/ChatBook.git- Install the dependencies:
cd ChatBook
npm install- Run the application:
npm startThe server will start on http://localhost:3000. You can access the application by opening this URL in your web browser.
- Open your web browser and navigate to
http://localhost:3000. - Enter your desired username and choose a chat room to join.
- Start sending and receiving messages in real-time!
- Node.js
- Express
- Socket.io
public/: Static files for the front-end (HTML, CSS, JavaScript).utils/: Utility functions for managing users and formatting messages.app.js: Main application file that sets up the server and Socket.io connections.package.json: Project configuration and dependencies.
This application was created as a project by Your Name. It utilizes the power of Node.js, Express, and Socket.io to enable real-time communication between users in different chat rooms.
This project is licensed under the MIT License.
Feel free to customize this readme.md template to fit your project's specific details and requirements. Make sure to replace placeholders like your-username and provide appropriate links to your GitHub profile or any other relevant resources.