-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send to multiple users or subscribe to topics? #1
Comments
Hi, Actually server will send notification to every user subscribed. Users subscriptions are stored in NeDB embebed database. You can easyly create differente topics passing the topic to /register endpoint and saving the topic as additional field. Then, when you want to send notifications for an especific topic, you have to query for subscriptions matching that topic. Take a look to (db/index.js) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible to send notification to multiple users or subscribe different topics?
The text was updated successfully, but these errors were encountered: