Push Notification Backend Infrastructure
Canadian Elite Volleyball Academy — Development Update • April 19, 2026
Push Notification Backend Infrastructure
What & Why
Add the server-side foundation for Web Push notifications. The platform currently only has in-app notifications (polled every 30s) and email reminders. Real-time push notifications will let parents, coaches, and admins get instant browser alerts for important events — new messages, schedule changes, payment reminders, etc.Done looks like
- A table stores browser push subscription data per user
- VAPID keys are generated and stored as environment secrets
- API endpoints exist for subscribing, unsubscribing, and checking push status
- A reusable utility can deliver push messages to all of a user's devices
- Expired/invalid subscriptions are automatically cleaned up on delivery failure (410 Gone)
- Push notification preferences (per-category opt-in) are stored per user
Out of scope
- Frontend UI for managing push preferences (Task #66)
- Service worker push event handling (Task #66)
- Actually wiring push into existing notification triggers (Task #67)
Relevant files
- - - - - -Canadian Elite Volleyball Academy
elitevolleyball.training
No comments:
Post a Comment