How siesta-hazel/traceflow works
TraceFlow is an inventory and shipment management dashboard. A user works in the React dashboard to view and maintain stock, fulfill an order, and update shipment status; the ASP.NET API handles those requests and persists changes through EF Core. The graph includes the documented inventory and shipment capabilities. Source excerpts show controller-to-context operations and the frontend’s shipment mutations; some frontend loading details and database-provider behavior are only represented where documented or configured.
Main entry points: TraceFlowDbContext.cs EF data context · Program.cs API host · App.jsx Dashboard UI · InventoryController.cs Inventory endpoints
Components 10
Dashboard
- Dashboard UI
frontend/src/App.jsx
API workflows
- Inventory endpoints
TraceFlow.API/TraceFlow.API/Controllers/InventoryController.cs - Shipment endpoints
TraceFlow.API/TraceFlow.API/Controllers/ShipmentsController.cs
Domain and persistence
- EF data context
TraceFlow.API/TraceFlow.API/Data/TraceFlowDbContext.cs - Product model
TraceFlow.API/TraceFlow.API/Models/Product.cs - Shipment model
TraceFlow.API/TraceFlow.API/Models/Shipment.cs - Request DTOs
TraceFlow.API/TraceFlow.API/Models/DTOs.cs - SQLite database
API runtime
- API host
TraceFlow.API/TraceFlow.API/Program.cs
Other components
- Warehouse user
Connections 12
- Warehouse user → Dashboard UI: uses
README.md - Dashboard UI → Inventory endpoints: calls inventory API
README.md - Dashboard UI → Shipment endpoints: posts shipment updates
frontend/src/App.jsx - API host → Inventory endpoints: maps controllers
TraceFlow.API/TraceFlow.API/Program.cs - API host → Shipment endpoints: maps controllers
TraceFlow.API/TraceFlow.API/Program.cs - API host → EF data context: configures context
TraceFlow.API/TraceFlow.API/Program.cs - Inventory endpoints → EF data context: reads and writes
TraceFlow.API/TraceFlow.API/Controllers/InventoryController.cs - Shipment endpoints → EF data context: reads and writes
TraceFlow.API/TraceFlow.API/Controllers/ShipmentsController.cs - EF data context → Product model: maps entity
TraceFlow.API/TraceFlow.API/Data/TraceFlowDbContext.cs - EF data context → Shipment model: maps entity
TraceFlow.API/TraceFlow.API/Data/TraceFlowDbContext.cs - API host → SQLite database: configures SQLite
TraceFlow.API/TraceFlow.API/Program.cs - Shipment model → Product model: references product
TraceFlow.API/TraceFlow.API/Models/Shipment.cs