Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/ShohjahonSohibov/repo-for-agent/llms.txt

Use this file to discover all available pages before exploring further.

UpdaterAgent is a Transportation Management System (TMS) backend built on .NET 8. It manages the full logistics lifecycle — loads, drivers, fleet, email processing, and ticketing — while integrating with ELD platforms, routing engines, an AI analysis service, and a Telegram bot for driver notifications. The system is structured around Clean Architecture principles, keeping business logic decoupled from infrastructure and external services.
All external communication travels over HTTPS. Inbound webhook payloads from QuickManage are verified with HMAC-SHA256 signatures before processing.

Technology stack

CategoryTechnologyRole
Backend.NET 8 / ASP.NET CoreWeb API framework with JWT authentication and SignalR hubs
ORMEntity Framework Core 8 + DapperEF Core for complex queries; Dapper for performance-critical reads
DatabasePostgreSQL 16Primary relational store for all domain data
Background processingHangfire11+ recurring and scheduled jobs for imports, notifications, and monitoring
Real-timeSignalRWebSocket-based load status updates pushed to connected clients
LoggingSerilog + Grafana LokiStructured logging with log aggregation; Telegram for critical error alerts

External integrations

ServicePurposeAuthentication
QuickManage TMSImport loads, drivers, trucks, and brokers; receive inbound webhooksBearer token + HMAC-SHA256 webhook verification
Zippy ELDReal-time vehicle position tracking (polling every 25 min)API credentials
Samsara ELDAlternative ELD platformAPI token
UTrackin ELDVehicle trackingOAuth 2.0
Telegram Bot APIDriver notifications, group alerts, hourly load status messagesBot token
Nylas Email APIEmail processing and ratecon extraction via inbound webhooksOAuth 2.0
Google Maps APIRoute optimization, geocoding, and ETA calculation (fallback routing)API key
OSRMOpen-source routing engine (primary route calculation)None (self-hosted)
ValhallaAlternative routing engineNone
NominatimAddress geocoding (fallback)None
AskAIAI-powered analysis of ratecons and ticket suggestionsAPI key
Routing uses a hybrid strategy: OSRM is tried first (free, self-hosted). If the OSRM distance exceeds twice the straight-line distance, the system falls back to Google Maps, then Valhalla or HERE if Google fails.

Explore the architecture

Clean Architecture

Four-layer dependency model, service patterns, result types, and DI registration.

Multi-tenancy

Automatic row-level tenant isolation via EF Core global query filters.

Security

JWT authentication, refresh tokens, RBAC permissions, and session management.

Build docs developers (and LLMs) love