Notifications
Real-time notifications with WebSocket push, channels, and in-app delivery. This is the pack-notifications pack.
No special integration needed
Out of the box, notifications run on the base services:
- Postgres for notification records.
- Valkey / WebSockets for real-time push to connected clients.
The default delivery channel is in-app plus WebSocket push. There is no third-party account to create and no pack-specific environment variables to fill in for the default setup.
Optional email channel
If you want notifications to also go out by email, set the base template's RESEND_API_KEY. The pack falls back to
Resend when an email channel is configured. Without it, email delivery is skipped and only the in-app/WebSocket channel
is used.
What it depends on
- A starter pack for auth. Notifications are addressed to signed-in users.
- The starter's Resend config for the optional email channel.
In the admin
On top of a starter, this pack adds a Notifications route to the admin app so you can send campaigns to users from there.
Environment variables
None required. RESEND_API_KEY (from the base template) is optional and only enables the email channel.
Every purchase and sponsorship funds my 8+ years of work on open source given freely to the community. It keeps the lights on, funds new packs, and keeps the ecosystem alive. Even a small tier means a lot. Thank you!
