Architecture

The operating spine behind the premium surface.

The frontend can look refined because the stack underneath stays disciplined: clean boundaries, private storage, and a dedicated worker lane for heavy jobs.

Step 01Web tier

Next.js App Router handles the marketing site, auth pages, workspace shell, BFF routes, and streaming UI.

Step 02Data and auth

Supabase provides Postgres, Auth, Storage, RLS, GraphQL, and queue-backed coordination.

Step 03Heavy processing

Cloud Run workers own OCR, office conversion, normalization, embeddings, and export generation.