nestjs-notification
Installation
SKILL.md
NestJS Notification Architecture
Priority: P0 (Standard)
Implement "Dual-Write" notification system: persist to Database (In-App) and send via FCM (Push).
Workflow: Send Notification
- Save to database — Persist notification entity with type enum and metadata.
- Check FCM token — Verify recipient valid
fcmToken; skip push if missing. - Send push — Call FCM inside
try/catch; never let FCM failure block request. - Serialize data — Convert Dates to ISO strings; keep FCM
datapayload flat (IDs only).