PRJ_009
009
Fraud Detection · Full-Stack · React/TypeScript
Freeing Returns Fraud Platform
Freeing Returns · Remote · Oct, 2022 – Oct, 2023
Overview

Converted an older React/JavaScript fraud-detection codebase to React 18 and TypeScript with a UI rebuilt from scratch, connected to the fraud-detection algorithms, and built an investigative drill-down UI so analysts can trace a flag back to its source — including entity select, filter and drag-and-drop. On the backend I built the QueryBuilder service: a configurable query builder with saved configurations, query history, schema versioning and structured logging, in a GraphQL microservices architecture.

The Problem

The client had an older codebase with one completed service. They needed an MVP of a fraud-detection platform, and analysts needed a way to investigate flagged activity back to its source — not just a score.

Key Metrics
300+
Store retailer (first MVP)
6+
GraphQL microservices
React 18
Full TypeScript rebuild
↓
Deployment downtime reduced
Process & Timeline
Phase 1
Rebuild the frontend
Converted the legacy React/JS codebase to React 18 and TypeScript with a modern UI rebuilt from scratch, wired to the fraud-detection algorithms.
Phase 2
Analyst drill-down
Built the investigative drill-down UI — entity select, filter and drag-and-drop — so analysts trace a flag to its source.
Phase 3
QueryBuilder service
Built the configurable QueryBuilder backend: data sources, saved queries, history and schema versioning, in a GraphQL Apollo Federation subgraph.
Phase 4
Scale & reliability
Added Redis caching and pub/sub, ran multiple instances of key services and used rolling deployments to cut downtime.
Tech Stack
React 18TypeScriptApollo ClientRedux ToolkitMaterial UINode.jsGraphQLPostgreSQLRedisGoogle Cloud
Critical Self-Evaluation
We absorbed constant demo-driven changes across prospects and worked weekends to keep up. The client was happy, but weekend pushes are a sign the scope process wasn't working. I'd now agree a change budget per sprint, log every demo-driven request with its cost in days, and ask the client to trade something out for each new one. Building the smallest sellable slice first is what got a working MVP to a 300-store US retailer before the funding was withdrawn.