Skip to content

hadleyfellows/node.express.chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

npm install -g express (globally install express)
express --ejs <app/project name>
cd <app/poject>
npm install
npm install express.io






// IO /SOCKET STUFF

Server to client
app.io.broadcast --> all clients
req.io.broadcast --> all but the one

Client to server
io.emit --> app.io.route() -->  req.io.emit  --> io.on()

About

💻 A simulated chat room using Node.js and Express.io

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published