Skip to main content
back to projects
2025-2026

Terravive

Multi-tenant, AI-assisted site-intelligence SaaS for architects, built end-to-end as a type-safe Turborepo monorepo (NestJS 11 API + Next.js 16 RSC admin).

Terravive
Next.js 16NestJS 11Drizzle ORMPostgreSQLOpenAPITanStack QueryStripeAWS S3Turborepo

// problem

Architects needed a multi-tenant platform to capture and analyze site intelligence, with strict data isolation, billing, and a fully type-safe contract between the API and the admin app.

// solution

Architected a type-safe Turborepo monorepo where the Drizzle/PostgreSQL schema propagates types through an OpenAPI contract to fully typed TanStack Query hooks. Hardened it with JWT + OAuth (Google/GitHub), RBAC, multi-tenant data isolation, domain-event-driven audit logging, Stripe billing, and AWS S3 presigned uploads.

// outcomes

  • [✓]Live multi-tenant SaaS with end-to-end type safety
  • [✓]Secure auth (JWT/OAuth, RBAC) with multi-tenant isolation
  • [✓]Enforced CI quality gates (typecheck, oxlint/oxfmt, Vitest) for zero-warning merges

next project

Stedi