Skip to content

Simple chat app to demonstrate the usage of web sockets

Notifications You must be signed in to change notification settings

saaagar/socket-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple chat app

This app uses socket.io for dispatching and subscribing events.

Features

  • Joining chat room with a username
  • Notifies when user joins or leaves the chat room

Running locally

Clone this repo on your machine

$ git clone https://github.com/saaagar/socket-demo.git

cd to the freshly cloned dir and run

$ node index.js

Server listens to port 3000, but you can change to any port number that is available on your machine.

About

Simple chat app to demonstrate the usage of web sockets

Resources

Stars

Watchers

Forks