My Feed
Rixbeta
Write
Create Team Blog
Let's kick off a fresh team blog! Bring on the crew and let's get to publishing.

How do you implement newsfeeds with socket.io and express.js ?

Joseph's photo
Joseph
·Nov 29, 2018

I'm trying to implement newsfeeds with Express,MongoDB and Socket.io, I've got the logic between the express route and MongoDB setup, how do I setup an open websocket path so everytime a client hits a post end point,all the followers get the post instead of having to make a new request for new feeds.