How danjumahh/in-store works
StoreManagement is an ASP.NET Core store-management application. Staff authenticate, maintain catalog and business records, create and manage customer orders, and review dashboard summaries; orders can also use Paystack payment handling and generate receipts. The sampled services show product and order persistence through Entity Framework, including stock movement recording. The tree also shows identity, email, and supporting CRUD services, but their detailed runtime wiring is not fully sampled, so those connections are omitted where evidence is unavailable.
Main entry points: ApplicationDbContext.cs Application database · OrderController.cs Order handling · OrderService.cs Order operations · ProductService.cs Product operations
Components 28
Access and operations
- Identity accounts
StoreManagement/Areas/Identity/Pages/Account - Account management
StoreManagement/Controllers/AccountController.cs - Dashboard
StoreManagement/Controllers/DashboardController.cs
Sales and payments
- Order handling
StoreManagement/Controllers/OrderController.cs - Order operations
StoreManagement/Services/OrderService.cs - Paystack payments
StoreManagement/Services/PaystackService.cs - Receipt view model
StoreManagement/Models/ViewModels/ReceiptViewModel.cs
Catalog and stock
- Product management
StoreManagement/Controllers/ProductController.cs - Product operations
StoreManagement/Services/ProductService.cs - Category management
StoreManagement/Controllers/CategoryController.cs
Business records
- Customer management
StoreManagement/Controllers/CustomerController.cs - Supplier management
StoreManagement/Controllers/SupplierController.cs - Shipper management
StoreManagement/Controllers/ShipperController.cs - Staff management
StoreManagement/Controllers/StaffController.cs - Email delivery
StoreManagement/Services/EmailService.cs
Data and domain
- Order records
StoreManagement/Models/Entities/Order.cs - Order items
StoreManagement/Models/Entities/OrderDetail.cs - Order and payment states
StoreManagement/Models/Enums/OrderStatus.cs - Product and stock
StoreManagement/Models/Entities/Product.cs - Application identity
StoreManagement/Models/AppUser.cs - Customer records
StoreManagement/Models/Entities/Customer.cs - Staff records
StoreManagement/Models/Entities/Staff.cs - Shipper records
StoreManagement/Models/Entities/Shipper.cs - Supplier records
StoreManagement/Models/Entities/Supplier.cs - Category records
StoreManagement/Models/Entities/Category.cs - Application database
StoreManagement/Data/ApplicationDbContext.cs
Other components
- Store staff
- Paystack
Connections 25
- Store staff → Identity accounts: signs in
StoreManagement/Areas/Identity/Pages/Account/Login.cshtml.cs - Store staff → Order handling: manages orders
- Order handling → Order operations: requests order operations
StoreManagement/Controllers/OrderController.cs - Order handling → Application database: loads payment orders
StoreManagement/Controllers/OrderController.cs - Order handling → Paystack payments: verifies payment
StoreManagement/Controllers/OrderController.cs - Paystack payments → Paystack: uses payment API
- Order operations → Application database: reads and writes
StoreManagement/Services/OrderService.cs - Order operations → Receipt view model: builds receipt
StoreManagement/Services/OrderService.cs - Application database → Order records: persists
StoreManagement/Data/ApplicationDbContext.cs - Application database → Order items: persists
StoreManagement/Data/ApplicationDbContext.cs - Application database → Product and stock: persists
StoreManagement/Data/ApplicationDbContext.cs - Application database → Application identity: stores identity
StoreManagement/Data/ApplicationDbContext.cs - Application database → Customer records: persists
StoreManagement/Data/ApplicationDbContext.cs - Application database → Staff records: persists
StoreManagement/Data/ApplicationDbContext.cs - Application database → Shipper records: persists
StoreManagement/Data/ApplicationDbContext.cs - Application database → Supplier records: persists
StoreManagement/Data/ApplicationDbContext.cs - Application database → Category records: persists
StoreManagement/Data/ApplicationDbContext.cs - Product management → Product operations: requests catalog operations
StoreManagement/Controllers/ProductController.cs - Product operations → Application database: reads and writes
StoreManagement/Services/ProductService.cs - Product operations → Product and stock: records stock changes
StoreManagement/Services/ProductService.cs - Category management → Application database: uses category service
- Customer management → Application database: reads and writes
StoreManagement/Controllers/CustomerController.cs - Staff management → Email delivery: requests credentials email
StoreManagement/Controllers/StaffController.cs - Staff management → Application database: delegates staff operations
- Dashboard → Order operations: requests dashboard data