Scalex Internal Docs
Technical knowledge base for the Scalex platform — firmware integration, development environment, infrastructure, and API reference.
Sections
Terminal API
Integration guide for scale terminal firmware — order flows, commands, WebSocket realtime, and state synchronization.
- Integration Guide — full firmware integration walkthrough
- Order Flows — terminal-driven vs user/mobile-driven flows
- Scale Commands —
push_weight,pull_state,upload_photos - WebSocket Realtime — WebSocket connection,
phx_join, heartbeat, reconnect - Known Scales — production and test scale IDs
Development
- Supabase Setup — local stack, remote dev, migrations, seeding
Infrastructure
- API Portal — Swagger UI on Vercel, env vars, CDN rewrites
- Monorepo — apps, packages, and tooling overview
API Reference
Live Swagger UI (authentication required):