How aliqadorah/direct-service-transportation-system works
DirectService is a multi-tenant business application combining transportation operations, accounting, and platform administration. Users enter through the web client and server; domain services support operational records, invoicing and cash, accounting and reports, while platform services handle identity, companies, and tenants. The tree also shows shared collaboration, imports, files, and reporting capabilities. Source evidence is limited: the README is empty and many modules were not sampled, so uncertain wiring is omitted or marked unverified.
Main entry points: AccountingEndpoints.cs Accounting API · MasterDbContext.cs Master database · DirectService.Web/Program.cs Web host · DirectService.Web.Client/Program.cs Web client
Components 27
Web experience
- Web client
src/Hosts/DirectService.Web.Client/Program.cs - Web host
src/Hosts/DirectService.Web/Program.cs - Auth endpoints
src/Hosts/DirectService.Web/Endpoints/AuthEndpoints.cs - Live collaboration
src/Hosts/DirectService.Web/Realtime/LiveHub.cs
Transportation operations
- Trips and masters
src/Modules/Transportation/DirectService.Transportation.Application/Trips/TripService.cs - Tariffs
src/Modules/Transportation/DirectService.Transportation.Application/Pricing/TariffService.cs - Transport invoicing
src/Modules/Transportation/DirectService.Transportation.Application/Invoicing/InvoiceService.cs - Cash and settlement
src/Modules/Transportation/DirectService.Transportation.Application/Cash/SettlementService.cs - Transport reports
src/Modules/Transportation/DirectService.Transportation.Application/Reports/StandardReportService.cs
Accounting
- Journal posting
src/Modules/Accounting/DirectService.Accounting.Application/Posting/PostingEngine.cs - Accounting books
src/Modules/Accounting/DirectService.Accounting.Application/Books/ChartOfAccountsService.cs - Payables and receivables
src/Modules/Accounting/DirectService.Accounting.Application/ApAr/ApArDocumentService.cs - Budgets
src/Modules/Accounting/DirectService.Accounting.Application/Budgets/BudgetService.cs - Ledger reporting
src/Modules/Accounting/DirectService.Accounting.Application/Ledger/LedgerReportService.cs - Accounting API
src/Modules/Accounting/DirectService.Accounting.Infrastructure/Http/AccountingEndpoints.cs - E-invoicing
src/Modules/Accounting/DirectService.Accounting.Infrastructure/EInvoicing/EInvoiceWorker.cs
Platform services
- Identity and sessions
src/Platform/DirectService.Platform.Application/Identity/AuthService.cs - Session lifecycle
src/Platform/DirectService.Platform.Application/Identity/SessionService.cs - Tenant lifecycle
src/Platform/DirectService.Platform.Application/Tenants/TenantLifecycleService.cs - Company settings
src/Platform/DirectService.Platform.Application/Companies/CompanySettingsService.cs
Shared infrastructure
- Master database
src/Shared/DirectService.Shared.Infrastructure/Persistence/MasterDbContext.cs - Database contract
src/Shared/DirectService.SharedKernel/IAppDbContext.cs - Global search
src/Shared/DirectService.Shared.Infrastructure/Collaboration/GlobalSearchService.cs - Spreadsheet tools
src/Shared/DirectService.Shared.Infrastructure/Files/SpreadsheetService.cs - Report builder
src/Shared/DirectService.Shared.Infrastructure/Reports/ReportBuilderService.cs - Exports
src/Shared/DirectService.Shared.Infrastructure/Collaboration/ExportService.cs
Other components
- Business user
Connections 23
- Business user → Web client: uses
src/Hosts/DirectService.Web.Client/Program.cs - Web client → Web host: calls API
- Web host → Auth endpoints: hosts
- Web host → Accounting API: hosts
- Web host → Master database: configures
src/Hosts/DirectService.Web/Program.cs - Auth endpoints → Identity and sessions: delegates to
- Identity and sessions → Database contract: uses
src/Platform/DirectService.Platform.Application/Identity/AuthService.cs - Session lifecycle → Database contract: uses
src/Platform/DirectService.Platform.Application/Identity/SessionService.cs - Database contract → Master database: implemented by
src/Shared/DirectService.SharedKernel/IAppDbContext.cs - Web client → Trips and masters: uses lookups
src/Hosts/DirectService.Web.Client/Program.cs - Trips and masters → Transport invoicing: supports
src/Modules/Transportation/DirectService.Transportation.Application/Invoicing/InvoiceService.cs - Tariffs → Transport invoicing: supports pricing
- Cash and settlement → Transport invoicing: settles
- Accounting API → Payables and receivables: routes to
- Accounting API → Budgets: routes to
- Accounting API → Ledger reporting: routes to
- Journal posting → Database contract: uses
src/Modules/Accounting/DirectService.Accounting.Application/Posting/PostingEngine.cs - E-invoicing → Payables and receivables: processes documents
- Accounting API → E-invoicing: configures
- Global search → Master database: queries
- Report builder → Master database: queries
- Exports → Master database: reads data
- Spreadsheet tools → Web client: provides file exchange