ERP SYSTEM (MYREWARDS.LK)
Enterprise Rewards & Operations ERP
PROJECT OVERVIEW & OBJECTIVES.
Comprehensive enterprise ERP platform built with Laravel, Vue.js, and Tailwind CSS, powering automated customer rewards, merchant settlement pipelines, and real-time operational logistics.
MyRewards.lk is a nationwide loyalty and merchant reward platform connecting hundreds of retail partners with thousands of active consumers.
The ERP serves as the mission-critical central nervous system, managing reward rules, merchant balance ledgers, customer tier progressions, and transaction reconciliation.
Engineered both frontend administrative portals and backend REST API services, ensuring absolute data integrity, fraud prevention, and lightning-fast reward lookups.
SYSTEM ARCHITECTURE.
FRONTEND TIER
Vue.js single-page applications and client widgets styled with a bespoke Tailwind CSS theme.
BACKEND & CORE
Laravel 10 with custom middleware, asynchronous event queues, and scheduled job runners.
DATA & STORAGE
MySQL with transactional isolation, partitioned ledger tables, and Redis caching layers.
INFRASTRUCTURE & OPS
Linux cloud server with Redis queue workers, automated log rotation, and SSL certificates.
KEY FEATURES & DELIVERABLES.
Automated Points & Tier Lifecycle
Dynamic rule engine calculating rewards based on purchase values, merchant categories, and campaign promotions.
Merchant Settlement Portal
Self-service dashboard for vendor partners to view redemptions, download invoices, and request payouts.
Fraud Prevention & Anomaly Detection
Rate-limiting and behavioral heuristics to identify suspicious point accumulation or repeated redemption abuse.
Multi-Store Transaction Reports
Comprehensive financial analytics with CSV/PDF exports and real-time revenue summaries.
TECHNICAL ACHIEVEMENTS.
CHALLENGES OVERCOME.
Preventing race conditions when multiple retail points redeem loyalty points simultaneously from the same account.
Utilized pessimistic database locking (`selectForUpdate`) and Redis mutexes during point redemption transactions.
Handling heavy month-end reporting queries without impacting customer-facing redemption speed.
Offloaded report generation to Laravel background queues with read-replica database query routing.
MEASURABLE RESULTS.
Zero discrepancy across automated merchant balance settlements
Scalable architecture supporting multi-location brand franchises
Instant validation of QR-code reward redemptions at retail counters
TECHNOLOGIES UTILIZED.
INTERESTED IN BUILDING A SIMILAR ARCHITECTURE?
Let's collaborate to design and ship high-performance real-time systems, scalable APIs, and native applications.