Portability Strategy
Zero vendor lock-in architecture designed for rapid iteration and deployments without code changes.
This stack is built on standard, widely supported technologies so you can move between deployment platforms without code changes. Start with Vercel + Supabase for speed, then migrate to Google Cloud or AWS when you need stronger production security controls.
Portability keeps options open as requirements change: you can pick the right provider for security (KMS/VPC/HSM), cost, and compliance without rewriting the system.
Technology choices for portability:
- Runtime (Node.js LTS): Runs on Vercel, GCP, AWS, or on-prem with no platform-specific code.
- API (Fastify): Standard HTTP service that can be deployed as a serverless function, container, or VM.
- Web (Next.js): Runs on Vercel or self-hosted Node.js; avoid vendor-only features if you need easy migration.
- Database (PostgreSQL + Drizzle): Standard Postgres and plain SQL; migration is typically switching
DATABASE_URL.
Deployment options
Vercel and Supabase are supported out of the box. Configure environment variables and deploy via the standard Vercel or Supabase flows.
Frontend Architecture
Next.js (App Router, RSC-first) with shadcn/ui + Tailwind CSS in @repo/ui and type-safe API consumption via @repo/core + @repo/react.
ESM & TypeScript Strategy
ESM-first module architecture with TypeScript v5.9.3, dual-mode exports, subpath exports, ts-reset, and tsgo (TypeScript Go compiler) for fast builds and typechecks.