Really small working demo using Node.js as a WebSocket and HttpServer and a simple client
Make sure have installed node.js
on your computer, then install ws
using the following in the root directory of your project
npm install --save ws
To Start the server, in a node.js commande line terminal, go in the server directory and do:
node main.js
The client can now be launched from your browser, http://localhost:8080