This post is from a low-reputation account and contains an unverified outbound link. Be cautious before clicking external links.
So you have multiple users.
Certain operations take time on the backend.
Server updates client via websockets.
Example how to manage multiple clients:
I was always respecting users and ensuring great usability. Sending love, always love...
Cannot send objects
I was figuring it out, why is it displayed as [object Object] so now we know. Will have to JSON.stringify and then JSON.parse probably the easiest way...
Minimalistic implementation
This is a good one: https://hackernoon.com/nodejs-web-socket-example-tutorial-send-message-connect-express-set-up-easy-step-30347a2c5535