0

I am trying to create a real-time push notification system in angular. The frontend needs to get these generated notifications on the browser from the unread notification data stored in mongodb. Is there any library to integrate this or optimum way to do this?

Note: I am trying to avoid node.js integration.

Dextro67
  • 195
  • 9
  • why are you trying to avoid using node ? Isn't that how you currently communicate with mongo? – charlietfl May 28 '16 at 23:30
  • No, I am not using node for mongodb connectivity. I am rather using plain MVC with mongo-java-driver. There am not against using node.js but changing the complete architecture for one feature is tough. – Dextro67 May 28 '16 at 23:36
  • So use same connection path. Various ways to push notificiations are listed in link above... probably want websockets – charlietfl May 28 '16 at 23:42
  • @charlietfl I was avoiding the structure changes. But seems all the options require to have some changes or other in the current one.Server Polling too looks like an option. Will test both. Thanks! – Dextro67 May 28 '16 at 23:49

0 Answers0