install online status of users. use socket.io
marcus
1
urgent
important
zfrika
we have to merge socket.io and zfrika app on the same port. what is the definition of being online? user is currently logged in. anytime the username exist in the sessionStorage, then the user is logged in.
1.we manage to establish a connection via socket io. 2. try to call socket.\io from a route so that when a user logins we see them. (successfully notified user 1 . via login routes when user 2 logged in. 3. add the array of new users name to Online Now. why does it delete the name form the list when I go to a new page. shouldn't it add the name. you need to add the name to the list again (resolved) 2b. delete the name from array when a user disconnects from the platform. is user selects logoff. then user is removed from the list.
User is not connected when they move from zfrikadev/ to zfrikadev/country. so only start tracking user when they login. we ar updating user on who is on the line. (resolve)
completed the following: 1. either use socket.io to keep a heartbeat of the user online. 2. to show who is online. you need to setup socket.io 3. ;setup a single port that share socket.io and the zfrika 4. get the zfrika and socket.io talking on the same port.