Phase 00 scaffold

TradingApp

Monorepo scaffold for the trading platform control plane, operator console, and backend service boundaries.

Web shell

Operator Console

Next.js shell prepared for dashboards, read models, and operator workflows without shipping domain logic early.

Core packages

Backend Boundaries

Dedicated packages for shared core types, strategy runtime scaffolding, and execution scaffolding aligned with the service map.

Environment

Dual Database Contract

Supabase stays the control plane while the VPS database owns market, feature, telemetry, and replay data.

Control plane

Supabase

Store users, strategies, deployments, orders, positions, trades, reports, and UI read models here.

Hot path

VPS Postgres

Keep market snapshots, feature snapshots, telemetry, and replay datasets out of Supabase and in the VPS database.