- At the beginning every user can select their name and will post system message to the chat area that a new user just connected.
- Supports multi-persons group chat.
- Websockets were used for real time bi directional data transfer.
- When a user closes the browser window, server will post system massage to the chat area that a user has disconnected.
- download the code then extract
- open the terminal (or Use Ctrl + backtick character)
- change directory
cd .\nodeServer
- Install all dependencies
npm install
- run nodemon
npm run nodemon
- finnaly, Navigate to
http://127.0.0.1:5500
.Open two browsers and start chatting.