case study · in-progress · 2026 → present

Multi-tenant HRMS: RBAC & Audit Trails

Multi-tenant HRMS case study: NestJS and PostgreSQL with per-tenant isolation, role-based access control, an append-only audit trail and 100+ e2e tests.

Organisation
Fiqros
Period
2026 – Present
Status
In progress
Relevant to
Backend Lead / Architect, Freelance / Consulting
Tech stack
  • NestJS
  • TypeORM
  • PostgreSQL
  • TypeScript
  • RBAC
  • e2e testing

In one line

A multi-tenant HR platform with role-based access control and an audit/history architecture, backed by a large e2e test suite.

What problem did it solve?

HR systems accrue sensitive, regulated data across many tenants, so changes must be attributable and reversible, and access tightly scoped.

How was it built?

NestJS + TypeORM over PostgreSQL with per-tenant isolation, an RBAC layer, and an append-only audit/history model. 100+ end-to-end tests guard behaviour.

What did the work involve?

  • Per-tenant isolation over PostgreSQL with TypeORM
  • Role-based access control across the domain model
  • Append-only audit/history model for attributable, reversible change

What was the outcome?

Outcome details and metrics for this build are not published here. They are available on request: get in touch.

Where does it fit?

This build is part of my Fiqros work. The career journey shows where it sits in the timeline, the CV lists it alongside my roles, and the about page covers background and skills.

related case studies