Skip to main content
Back to Projects

2025-2026

Terravive

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).

My role

Full-Stack Engineer — end-to-end architecture and delivery

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.js 16NestJS 11Drizzle ORMPostgreSQLOpenAPITanStack QueryStripeAWS S3Turborepo