its a simple web socket server and client to exchange data
- ws
To run the project you need to have installed NodeJs, ws.
First you should install node.js
Open terminal in the server folder.
// to install packages : $npm install
// to run the server : $npm start
// open the client html file in a browser. // now you can exchange data with server and watch them in both server and browser console.
// A counter has been put in the server and send it each second to show the realtime data stream.
// To stop the server : just press Ctrl+C in Terminal