How saimahmt03/logitrack works
LogiTrack is an ASP.NET service for inventory, order management, and user authentication. Its workflows accept API requests, delegate business operations to services, and use an EF Core context for persistent state; authentication also issues JWTs. The graph includes documented cache and hosting concerns. Source excerpts show service-to-storage behavior, but the README is empty and several runtime files were not excerpted, so uncertain routing and cache-refresh relationships are omitted.
Main entry points: LogiTrackContext.cs EF context · Program.cs Application host · ServiceOrder.cs Order operations · ServiceAuth.cs User auth
Components 24
API surface
- Auth endpoints
Controller/AuthServiceController.cs - Inventory endpoints
Controller/InventoryItemController.cs - Order endpoints
Controller/OrdeController.cs
Business services
- User auth
Service/ServiceAuth.cs - Inventory operations
Service/ServiceInventoryItem.cs - Order operations
Service/ServiceOrder.cs - Auth contract
Service/IServiceAuth.cs - Inventory contract
Service/IServiceInventoryItem.cs - Order contract
Service/IServiceOrder.cs
Persistence and cache
- EF context
Data/LogiTrackContext.cs - Data cache
Service/DataCacheService.cs - Cache refresh
Extension/CacheRefreshService.cs - Inventory item
Model/InventoryItem.cs - Order
Model/Order.cs - Ordered item
Model/OrderedItem.cs - User
Model/User.cs - User type
Model/UserType.cs
Authentication
- JWT manager
Utilities/JwtManager.cs - Token result
Utilities/TokenResult.cs
Runtime support
- Application host
Program.cs - Result handling
Common/ExceptionHelper.cs - Request logging
Middleware/RequestLoggingMiddleware.CS - Data seeding
Utilities/DataSeeder.cs
Other components
- API client
Connections 31
- API client → Auth endpoints: sends requests
- API client → Inventory endpoints: sends requests
- API client → Order endpoints: sends requests
- Auth endpoints → Auth contract: calls
Controller/AuthServiceController.cs - Inventory endpoints → Inventory contract: calls
Controller/InventoryItemController.cs - Order endpoints → Order contract: calls
Controller/OrdeController.cs - User auth → EF context: reads and writes
Service/ServiceAuth.cs - User auth → JWT manager: requests token
Service/ServiceAuth.cs - JWT manager → EF context: reads user type
Utilities/JwtManager.cs - JWT manager → Token result: returns token
Utilities/JwtManager.cs - Inventory operations → EF context: reads and writes
Service/ServiceInventoryItem.cs - Order operations → EF context: reads and writes
Service/ServiceOrder.cs - Order operations → Order: creates and queries
Service/ServiceOrder.cs - Order operations → Ordered item: creates
Service/ServiceOrder.cs - EF context → Inventory item: maps
Data/LogiTrackContext.cs - EF context → Order: maps
Data/LogiTrackContext.cs - EF context → Ordered item: maps
Data/LogiTrackContext.cs - EF context → User: maps
Data/LogiTrackContext.cs - EF context → User type: maps
Data/LogiTrackContext.cs - Data cache → EF context: loads data
Service/DataCacheService.cs - Cache refresh → Data cache: uses contract
Extension/CacheRefreshService.cs - Application host → EF context: configures
Program.cs - Application host → User auth: registers
Program.cs - Application host → Inventory operations: registers
Program.cs - Application host → Order operations: registers
Program.cs - Application host → Data cache: registers
Program.cs - Application host → Cache refresh: registers
Program.cs - Application host → Request logging: configures
Program.cs - User auth → Result handling: maps exceptions
Service/ServiceAuth.cs - Inventory operations → Result handling: maps exceptions
Service/ServiceInventoryItem.cs - Order operations → Result handling: maps exceptions
Service/ServiceOrder.cs