Skip to content

An simple online chat application made with nodejs, express and web sockets

License

Notifications You must be signed in to change notification settings

DiegoAndradeD/nodejs-chat-online

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js Online Chat Application

This is a simple online chat application built using Node.js, Express, and WebSocket (ws).

Features

  • Real-time communication between clients
  • Simple and intuitive interface
  • Easy to set up and use

Prerequisites

Make sure you have Node.js and npm installed on your machine.

Installation

  1. Clone the repository:

  2. Navigate to the project directory:

  3. Install the dependencies:

    npm install

Running the Application

To start the application, use the following command:

npm run start

This will start the server using nodemon, which will automatically restart the server if any files change.

Usage

  1. Open the application in your browser. You can use http://localhost:3000 by default.
  2. Open the application in two different tabs or browsers.
  3. Start chatting! Messages sent from one tab will be received in real-time in the other tab.

Technologies Used

  • Node.js
  • Express
  • WebSocket (ws)
  • Nodemon

License

This project is licensed under the MIT License

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any changes or improvements.

Acknowledgments

  • Inspiration for this project came from learning how real-time web applications work.
  • Thanks to the developers of Node.js, Express, and WebSocket for making such powerful tools available.

image

image

About

An simple online chat application made with nodejs, express and web sockets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published