BSquared²
Fortium·Lead Developer·2025·shipped

Fortium

A multi-application client platform built as a Turbo monorepo — several Next.js frontends, a NestJS backend, and end-to-end test coverage where it matters.

Next.jsNestJSTypeScriptTurboPlaywrightMulti-app
Fortium platform

The brief

Fortium needed a single platform that several distinct user-facing apps could be built into — each app sharing a backend, a design system, and a deployment pipeline, but presenting its own focused workflow to its own audience.

What I built

The platform end-to-end, structured as a Turbo monorepo:

  • Several Next.js frontends sharing a common UI library and design tokens — each app focused on one audience without duplicating the underlying work
  • A NestJS backend serving all of them, with typed contracts so the frontends consume the API safely
  • Turbo for orchestrating the build pipeline — fast incremental builds across all apps in CI
  • Playwright end-to-end coverage across the user flows that matter most
  • Vitest for unit tests, with shared test utilities across packages
  • Self-hosted deployment via Docker, fronted by a reverse proxy

Outcome

Fortium is shipped and in active use. The monorepo structure has paid off as the platform has grown — adding a new app costs a fraction of what it would as a standalone codebase, because the foundations are already solid and the patterns are already proven.