← All notes

April 2026

A Turbo monorepo for a real-time platform

When front, back, connectors and a data pipeline share types and logic, a well-tooled monorepo avoids drift between packages.

A real-time platform often combines several pieces: interface, API, connectors to external sources, data processing. Splitting them into separate repos multiplies desynchronisation.

What Turbo solves

A monorepo groups these packages, shares types and common logic, and orchestrates builds. Turbo caches tasks: you only rebuild what changed, locally and in CI.

Contracts between pieces become shared types. An API change breaks the client build immediately, not in production.

The sharing trap

Over-sharing creates coupling: one oversized common package and everything redeploys. You share stable contracts and utilities, not volatile business logic.

The monorepo is not an end, it is a consistency tool. It pays when the pieces evolve together.