Week 10: Notifications & Activity — Dec 28, 2024 – Jan 3, 2025

Week 10: Notifications & Activity — Dec 28, 2024 – Jan 3, 2025

TL;DR: Real-time notification system with in-app alerts, email digests, and an activity feed that tracks every significant action across the platform.

Highlights This Week

  • Built real-time notification system with WebSocket delivery
  • Added configurable notification preferences per user
  • Implemented activity feed with filterable event history

Notification Architecture

Notifications are generated by domain events (job assigned, invoice paid, estimate approved) and delivered through multiple channels: in-app bell icon, email digest, and future SMS. Users control which events trigger which channels through a granular preferences panel.

How It Works

Domain events publish to an internal event bus. Notification handlers subscribe to events, format the message per channel, and dispatch. In-app notifications use WebSocket for real-time delivery. Email digests batch notifications on a configurable schedule (immediate, hourly, daily).

What’s Next

Reporting and analytics — turning operational data into business insights.