arpittyagi102 / LinkUp

Link Up is a real time chatting application project, it utilizes, MERN, socket.io
https://getlinkup.vercel.app
MIT License
23 stars 30 forks source link

Add the last seen feature to the project #51

Open arpittyagi102 opened 1 year ago

arpittyagi102 commented 1 year ago

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.

Himanshu8862 commented 1 year ago

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

Hishammpsnhn commented 1 year ago

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

arpittyagi102 commented 1 year ago

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

Hishammpsnhn commented 1 year ago

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