LinkUp icon indicating copy to clipboard operation
LinkUp copied to clipboard

Add the last seen feature to the project

Open arpittyagi102 opened this issue 2 years ago • 4 comments

hello contributors, I want someone to add the last seen feature, on disconnecting from socket.io, send the current time to backend and store it on Db which is MongoDB, shouldn't be hard, T am using react.js and node.js as frontend and backend in it. Ask me if you have any doubt.

arpittyagi102 avatar Jul 25 '23 18:07 arpittyagi102

Hey @arpittyagi102, I would like to give it a go

Himanshu8862 avatar Aug 02 '23 05:08 Himanshu8862

@arpittyagi102 can you explain how to get db in sockerEvents.js file ,for adding last seen in db

Hishammpsnhn avatar Aug 06 '23 13:08 Hishammpsnhn

Hello, Whenever a user disconnects, a web socket is sent named as disconnect on that disconnection save the time into the database and then access it, i hope i am clear, ask me if you have any other question

arpittyagi102 avatar Aug 06 '23 20:08 arpittyagi102

@arpittyagi102 can you assign me .I am already start working on it

Hishammpsnhn avatar Aug 07 '23 17:08 Hishammpsnhn