Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


ChatBook App

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.

Features

  • 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.

Installation

  1. Clone the repository:
git clone https://github.com/your-username/ChatBook.git
  1. Install the dependencies:
cd ChatBook
npm install
  1. Run the application:
npm start

The server will start on http://localhost:3000. You can access the application by opening this URL in your web browser.

Usage

  1. Open your web browser and navigate to http://localhost:3000.
  2. Enter your desired username and choose a chat room to join.
  3. Start sending and receiving messages in real-time!

Dependencies

  • Node.js
  • Express
  • Socket.io

Files and Directory Structure

  • 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.

Credits

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.

License

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.

About

Chat room app

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages