BACK TO SELECTED WORK
04/05•Full Stack
Full StackLive System

ERP SYSTEM (MYREWARDS.LK)

Enterprise Rewards & Operations ERP

CLIENT / ORG
MyRewards.lk
ROLE
Full Stack Developer
TIMELINE
2025
STATUS
DEPLOYED & VERIFIED
erp-myrewards.production.sys
TELEMETRY ACTIVE
LARAVEL + VUE.js ENTERPRISE REWARDS ENGINE (MYREWARDS.LK)
LIVE PLATFORM
POINT CALCULATOR
Automated Rules
Dynamic tier progression
MERCHANT SETTLEMENT
Multi-Partner
100% Ledger Consistency
CACHE LAYER
Redis Queue
Asynchronous jobs
// SYSTEM CONTEXT

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.

// FULL STACK BLUEPRINT

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.

// CORE CAPABILITIES

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.

// ENGINEERING HIGHLIGHTS

TECHNICAL ACHIEVEMENTS.

Full-stack Laravel architecture with modular service layers and Vue.js interactive client portals
Custom design system implemented in Tailwind CSS tailored for commercial and financial dashboards
Automated reward point disbursement, redemption settlement, and financial reporting engine
// PROBLEM SOLVING

CHALLENGES OVERCOME.

TECHNICAL CHALLENGE #1

Preventing race conditions when multiple retail points redeem loyalty points simultaneously from the same account.

PRASAD'S ENGINEERING SOLUTION

Utilized pessimistic database locking (`selectForUpdate`) and Redis mutexes during point redemption transactions.

TECHNICAL CHALLENGE #2

Handling heavy month-end reporting queries without impacting customer-facing redemption speed.

PRASAD'S ENGINEERING SOLUTION

Offloaded report generation to Laravel background queues with read-replica database query routing.

// QUANTIFIABLE OUTCOMES

MEASURABLE RESULTS.

100%
Ledger Integrity

Zero discrepancy across automated merchant balance settlements

Multi-Tier
Partner Hierarchy

Scalable architecture supporting multi-location brand franchises

< 100ms
Point Verification

Instant validation of QR-code reward redemptions at retail counters

// TECH STACK

TECHNOLOGIES UTILIZED.

LaravelVue.jsTailwind CSSPHPMySQLRedisREST APIs

INTERESTED IN BUILDING A SIMILAR ARCHITECTURE?

Let's collaborate to design and ship high-performance real-time systems, scalable APIs, and native applications.