SavvySolve Docs

Architecture Overview

System architecture and foundational technical decisions for SavvySolve.

Architecture Overview

SavvySolve is built on a modern TypeScript stack optimized for developer experience, type safety, and deployment flexibility. This section covers the foundational architecture decisions that shape the entire platform.

Design Principles

The architecture reflects three core principles from our product requirements:

  1. Friction-free entry - Users should get help immediately without creating accounts or navigating complex flows. This drives our choice of public procedures, serverless infrastructure, and edge deployment.

  2. Solver efficiency - Solvers need fast, reliable tools. We chose technologies with excellent DX and minimal configuration overhead so solvers can focus on helping users, not fighting tooling.

  3. Portability - We use services with standard APIs (Postgres, S3, WebSocket) so business logic remains portable. Every choice includes a documented migration path to avoid vendor lock-in.

Tech Stack

LayerTechnologyRationale
RuntimeBunFaster than Node.js, native TypeScript support, better DX
FrameworkNext.js 16+ (App Router)Modern React with SSR, deployable anywhere
StylingTailwind CSS v4 + shadcn/uiRapid UI development with accessible components
APItRPC v11End-to-end type safety without code generation
DatabaseNeon + Drizzle ORMServerless Postgres with type-safe queries
ValidationZod v4Runtime type safety, integrates seamlessly with tRPC
AuthClerkDrop-in authentication with user management
PaymentsStripeCheckout for users, Connect for solver payouts
Voice/SMSTelnyxSMS notifications, WebRTC calling, and bridge calls
HostingVercelServerless deployment, built for Next.js
Real-timeAblyManaged WebSocket for chat and signaling
Object StorageCloudflare R2S3-compatible storage for recordings, uploads

Documentation

On this page