Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Chat App

This is a simple chat application built using Express.js and Socket.IO. It allows multiple users to connect to a server and exchange messages in real-time.

Features

  • Real-time messaging: Users can send messages and receive them instantly without refreshing the page.
  • Server-side logging: Messages sent by users are logged on the server console.
  • Static file serving: Static files such as HTML, CSS, and client-side JavaScript are served using Express's static middleware.

Prerequisites

Before running the application, make sure you have the following installed:

  • Node.js
  • npm (Node Package Manager)

Installation

Usage

  • Start the server:node index.js

  • Open your web browser and navigate to http://localhost:3000 to access the chat application.

  • Start chatting! Type your message in the input box and press Enter to send it. You'll see your message appear in the chat window along with messages from other users.

Dependencies

Express: A web application framework for Node.js used for handling HTTP requests. Socket.IO: A library that enables real-time, bidirectional, and event-based communication between web clients and servers.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages