How suxrobgm/logistics-app works
LogisticsX is a multi-tenant trucking fleet-management product. Its principal workflow is dispatching a load, assigning work to a driver, exposing tracking to customers, and preparing an invoice after delivery. The README also documents AI dispatch and copilot, load-board integrations, accounting and payments, payroll, fuel, compliance, fleet, and multiple client apps. The graph combines those documented capabilities with sampled mediator, persistence, tax-preview, and LLM internals; unsampled implementation links are dashed rather than asserted as inspected calls.
Main entry points: Modules Loads and dispatch · Logistics.API Logistics API · Invoices Invoices and tax · Logistics.Application Application handlers
Components 26
Product entrypoints
- TMS and driver apps
src/Client - Customer portal
src/Client - Logistics API
src/Presentation/Logistics.API - MCP server
src/Presentation/Logistics.McpServer - Telegram bot
src/Presentation/Logistics.TelegramBot
Fleet and dispatch
- Loads and dispatch
src/Core/Logistics.Application/Modules - Routing and tracking
src/Infrastructure/Logistics.Infrastructure.Routing - Load-board search
src/Core/Logistics.Application/Modules/Integrations/LoadBoard - Fleet and maintenance
src/Core/Logistics.Domain/Entities
Money and compliance
- Invoices and tax
src/Core/Logistics.Application/Modules/Financial/Invoices - Payroll
src/Core/Logistics.Application/Modules/Financial - Payments and payouts
src/Core/Logistics.Application/Modules/Financial/Payments - Compliance and IFTA
src/Core/Logistics.Application/Modules/Compliance - Accounting sync
src/Core/Logistics.Application/Modules/Integrations/Accounting
AI and integrations
- AI dispatch agent
src/Core/Logistics.Application.Abstractions/AIDispatch - AI copilot
src/Core/Logistics.Application.Abstractions/AICopilot - LLM client
src/Infrastructure/Logistics.Infrastructure.AI/Llm/LlmClient.cs - Broker negotiation
src/Core/Logistics.Application/Modules/Integrations/Negotiation
Application and data
- Request mediator
src/Core/Logistics.Mediator/Mediator.cs - Request pipeline
src/Core/Logistics.Mediator/Internal/RequestPipeline.cs - Application handlers
src/Core/Logistics.Application - Tenant data access
src/Core/Logistics.Domain/Persistence/ITenantUnitOfWork.cs - Repository
src/Infrastructure/Logistics.Infrastructure.Persistence/Repositories/Repository.cs - Domain entities
src/Core/Logistics.Domain/Entities - Blob storage contract
src/Core/Logistics.Application.Abstractions/Storage/IBlobStorageService.cs
Other components
- Carrier users
Connections 32
- Carrier users → TMS and driver apps: use
README.md - Carrier users → Customer portal: track loads
README.md - TMS and driver apps → Logistics API: request operations
- Customer portal → Logistics API: request tracking
- Logistics API → Request mediator: dispatch requests
src/Presentation/Logistics.API/Controllers/InvoicesController.cs - MCP server → Request mediator: dispatch requests
- Telegram bot → Request mediator: dispatch requests
- Request mediator → Request pipeline: invokes
src/Core/Logistics.Mediator/Mediator.cs - Request pipeline → Application handlers: resolves handler
src/Core/Logistics.Mediator/Internal/RequestPipeline.cs - Application handlers → Tenant data access: accesses tenant data
src/Core/Logistics.Application/Modules/Integrations/Negotiation/Queries/PreviewCounterOffer/PreviewCounterOfferHandler.cs - Tenant data access → Repository: provides repositories
src/Core/Logistics.Domain/Persistence/ITenantUnitOfWork.cs - Repository → Domain entities: queries and updates
src/Infrastructure/Logistics.Infrastructure.Persistence/Repositories/Repository.cs - Logistics API → Loads and dispatch: submit dispatch work
src/Presentation/Logistics.API/Controllers/InvoicesController.cs - Loads and dispatch → Routing and tracking: plan routes
- Loads and dispatch → Fleet and maintenance: assign fleet
README.md - Loads and dispatch → Customer portal: share tracking
README.md - Loads and dispatch → Load-board search: search listings
README.md - Loads and dispatch → AI dispatch agent: request planning
README.md - Logistics API → Invoices and tax: request invoicing
src/Presentation/Logistics.API/Controllers/InvoicesController.cs - Invoices and tax → Application handlers: handled by
src/Core/Logistics.Application/Modules/Financial/Invoices/Queries/PreviewInvoiceTax/PreviewInvoiceTaxHandler.cs - Application handlers → Tenant data access: loads customer
src/Core/Logistics.Application/Modules/Financial/Invoices/Queries/PreviewInvoiceTax/PreviewInvoiceTaxHandler.cs - Application handlers → Invoices and tax: calculate preview tax
src/Core/Logistics.Application/Modules/Financial/Invoices/Queries/PreviewInvoiceTax/PreviewInvoiceTaxHandler.cs - Invoices and tax → Payments and payouts: collect payment
README.md - Invoices and tax → Payroll: coordinate finance
README.md - Invoices and tax → Accounting sync: sync accounts
README.md - Logistics API → Compliance and IFTA: request compliance operations
- Compliance and IFTA → Fleet and maintenance: use fleet records
src/Core/Logistics.Application/Modules/Compliance/Dvir/Commands/ReviewDvirReport/ReviewDvirReportHandler.cs - AI dispatch agent → LLM client: use language models
- AI copilot → LLM client: use language models
- Broker negotiation → Application handlers: compose preview
src/Core/Logistics.Application/Modules/Integrations/Negotiation/Queries/PreviewCounterOffer/PreviewCounterOfferHandler.cs - Broker negotiation → Tenant data access: read decisions and listings
src/Core/Logistics.Application/Modules/Integrations/Negotiation/Queries/PreviewCounterOffer/PreviewCounterOfferHandler.cs - Blob storage contract → Repository: storage implementation