case study · live · 2023 → 2025

CSD Commerce Rule Engine & Retail Platform

CSD commerce rule engine case study: a dynamic pricing and discount engine on a retail platform used across 50+ branches serving 100k+ customers.

Organisation
Hiveworx
Period
2023 – 2025
Status
Live
Relevant to
Backend Lead / Architect
Tech stack
  • Node.js
  • NestJS
  • PostgreSQL
  • Oracle
  • SQL
  • Rule engine
  • Jenkins

In one line

Installment & retail commerce platform for a large defense-sector retailer (50+ branches, 100k+ customers), with a fully dynamic pricing/discount rule engine.

What problem did it solve?

Pricing, discount and installment rules changed roughly monthly and were highly conditional. Hard-coding them meant a redeploy for every policy shift.

How was it built?

Led a 12-person team building the system from scratch. Designed a dynamic rule engine (rules on any column, operator set, date-based criteria) so staff change policy without code changes, plus a legacy data migration in pure SQL and Node.js batch jobs, all shipped through an automated Jenkins CI/CD pipeline.

What did the work involve?

  • Led a 12-person team building the system from scratch (~2 years)
  • Deployed across 50+ retail branches, where the operator-facing system serves 100k+ customers and grows daily
  • Designed a dynamic rule engine: rules on any column, operators, and date-based criteria, so monthly policy changes need no redeploy
  • Migrated legacy data with pure-SQL and Node.js batch jobs alongside the data team
  • Automated build & deployment through a Jenkins CI/CD pipeline

What was the outcome?

Rolled out across 50+ CSD retail branches, in daily use by branch operators serving 100k+ customers, with new customers added continuously.

Where does it fit?

This build is part of my Hiveworx work. The career journey shows where it sits in the timeline, the CV lists it alongside my roles, and the about page covers background and skills.

related case studies