Back to ProjectsPlatform

Cortex

Internal developer platform providing standardized microservices foundation. Handles multi-tenancy and authentication out-of-the-box, accelerating product launches.

NestJSPostgreSQL RLSMulti-tenant

The Problem

Developer velocity was blocked because every new microservice required 2 weeks to set up authentication, logging, tracking, and database isolation from scratch.

System Architecture

Cortex is a robust NestJS monorepo module that auto-injects PostgreSQL RLS rules, Pino logging, and JWT authentication middleware across hundreds of distinct services on boot.

System architecture diagram — coming soon

Technical Challenges & Trade-offs

Abstracting the tenant-ID from thousands of concurrent varying REST and gRPC requests down to the Prisma/Postgres layer safely in an ephemeral context.

Business Impact & Metrics

Accelerated company-wide product launch times by 3x by providing a 'batteries-included' internal developer platform.