jameshiew / simple-chat-websockets

Example chat application using socket.io where users can only be in one chat channel at a time

Home Page:https://stackoverflow.com/a/35060680/2387626

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simple-chat-websockets

Example chat application using socket.io where users can only be in one chat channel at a time.

This simple example was created in response to this question on Stack Overflow.

Install

Do npm i inside the project directory.

Run

Do npm start inside the project directory to start serving with nodemon on port 3000, then navigate to localhost:3000. Changes to server.js or index.html should cause a server restart automatically.

About

Example chat application using socket.io where users can only be in one chat channel at a time

https://stackoverflow.com/a/35060680/2387626

License:MIT License


Languages

Language:HTML 55.2%Language:JavaScript 44.8%