All work

Case study · Assessment platform · Re-architecture · NDA

Re-architecting an enterprise assessment platform

I reviewed the first version of the platform, proposed a new architecture across the front end and the back end, and led a team of five to rebuild it — writing the most critical modules myself, while still delivering my other projects.

Role
Architect & hands-on lead
Team
5 developers, supervised by me
Stack
.NET 8 · ABP · Angular 20
Scale
12 tenants · 10+ languages

The problem

The first version of the platform — authoring assessments and delivering them to candidates — was built by an external vendor. I reviewed the codebase at handover, front end and back end, to see how well it would support the roadmap.

It shipped on schedule, but each new feature and fix was getting harder than the last. The review pointed to a few root causes:

API design

Responses often didn't match what screens needed, some calls were slow, and endpoints had no consistent scope or standards.

Project structure

Four Angular projects where two or three would do, with duplicated components and services and several components sharing the same name.

Typed models

No shared interfaces, so what each API expected and returned wasn't explicit. Common data like the current user and company was fetched by each screen separately.

Subscription handling

RxJS subscriptions weren't cleaned up, which led to memory leaks, repeated requests and slower screens.

Component patterns

Shared containers carried per-screen logic, such as a global drawer that checked the route to decide what to show. Content projection or CDK portals fit this better.

Layout and styling

Fixed widths, mixed px and rem, and hard-coded colors rather than theme variables, plus nested scrolling. Screens didn't adapt well to different sizes.

Routing

Routes had no clear hierarchy and enter/exit behaviour varied, which made consistent page transitions hard to add.

Options I weighed

Keep fixing issues in the current codebase. Each fix was slowed by the structure underneath it.

Refactor in place. Without data contracts or a shared foundation, changes carried a high risk of side effects.

Rebuild on a new foundation. I prepared a plan with a timeline and the resources it needed, and was asked to lead it.

The design

Internal UI library first

Theme, layout and real form controls built once as a shared package, with variables for every color and size and responsive by default.

Micro frontends

The platform split into independently built parts, so the team could work in parallel and replace one area at a time.

API review with the back end

I reviewed the endpoints with the back-end team: rejected ones that didn't fit, retired others, specified new ones, and set one standard for scope and response shape.

Typed contracts

Interfaces for every API request and response, so each side knows exactly what it sends and gets back.

One chart protocol

A standard data format for every chart, so the back end sends the same shape and the front end renders any chart the same way.

Shared state, loaded once

User and company data fetched once and shared, with RxJS subscriptions that clean up after themselves.

Leading five developers while carrying my other projects meant I couldn't be the bottleneck. So I set the foundation first — the library, the naming and folder conventions, the routing hierarchy — and the team built in parallel on top of it. The module where a mistake would cost the most, I wrote myself: the proctoring front end, where a bug can cost a candidate their exam.

Outcome

bugs logged on the first version
~2,000
at our first release, mostly UI
200
open bugs at final go-live
5
concurrent test-takers
200+

What I'd change

I'd start reviews earlier. On any project built by another team or vendor, I now follow up throughout and review the code at regular checkpoints. Issues caught early are cheap to fix and leave room to act before deadlines are set.

Building something like this?

Say hello