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.

Feature: Assignment Follow-up Reminders

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

Dependents (1)

Components that depend on this component

Used Integrations (1)

External integrations and APIs this component relies on

API Contract

View full contract →
REST /api/v1/push-notifications 8 endpoints
GET /api/v1/push-notifications
GET /api/v1/push-notifications/:id
POST /api/v1/push-notifications
PUT /api/v1/push-notifications/:id
DELETE /api/v1/push-notifications/:id
POST /api/v1/push-notifications/batch
+2 more