But after making the whole site I realized that my message can be delivered on MongoDB but how my friend will know I have sent him a message and he will reload his website to get the message?
A long time ago when I was a baby in web development and try to make a chat website where I and my friend will chat together.
But after making the whole site I realized that my message can be delivered on MongoDB but how my friend will know I have sent him a message and he will reload his website to get the message?
For the first time, I heard about socket.io which let us deliver data in real-time without reloading my page!!
Then I immediately learn socket.io and start implementing sokcke.io in my project. Aha, what a satisfying feeling it is when I can send a message to my friend in realtime!
It's not a huge site. so after you log in with google or email you will see all user
By clicking any user profile will join the room and can able to send messages also images.
Users can change their profile photo by clicking the edit button on the right sidebar.