Pegs:
Full-Stack Local Commerce Platform
A full-stack local commerce platform connecting consumers, merchants, and community organisations through exclusive discounts, cashback rewards, and payments infrastructure — live across Australia and expanding into the US as Repegs.
Stack
React Native, Koa.js, MongoDB, GCP
Role
End-to-End Development Partner
Scope
Mobile, Backend, Admin, Payments, Infrastructure

The Mission
“To strengthen local economies by incentivising consumers to spend with local businesses — making it easy for users to discover, support, and save money at nearby merchants, while giving small businesses affordable tools to attract and retain customers.”
Core Objectives
- Cross-platform mobile app for Locals, Merchants, and Charities/Clubs
- In-app payments, cashback, vouchers, and peer-to-peer marketplace
- Automated charitable donation routing tied to user savings
- Multi-tenant architecture supporting AU and US markets from one codebase
The Challenge
Building a platform that serves three distinct user types — consumers, merchants, and community organisations — each with separate flows, permissions, and dashboard experiences, all within a single React Native codebase. Payment infrastructure required simultaneous Stripe Connect and Square/Doshii integration, ABA file generation for Australian bank settlements, and webhook-driven transaction processing.
A sophisticated voucher engine needed location-specific reward amounts, expiry-based FIFO redemption, QR code promotions, and atomic transaction processing. Expanding to the US under the Repegs brand added a new currency, payment provider, KYC flow, and brand identity — all while maintaining a shared codebase with zero disruption to the Australian live product.
What We Built
Cross-Platform Mobile App
React Native (Expo/EAS) application for iOS and Android — Local, Merchant, and Charity/Club user types with configurable navigation tabs and carousels per location, live across AU and US.
Voucher & Referral Engine
Location-aware voucher system with QR code redemptions, expiry-based FIFO balance consumption, referral reward chains, and admin bulk distribution — backed by atomic MongoDB sessions.
Payments & Financial Infrastructure
Stripe Connect for merchant payouts and deposits, Square/Doshii for POS terminal payments, ABA file processing for bank settlements, and a full double-entry transaction ledger.
Backend, Admin & Supporting Web Apps
Koa.js API with tRPC, BullMQ for background jobs, a Next.js admin dashboard on Vercel, verification portal, referral landing pages, and merchant onboarding flows across AU and US subdomains.
Technical Architecture
React Native (Expo/EAS) mobile app with a Koa.js/tRPC backend on GCP, MongoDB (Typegoose) for persistence, BullMQ for scheduled jobs, and Firebase for push notifications and analytics. Multi-region deployment across Australia and US; AppsFlyer for deep linking and attribution. Admin dashboard on Next.js/Vercel. Sprint-based delivery with shared Notion tracking across a multi-year engagement.
Real Impact.
Pegs delivered a complete local commerce ecosystem spanning mobile, backend, admin, and payments — serving consumers, merchants, and community organisations across two markets from a single codebase.
- Markets
- AU & US
- User Types
- 3
- Partnership
- Ongoing
- Payments
- Stripe Connect
