Go Viral: Referral Platform
Building a referral platform designed for large traffic spikes. Our engineering effort focused on architecting a platform capable of handling large traffic spikes during viral marketing events using GraphQL and Prisma, while ensuring coupon and reward redemption workflows with verification controls.

Traffic-spike resilient
Scaling
Optimized GraphQL queries
Latency
Challenge & Scope
Requirements
Predicting and mitigating sub-second traffic spikes during viral share events
Securing coupon redemption logic against automated batching and fraud
Maintaining state consistency across real-time React Native platform referral clicks
Ensuring low-latency API response times for global marketing campaigns
Strategic Objectives
Create a referral engine designed for large campaign traffic volumes for global viral marketing campaigns.
Key Deliverables
Technical Execution
GraphQL Scalability
Implemented a GraphQL layer with Prisma, optimizing database queries to handle sudden surges in viral referral traffic without degradation.
Redemption Verification Engine
Engineered secure redemption logic with multiple verification layers, curbing fraudulent referral attempts while maintaining consistent redemption workflows.
Real-Time Tracking
Developed a real-time event-driven dashboard that provides real-time visibility into campaign performance and viral coefficient metrics.
Technical Stack
Full-stack
TypeScript
Node.js
React
API / ORM
GraphQL
Prisma
Apollo Server
Database
MySQL (High Concurrency)
Infrastructure
Docker
Auto-scaling
Similar Project?
Let's build your next platform together.
Features & Outcomes
Referral Engine
Secure, real-time tracking of viral growth loops.
Redemption Logic
Fraud-resistant coupon and reward distribution.
Growth Dash
Immediate feedback for marketing campaign optimization.
Client Benefits
Cross-platform engineering delivery across web and mobile for a high-traffic marketing tool
Support for seasonal demand increases for peak promotional demand periods
Support for local legal and payment compliance requirements of secure content sharing compliance
Access to senior engineers for campaign platform delivery
Strategic Outcomes
Successfully launched a platform capable of handling viral traffic surges
Established continued referral participation through smooth share-to-reward cycles
Provided marketing teams with accurate data for campaign decision-making
Created a secure, referral infrastructure supporting large marketing campaigns
System Interfaces

Project Team
Sami
Platform Architect
Core GraphQL & Backend Design
Milkiyas
Backend Engineer
API Engineering & Prisma Mapping
Yared
Frontend Engineer
Campaign Builder & Dashboard UX
Want to talk to a Mereb engineer?
Before any commercial conversation, we'll put you on a 30-min call with a senior engineer in your stack. No salespeople. Just a technical sanity check.
Tell us what you're working on.
We'll respond within one business day with the right next step.