How emoss08/trenova works
Trenova is a self-hostable transportation management system for U.S. trucking carriers. Its principal order-to-cash workflow starts with shipment entry, proceeds through dispatch and rating, then billing, settlement, and accounting; compliance and document automation support that lifecycle. The repository also includes web and driver-dashboard clients, a Go TMS API, and integrations. The graph uses README-documented capabilities and relationships; sampled source confirms permission-engine and document-template responsibilities, but not their wiring to the broader API.
Main entry points: tms TMS API · palette-model.ts Web client · router.tsx Driver dashboard · rateengine.go Rating rules
Components 20
User applications
- Web client
client/apps/web/src/components/command-palette/palette-model.ts - Driver dashboard
client/apps/dash/src/router.tsx
Transportation operations
- Shipment entry
services/tms - Dispatch planning
services/tms - Rating rules
services/tms/internal/core/ports/services/rateengine.go - Compliance records
services/tms - Document automation
services/tms/pkg/templateengine/engine.go
Billing and finance
- Billing and invoicing
services/tms - Driver settlement
services/tms - Accounting
client/apps/web/src/components/accounting/financial-report-section.tsx
TMS platform
- TMS API
services/tms - Access permissions
services/tms/internal/core/services/permission/engine.go - PostgreSQL
- Meilisearch search
- Redis updates
Integrations
- EDI partner workflows
services/edi-partner-sim/internal/sim/server.go - Samsara telematics
shared/samsara/client.go - PC*MILER routing
shared/pcmiler/client.go - FMCSA services
shared/fmcsa/client.go
Other components
- Carrier staff
Connections 20
- Carrier staff → Web client: uses
README.md - Carrier staff → Driver dashboard: uses
README.md - Web client → TMS API: submits work
README.md - Driver dashboard → TMS API: uses
- TMS API → Shipment entry: supports entry
README.md - Shipment entry → Dispatch planning: dispatches
README.md - Dispatch planning → Rating rules: rates loads
README.md - Rating rules → Billing and invoicing: informs billing
README.md - Billing and invoicing → Driver settlement: supports pay
README.md - Driver settlement → Accounting: feeds accounting
README.md - TMS API → PostgreSQL: persists records
README.md - TMS API → Access permissions: checks access
- TMS API → Document automation: renders templates
- TMS API → Compliance records: manages records
README.md - TMS API → Meilisearch search: supports search
README.md - TMS API → Redis updates: publishes updates
README.md - Dispatch planning → Samsara telematics: integrates fleet data
README.md - Dispatch planning → PC*MILER routing: uses routing
README.md - Compliance records → FMCSA services: checks compliance
- TMS API → EDI partner workflows: supports EDI
README.md