Skip to content
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

Push notification for multiple users when add new item #9

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

sharonm6
Copy link
Contributor

@sharonm6 sharonm6 commented Apr 9, 2024

  • PATCH /leaderboard/changeSubscription stores key in leaderboard database in column notification_key when user subscribes to notifications
  • sendPushNotifications function sends web push notifications to an array of keys
  • POST /items retrieves array of keys from database and calls sendPushNotifications
SS

Resolves icssc/zotnfound-frontend #51

@sharonm6 sharonm6 linked an issue Apr 9, 2024 that may be closed by this pull request
@sharonm6 sharonm6 requested a review from NwinNwin April 9, 2024 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Push Notification for Multiple Users
2 participants