Server

$ git clone https://github.com/Ntsoa2112/test_socket.git

$ cd test_socket

$ npm install

$ node index.js

Client

Open with a live server index.html