Basic socket server in Node using socket.io
- npm install in
/
andclient/socket-client
(you can cd up one and paste) - nodemon socket-server.js
- cd client/socket-client && npm start
You will receive an object whose keys (...from an interval response) you are mapping over on the UI.
Will add a grid later to see the actual power and simplicity!