- Clone the chat repository with git
git clone https://github.com/topaxi/powercoders-chat.git
- Run the following command in your terminal
npm init
npm install ws --save
node server.js
- Enhance your server to allow chatting in
server.js
- Display chat data in your
index.html
using JavaScript, HTML and CSS
Resources:
- WebSocket Server: https://github.com/websockets/ws/blob/master/doc/ws.md#ws