Stacks Runtime Architecture

One TypeScript framework from local development to cloud deployment

Stacks application runtime Developer TypeScript project Buddy CLI dev / build / deploy Stacks Cloud server or serverless Web Client browser rpx + tlsx pretty HTTPS URLs stx views + components Router routes + middleware Actions application logic ORM models + queries Database SQLite / SQL / DynamoDB Craft desktop + tray Events + Queues async application work Workers jobs + schedules provision + deploy HTTPS HTTPS typed queries dispatch Legend External Backend Cloud Frontend Security Database Message bus

One application model

  • • stx UI and router actions share TypeScript
  • • Craft reuses the same pretty HTTPS application URLs

Data and async work

  • • Model-driven migrations feed the ORM
  • • Events, queues, jobs, and schedules stay first-party

Operations

  • • Buddy owns development, builds, diagnostics, and releases
  • • Stacks Cloud provisions server and serverless targets