Skip to content

Developer-s-Foundry/DF.2.0-Websocket-course-Assigments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Socket.IO Chat Server

A simple real-time chat server built with Node.js, TypeScript, Express, and Socket.IO. It connects to a basic HTML frontend and allows users to send and receive messages in real time.

Features

Real-time chat using Socket.IO

Shared chat history

Typing indicator

Supports multiple users

Setup

Install dependencies:

npm install

Start the server:

npm run start

Server runs on:

http://localhost:3000

Usage

Start the server

Open the HTML file in a browser

Open multiple tabs to test chatting between users

How It Works

Clients connect using Socket.IO

Messages are sent to the server

Server broadcasts messages to all connected clients

Notes

Messages are stored in memory

Restarting the server clears the chat history

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published