Case study · Trinergy Digital · 2025 – now

Mulaaa

On a live platform that moves real money, I make sure every withdrawal is paid exactly once, and every change reaches production safely.

Earned wage access for Malaysia: employees withdraw part of the salary they've already earned, before payday, paid straight to their bank. One backend, four apps.

Full stack · the API, the portal and the app

a working copy · try it · demo data

live · demo data

Confirmed twice. Paid once.

My part

I work full stack across the API, the portal and the mobile app, and take care of how its changes reach production; every release follows the runbooks and checklists I wrote, its security overhaul included. I led the API's upgrade from .NET 6 to .NET 10, merging a parallel modernisation branch on the way and keeping its tests passing. I built the attendance pipeline that decides how much each employee can withdraw, and shipped new features across the portal and the app, from the admins' controls over payouts to a redesigned portal. I've worked on it since January 2025; it was live before I joined.

The brief

Companies sign up, and their employees withdraw part of the salary they've already earned, before payday, as real bank payouts through a payment gateway. Attendance decides how much each employee can take. And it holds the most sensitive data there is: national ID numbers, salaries, bank accounts and home addresses.

The hard part

Money must never move twice. However a withdrawal is confirmed, and however many times, only one payout can ever exist for it. Withdrawals are idempotent and run under locks, so a repeat is recognised and turned away, and a unique index in the database guarantees it underneath.

confirmthe applock · idempotent · one payoutpayment gatewaypaid once the same withdrawal again: turned away the appconfirmlock · idempotent · one payoutpayment gatewaypaid once the same withdrawal again: turned away
  1. 1 the same withdrawal, confirmed twice
  2. 2 a lock and idempotency let only one through
  3. 3 paid once; the repeat is turned away

Hardening it, live

A security overhaul of a system that moves real money and holds the most sensitive data there is, shipped without downtime and without pausing a single payout. Stronger sign-in, tighter access between companies and safer handling of data, rolled out step by step through UAT to production.

Choices

  1. A switch, not a phone call
    Over a developer on call

    When the payment gateway went down, the admins rang us again and again to turn payouts off and on. So I built them the switches: payouts automated or manual, withdrawals on or off, and the app shows employees a notice.

  2. Paid once, by the database
    Over a check in code

    Two requests arriving at once can both pass a check in code. A unique index can't be raced, so "only once" holds even if the code is wrong.

  3. Releases in order
    Over each repo on its own

    With real money moving, code that expects a column that isn't there yet is an outage. The SQL goes first, reviewed by hand, then the code, by a checklist.

Next timePut the database's guarantees in before the features, not after.

What it is

API: ASP.NET Core on .NET 10 over SQL Server: employers and their sub-companies, attendance, withdrawals from request through OTP confirmation to payout and reconciliation, insurance, messaging and push notifications.

App: Ionic and Angular, on iOS and Android, for employees.

Portal: Vue 3, for the platform's admins and for employers, each kept to its own company's data.

Website: Nuxt.

Built with

Two environments, UAT and production; every change passes through both.

  • ASP.NET Core · .NET 10
  • EF Core · Dapper · SQL Server
  • Vue 3 (the portal)
  • Ionic · Angular · Capacitor (the app)
  • Nuxt 3 (the website)
  • JWT · two-factor · OTP by SMS
  • locks · idempotency
  • AWS S3 · push notifications
  • Docker · Azure Pipelines

Open to conversations about senior roles and interesting projects. Remote or relocation.

English, Bangla, Hindi/Urdu