How unidentifiedsheep/ecommercespareparts works
ECommerceSpareParts is a .NET backend for spare-parts commerce, with catalog and warehouse operations, pricing, search, sales, and analytics. The clearest source-backed workflow here is warehouse route management: an API request is dispatched to an application query handler, which reads and projects route records. The README describes additional service capabilities, represented below as documented subsystems; their implementation paths and inter-service wiring are not present in the supplied tree. The analytics handler and S3 adapter provide examples of other internal and infrastructure layers.
Main entry points: GetStorageRoutesHandler.cs Route query handler · QueryChartDataSourceHandler.cs Chart query handler · StorageRoutesEndPoints.cs Storage routes API · StoragesEndPoints.cs Storage management API
Components 20
Warehouse operations
- Storage routes API
src/Services/Main/Main.Api/EndPoints/StorageRoutesEndPoints.cs - Route query handler
src/Services/Main/Main.Application/Handlers/StorageRoutes/GetStorageRoutes/GetStorageRoutesHandler.cs - Route repository
- Route projection
- Storage route entity
src/Services/Main/Main.Entities/Storage/StorageRoute.cs - Storage management API
src/Services/Main/Main.Api/EndPoints/Storages/StoragesEndPoints.cs - Route query validation
src/Services/Main/Main.Application/Handlers/StorageRoutes/GetStorageRoutes/GetStorageRoutesDbValidation.cs
Analytics
- Chart query handler
src/Services/Analytics/Analytics.Application/Handlers/ChartDataSources/QueryChartDataSourceHandler.cs - Chart source registry
- Chart data source
Platform services
- JSON serializer
src/Core/Abstractions/Interfaces/IJsonSerializer.cs - S3 storage adapter
src/Infrastructure/S3/S3StorageService.cs - S3 object storage
Documented services
- Main service
- Pricing and markup
- Product search
- Analytics service
- Public gateway
- Event messaging
Other components
- API caller
Connections 20
- API caller → Storage routes API: requests routes
- Storage routes API → Route query handler: dispatches query
- Route query handler → Route repository: reads routes
- Route query handler → Route projection: projects results
- Route repository → Storage route entity: queries entities
- Storage management API → Main service: exposes storage operations
- Route query validation → Route query handler: validates query
- Chart query handler → Chart source registry: resolves source
- Chart query handler → JSON serializer: deserializes input
- Chart query handler → Chart data source: runs query
- S3 storage adapter → S3 object storage: reads and writes objects
- Main service → Pricing and markup: integrates
- Main service → Product search: integrates
- Main service → Event messaging: exchanges events
- Pricing and markup → Event messaging: exchanges events
- Analytics service → Event messaging: exchanges events
- Public gateway → Main service: proxies requests
- Public gateway → Pricing and markup: proxies requests
- Public gateway → Product search: proxies requests
- Public gateway → Analytics service: proxies requests