A national general election campaign needed a real-time voter-card scanning system and live campaign dashboard — built to stay up through election night, when every minute of downtime is a story.
Challenges
Single-day launch with no second chance — it has to hold up on the day.
Field agents scanning cards on phones with patchy connectivity.
Real-time dashboard for campaign leadership showing live turnout.
Approach
Next.js + Postgres with Pusher for real-time updates.
PWA scanner with offline-tolerant sync.
Load-tested for 5,000+ concurrent users before launch.
Results
115,000 scans processed on election day.
5,000+ concurrent users, zero 5xx errors.
Real-time dashboard stayed live through results.
