How it works
Walk the product as a diagram
Click a flow, then step through it. Each step shows who acts, which API runs, and what is stored. Notifications and wallet moves fire from registered events—not from controllers.
Every actor (company, customer, driver, admin) uses the same login URL. The token is a JWT that lasts one month. Later calls send Authorization: Bearer {token}.
Tip: use ← → keys, or Play to auto-advance. Click a node in the diagram to jump to that step.
How records link
Click an entity to see what it owns
Company data is tenant-scoped. There is no global company query scope—callers filter by company_id.
Company
Connects to: Customers, Drivers, Assets, Orders, Trucks, Subscription
Tenant. Dashboard needs approved + active. Card payments need Finix merchant completed. Mutating jobs/orders may need an active subscription.
Request stack
What sits under every API call
Written recap