← Back to work

RegTech SaaS / In Production

KYC/AML RegTech platform

Led CRM, client onboarding and frontend modernisation for a multi-tenant screening platform. Reduced its initial Angular bundle from 10.4 MB to 3.8 MB and led the investigation into stalled screening requests.

Workstream lead at Luna Software Solutions

Initial Angular bundle
10.4 MB → 3.8 MB
Root-module declarations
229 → 36
Playwright end-to-end tests
128

The problem

The platform screens people and companies against politically exposed person, sanctions and adverse-media sources. As it grew, the frontend loaded too much code up front, tenants needed configurable screening during the CRM lifecycle, and some third-party screening requests stalled.

What I built

A smaller Angular entry point

I split features into lazy-loaded modules and standalone components, removed unused dependencies, and upgraded Angular from 18 to 22 in reviewable stages. I established a test baseline with Vitest and Playwright, using API mocks generated from OpenAPI schemas.

Tenant-configurable CRM and onboarding

I led the CRM workstream through deployment and built a trigger engine that starts screening when a tenant's configured sales stage is reached. I also led the staged port of an onboarding flow builder, applicant portal and tenant branding controls.

Screening incident investigation

I matched broker fault timestamps against a client test run and traced the stalled work to several messaging faults. I led fixes to retry ordering and message routing, then replayed client requests to verify the recovery.

Architecture and trade-offs

ASP.NET Core microservices use PostgreSQL and MassTransit over RabbitMQ, with AWS ECS and OpenTofu for deployment and infrastructure.

Screening runs asynchronously so a slow provider call does not hold up a CRM stage change. The consumer records each run and handles redelivery idempotently. The trade-off is that the screening outcome arrives after the stage change, so its status needs to be visible to users.

Outcome

  • The production build’s initial Angular bundle fell from 10.4 MB to 3.8 MB, and root-module declarations fell from 229 to 36.
  • Established a baseline of 169 Vitest unit tests and 128 Playwright end-to-end tests.
  • Tenants can configure when screening starts during the CRM lifecycle, and applicants can use a branded onboarding portal.