I'm trying to build a user notification
using Deepstream.io
. I'm using deepstream.io-storage-mongodb
for storage. My data structure:
User
=================
id - email - others
Notication
=================
userId - notification
I'm try to implement 1-n modelling deepsteam tutorial. But I can't understand how can I do this. How can I store pointer or how can I point towards a List
? Or how can I implement notification using deepstream
?
Thanks in Advance.
you can try as like as given below (I'm using
JS
):Receive Notication
Send Notification
Hope it will solve your problem.