Push Notification Service
Component Detail
Infrastructure
low complexity
Shared Component
backend
0
Dependencies
1
Dependents
0
Entities
1
Integrations
Description
Shared infrastructure service that delivers push notifications to mobile devices. Used by the reminder dispatch service to send reminder and escalation alerts to peer mentors and coordinators respectively. Wraps the existing push notification delivery integration.
push-notification-service
Responsibilities
- Send push notification to a specific user device token
- Handle push delivery failures with retry logic
- Support notification payload formatting for iOS and Android
- Track delivery status
Interfaces
sendPush(userId, payload: PushPayload): DeliveryResult
sendPushToMultiple(userIds, payload): DeliveryResult[]
formatPayload(title, body, data): PushPayload
getDeviceTokensForUser(userId): string[]
handleDeliveryFailure(error, userId)
Relationships
Used Integrations (1)
External integrations and APIs this component relies on