I have just started looking into Node.JS and am very interested in finding out how and if it is possible for multiple users to interact.
For now I am just trying to get a static HTML page to increment a variable say a = 0; Each time a is clicked with a very simple onclick listener.
What I envisage and someone more knowledgeable can tell me if it is possible is. To open that page on two devices. Say my laptop and my phone and be able to click the div incrementing the variable and the number to update on both screens.
You should try with socket.io.
With the functions socket.emit and socket.on you can trigger event server-side from client-side and vice-versa.
here is the repo with a simple chat example, hope this will help you