How prem-kumar-e/store works
Store is a Blazor Server point-of-sale and inventory application, with product/category management, barcode support, sales invoicing, transaction history, user administration, settings, and authentication. The likely user workflow is to manage catalog and stock, create a sale, and review invoices; the sampled invoice service confirms invoice persistence and stock deduction. The tree identifies the major UI areas, but their page-to-service calls are not shown in the sampled source, so those links are omitted. The graph includes the confirmed service-to-database layer and authentication API behavior.
Main entry points: StoreDBContext.cs EF data context · UserService.cs User management · AuthController.cs Authentication API · InvoiceService.cs Invoice processing
Components 15
Store interface
- Product catalog
Pages/ProductList.razor - Sales checkout
Pages/Sales.razor - Transactions
Pages/Transactions.razor - Store settings
Pages/Settings.razor - User administration
Pages/Users.razor
Business services
- Products and categories
Services/ProdcutService.cs - Invoice processing
Services/InvoiceService.cs - Settings management
Services/SettingsService.cs - User management
Services/UserService.cs
Identity and API
- Authentication API
Controller/AuthController.cs - Blazor auth state
Services/CustomStateProvider.cs - ASP.NET Identity
Persistence
- EF data context
StoreDBContext.cs - SQLite store
wwwroot/App_Data/store.db
Other components
- Store operator
Connections 13
- Store operator → Product catalog: manages catalog
- Store operator → Sales checkout: records sales
- Store operator → Transactions: reviews invoices
- Store operator → Store settings: configures store
- Store operator → User administration: manages users
- Authentication API → ASP.NET Identity: signs in
- Authentication API → Invoice processing: requests invoices
- User management → ASP.NET Identity: creates users
- User management → ASP.NET Identity: authenticates
- Products and categories → EF data context: reads and writes
- Invoice processing → EF data context: reads and writes
- Settings management → EF data context: reads and writes
- EF data context → SQLite store: persists data