Delivered remotely for a business based in Rotterdam, Netherlands. Names withheld by agreement.
Project Overview
Scheduled broadcasts—from weekend tournaments to televised finales—draw concentrated audiences who are eager to interact if the barrier to entry stays low and the payoff feels tangible. When rewards are underwritten by brand sponsors rather than entry fees, the engineering challenge shifts from pure game mechanics to multi-tenant campaign orchestration: pairing crisp consumer gameplay with strict budget caps, sponsor branding isolation, and auditable prize fulfillment.
This engagement produced a complete live-event prediction and sponsored-rewards ecosystem. Viewers participate through a React Native mobile app managed with Expo and Redux, brand partners and producers configure timed campaigns inside a React web portal, and a Node.js and Express backend running on AWS coordinates event lifecycles, PostgreSQL prize ledgers, and asynchronous reward delivery.
Business Bottleneck
Sponsorship-funded engagement fails commercially and operationally when event tech cannot bridge consumer speed with brand accountability:
- Slow release cycles around broadcast dates: Sponsor creative approvals and schedule shifts often finalize close to airdate; waiting on full native store approvals risks missing live broadcast windows.
- Unbounded reward liability: Without strict transactional inventory controls, concurrent winner claims or retry storms can over-issue limited sponsor vouchers or merch allocations.
- Manual sponsor reporting: Producers compiling post-event spreadsheets from raw database dumps delay campaign wrap-ups and erode sponsor confidence in attribution accuracy.
- Peaks followed by long quiet periods: Provisioning static servers for peak broadcast traffic wastes budget all week, yet under-provisioned instances collapse minutes before a scheduled show starts.
Architectural Strategy
We divided the platform into three coordinated surfaces backed by a unified AWS control plane. The Expo React Native client focuses on frictionless onboarding, sponsor-themed event cards, and resilient Redux-backed prediction slips. The React web application serves internal producers and external sponsor managers with role-scoped campaign builders and real-time redemption dashboards.
Behind both clients, stateless Node.js and Express APIs sit behind AWS Application Load Balancers and AWS WAF. Time-sensitive campaign writes commit to Amazon RDS PostgreSQL, while heavy post-event operations—winner ranking, voucher minting, and notification fan-out—flow through Amazon SQS worker queues so user-facing endpoints stay responsive under burst load.
Core Capabilities
- Scheduled Campaign & Sponsor Theming: Producers assemble multi-round prediction schedules linked to sponsor logos, custom color tokens, and CloudFront-cached promotional cards delivered dynamically without binary releases.
- Guided Prediction Rounds & Streaks: Mobile players pick outcomes before round cutoffs, earn campaign points, and unlock sponsor-bonus tiers for consecutive correct broadcasts.
- Controlled Prize Pools & Voucher Fulfillment: Supports instant digital reward codes, raffle entries for high-value prizes, and claim verification workflows bound to explicit sponsor budget caps.
- Sponsor Analytics & Attribution Console: React dashboard surfacing participation funnels, opt-in sponsor engagement, prize claim rates, and exportable compliance summaries.
- Over-the-Air Event Readiness: Expo Updates pushes tested JavaScript bundles and UI patches rapidly when broadcast schedules or sponsor requirements shift.
Technical Architecture
Mobile and web clients communicate over HTTPS REST endpoints exposed by Express services running in AWS ECS Fargate. Static sponsor media and React web assets reside in Amazon S3 behind CloudFront, minimizing origin load during global broadcasts. PostgreSQL on Amazon RDS stores campaign structures, user predictions, and atomic prize inventories, with an RDS read replica serving analytical React dashboard queries.
Flow: Expo React Native App (Redux) & React Sponsor Console → CloudFront / AWS WAF → ECS Fargate (Node.js & Express REST API) → Amazon RDS PostgreSQL + Amazon SQS Fulfillment Workers
During live rounds, Express validates predictions against campaign windows and writes signed entries to PostgreSQL. When a producer finalizes a round in the React console, an API call enqueues scoring and prize-allocation messages onto Amazon SQS. Idempotent Node.js workers consume those messages in controlled batches, calculate campaign standings, reserve sponsor inventory rows, and trigger push or email claim instructions.
Technology Stack
| Category | Technology detail |
|---|---|
| Mobile App Framework | React Native built and shipped via Expo (EAS Build & OTA Updates) |
| Mobile State Management | Redux Toolkit with RTK Query caching and offline slip drafts |
| Sponsor & Ops Web Portal | React SPA for campaign setup, sponsor branding, and prize pools |
| Backend API Services | Node.js and Express RESTful microservices with schema validation |
| Relational Data Store | PostgreSQL on Amazon RDS with multi-AZ failover and read replicas |
| Cloud Infrastructure | AWS ECS Fargate, Application Load Balancer, S3, CloudFront, and SQS |
| Async Processing | Amazon SQS queues for batch prize allocation and email/push dispatch |
| Media & Sponsor Assets | Amazon S3 buckets fronted by CloudFront CDN for sponsor creative |
| Auth & Campaign Security | Signed JWT tokens, scoped sponsor RBAC, and AWS WAF edge rules |
Engineering Trade-offs & Solutions
| Engineering Challenge | Solution & Trade-off |
|---|---|
| Need for rapid UI and sponsor-branding updates near broadcast time | Standardized on Expo managed workflow with EAS Update; accepted Expo SDK boundaries in exchange for fast OTA patches and streamlined native builds. |
| Reporting queries from the React sponsor portal competing with live picks | Routed sponsor analytics and export queries to an Amazon RDS PostgreSQL read replica, trading minor replication lag for protected write latency during live shows. |
| Burst of voucher minting and winner notifications overloading API nodes | Offloaded settlement scoring and reward dispatch to Amazon SQS dead-letter-backed workers rather than executing inside HTTP request cycles. |
| Avoiding duplicate prize claims on flaky mobile cellular connections | Required client-generated idempotency keys on claim endpoints backed by unique database constraints on (campaign_id, user_id, reward_tier). |
Security & Reliability
Sponsor-funded promotions require strong safeguards against bot farming and multi-account abuse. AWS WAF filters volumetric anomalies and suspicious IP ranges at the edge, while Express endpoints enforce strict request schema validation and per-user rate throttling.
Authentication distinguishes consumer players from sponsor and producer accounts using separate RBAC scopes. Sponsor logins in the React portal can inspect only their own campaign budgets, creative previews, and anonymized engagement metrics; user contact details remain encrypted at rest in RDS and inaccessible to external brand teams unless explicit marketing opt-in consent is recorded with an audit timestamp. Multi-AZ RDS deployment and SQS dead-letter queues ensure transient worker faults never drop valid prize entitlements.
Performance & Scale
Because live broadcasts follow predictable schedules, ECS Fargate auto-scaling pairs scheduled pre-warming before major events with CPU and request-count scaling policies. CloudFront caches sponsor imagery, campaign manifests, and public leaderboard snapshots at edge PoPs, absorbing initial app-open waves when viewers tune in simultaneously.
Inside the Expo React Native app, RTK Query deduplicates concurrent component requests and caches static campaign rules locally, while Redux keeps active pick drafts intact even if a viewer switches networks mid-submission.
Operational Outcomes
Unifying consumer gameplay, sponsor campaign setup, and AWS cloud automation eliminated the manual friction that previously slowed branded live events:
- Faster sponsor campaign onboarding: Producers configure new branded prediction series, upload assets, and launch prize pools directly in the React portal without custom engineering tickets.
- Protected promotional budgets: Transactional prize allocation in PostgreSQL and idempotent SQS workers ensure every issued voucher reconciles cleanly against contracted sponsor inventory.
- Agile broadcast-week iteration: Expo OTA updates allow verified client refinements prior to airtime without risking delayed app-store approvals.
- Predictable infrastructure economics: Elastic Fargate scaling and CloudFront edge caching match compute spend to live broadcast calendars rather than idle baseline capacity.