Developer Documentation
Architecture overviews, pricing internals, data model reference, maintenance guides, and interactive API reference for Sixième Étoile.
Welcome to the Developer documentation space for Sixième Étoile — the VTC transport ERP platform.
This space targets two audiences:
- Platform developers building features or integrations on top of the system.
- Maintainers responsible for evolving the codebase over time.
What you'll find here
Architecture
The monorepo layout (pnpm workspaces + Turbo), the five apps, the six shared packages, and the Turbo-leaf isolation rules that keep apps/docs decoupled from the business apps at build time.
Pricing Engine
Internals of the two pricing methods (Fixed Grid and Dynamic), zone-conflict and multiplier-aggregation strategies, the shadow calculation (segments A/B/C), and the cost model (fuel, tolls, wear, staffing, parking).
Data Model
The Prisma multi-file schema layout, core entities and their relationships, and non-obvious-semantics callouts — including HT/TTC conventions for QuoteLine, the decimal vatRate encoding, and the nullable Mission.quoteId.
Maintenance Guides
When and how to update each major subsystem, the configuration-first principle, the Prisma schema-change procedure, and how the FR→page traceability matrix signals when documentation itself must be updated.
User documentation (operators, agencies, drivers, customers) lives in the User documentation spaces and is maintained separately from this Developer space.