Friday 29 May 2020

Doubt regarding websockets

I am working on a website that requires Instant Messaging and real time notifications. I decided to use socket.io to achieve this but I'm facing a few challenges.It has an existing RESTful API. I'm only allowed to work on the same. Is it okay to integrate socket.io into the same API?The website has two portals and these portals have separate frontend (2) and backend (2) APIs sharing a same database. Data flow should be, Frontend1 > Backend1 > (Backend2 >?) Frontend2 Is it possible to use socket.io in this scenario?If it's not the best way, any suggestions would be appreciated. Thanks.

Submitted May 29, 2020 at 08:38AM by ShekStorm

No comments:

Post a Comment