Push Notification Gateway
Component Detail
Infrastructure
medium complexity
backend
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Shared infrastructure component that dispatches push notifications to mobile devices via FCM or APNs, invoked by the Assignment Reminder Service for 10-day reminder alerts. Also used by other notification-related features across the application.
push-notification-gateway
Responsibilities
- Send push notification payloads to FCM and APNs
- Manage device token registration and renewal
- Handle delivery failures and retry logic
Interfaces
sendNotification(deviceToken, payload)
registerDeviceToken(userId, token)
deregisterDeviceToken(userId)
retryFailedNotification(notificationId)
Related Data Entities (1)
Data entities managed by this component