
Product Design & Development · 2023
Sage Media and Entertainment
Client
Sage Technologies
Industry
Digital Products
Service
Product Design & Development
Year
2023
Overview
A high-performance competition and talent platform landing page for Sage Media and Entertainment. Built to handle contestant registrations, judge evaluations, and a live leaderboard — with IP-based abuse prevention, S3 portfolio uploads, and Server-Sent Events for real-time ranking updates.
What shipped
Express REST API with structured middleware chain — authentication, rate-limiting, input validation, and error handling applied as composable middleware in order
MongoDB with aggregation pipelines — leaderboard rankings computed server-side with $group, $sort, and $limit stages; materialized view updated on each submission event
IP-based rate limiting with express-rate-limit — sliding window algorithm caps submission attempts per IP; distributed Redis store enables consistent limits across multiple Node instances
Multer + S3-compatible file storage — contestant portfolio files streamed directly to object storage; signed URLs expire after 15 minutes, raw file paths never exposed to clients
Contestant and judge auth with separate JWT scopes — audience claim distinguishes roles at token level; judge endpoints reject contestant tokens at middleware, not just in business logic
Admin approval queue with optimistic UI — submission state machine (pending → approved → rejected) enforced server-side; client reflects state transitions immediately with rollback on API error
Real-time leaderboard with SSE — Server-Sent Events push rank updates to connected clients without polling; connection pool managed to prevent file descriptor exhaustion
Lighthouse 95+ — lazy-loaded images with Next.js Image, tree-shaken bundle, critical CSS extracted, and zero render-blocking scripts
Stack
Gallery




Keep exploring

