Multi-Vertical Architect
Let’s talk
Cross-Platform & Mobile

Gold Bazar: Cross-Platform Gold Laboratory Suite

Modernizing the gold testing industry by untethering jewelers from legacy desktop systems with a unified, lab-grade Mobile + Desktop ecosystem.

Electron Terminal
LAB_SESSION#021 • SG=19.29g/cm³
density(raw)=19.18 → purity=99.4%
price_cache: HIT • ticker: LIVE
React Native Lab Console
Ratti/Masha/TolaSynced
Tola
12.25
Masha
0.50
Ratti
1.00
GitHubComplexity: 9/10
React NativeElectronMERNREST APIsState Management
Challenges

Engineering a lab-grade physics workflow (Archimedes’ Principle / specific gravity) and localized weight math (Ratti/Masha/Tola) with edge-case borrowing, while keeping the UI fast and reliable across mobile + desktop devices.

The gold testing market is trapped in offline, decade-old desktop software that forces lab work to stay behind a single counter. Gold Bazar replaces that friction with a mobile-first revolution: a React Native lab console paired with an Electron desktop terminal—kept in sync.

React Native
Electron
MERN
REST APIs
State Management
Localized Math — Conversion + Borrowing
type Units = { tola: number; masha: number; ratti: number };

const RATTI_PER_MASHA = 8;
const MASHA_PER_TOLA = 12;

export function normalizeUnits(u: Units): Units {
  // Borrowing logic: if impurity/kaat subtraction makes a unit negative,
  // borrow from the next higher unit and re-normalize.
  let tola = u.tola;
  let masha = u.masha;
  let ratti = u.ratti;

  while (ratti < 0) {
    masha -= 1;
    ratti += RATTI_PER_MASHA;
  }

  while (masha < 0) {
    tola -= 1;
    masha += MASHA_PER_TOLA;
  }

  // carry forward if values exceed their base
  if (ratti >= RATTI_PER_MASHA) {
    masha += Math.floor(ratti / RATTI_PER_MASHA);
    ratti = ratti % RATTI_PER_MASHA;
  }
  if (masha >= MASHA_PER_TOLA) {
    tola += Math.floor(masha / MASHA_PER_TOLA);
    masha = masha % MASHA_PER_TOLA;
  }

  return { tola, masha, ratti };
}
Tuned for real lab workflows where fractional units and impurity subtraction must stay consistent across mobile + desktop.
Architecture

A cross-platform laboratory suite: a React Native lab console for on-bench testing, an Electron terminal for high-throughput workflows, and shared domain logic for specific gravity algorithms, localized unit conversion, and market intelligence.

Designed a shared domain layer so physics calculations, localized conversion rules, and price/ticker logic run consistently across React Native and Electron—without rewriting core math or compromising accuracy.

Results
Lab-Grade AccuracyLive Arbitrage DataZero-Manual-Error Calculation

Delivered a cross-platform Gold Laboratory OS that enables lab-grade accuracy, live arbitrage data visibility, and zero-manual-error calculation—replacing fragile manual workflows and outdated software.

Performance & Scalability
  • Live ticker caching strategy to keep pricing responsive under unstable connectivity
  • Optimized UI render paths for high-frequency lab workflows