How amanprojects-ops/smart-store works
SmartStore is a multi-panel retail management SaaS: store staff and owners manage retail operations, while specialized analysis endpoints return inventory, customer, workforce, vendor, QR, product, POS, sales, and platform insights. The graph separates panel-based management from API analysis and shows shared business data plus the service layer. README capabilities are included, but several controller/service implementations and panel configurations were not sampled, so uncertain internal wiring is omitted.
Main entry points: api.php Analysis Routes · Api Other Analytics · StorePanelProvider.php Store Panel · AdminPanelProvider.php Admin Panel
Components 29
Retail Panels
- Store Panel
app/Providers/Filament/StorePanelProvider.php - Admin Panel
app/Providers/Filament/AdminPanelProvider.php - HRM Panel
app/Providers/Filament/HrmPanelProvider.php - Vendor Panel
app/Providers/Filament/VendorPanelProvider.php - Staff Panel
app/Providers/Filament/StaffPanelProvider.php - Store Operations
app/Filament/Store/Resources/Products/ProductResource.php - Admin Management
app/Filament/Admin/Resources/ProductResource.php
Analysis APIs
- Analysis Routes
routes/api.php - Inventory Alerts
app/Http/Controllers/Api/InventoryAlertController.php - Customer Analysis
app/Http/Controllers/Api/CustomerManagementController.php - HRM Analysis
app/Http/Controllers/Api/HrmAnalysisController.php - Vendor Analysis
app/Http/Controllers/Api/VendorManagementController.php - QR Analysis
app/Http/Controllers/Api/QrSystemController.php - Other Analytics
app/Http/Controllers/Api
Retail Data
- Retail Records
app/Models/Product.php
Business Services
- Inventory Alerts
app/Services/InventoryAlertService.php - Customer Insights
app/Services/CustomerManagementService.php - Workforce Insights
app/Services/HrmAnalysisService.php - Vendor Reliability
app/Services/VendorManagementService.php - QR Waste Analysis
app/Services/QrSystemService.php - Product Insights
app/Services/ProductAnalysisService.php - Sales Analytics
app/Services/SalesAnalyticsService.php - POS Analysis
app/Services/PosBillingAnalysisService.php - Platform Health
app/Services/SuperAdminHealthService.php
Other components
- Store Owner
- Store Staff
- HR Manager
- Vendor
- Platform Owner
Connections 26
- Store Owner → Store Panel: uses
- Store Staff → Staff Panel: uses
- HR Manager → HRM Panel: uses
- Vendor → Vendor Panel: uses
- Platform Owner → Admin Panel: uses
- Store Panel → Store Operations: provides
- Admin Panel → Admin Management: provides
- Store Operations → Retail Records: manages
- Admin Management → Retail Records: manages
- Store Owner → Analysis Routes: requests analysis
- Store Staff → Analysis Routes: requests analysis
- Analysis Routes → Inventory Alerts: dispatches
- Analysis Routes → Customer Analysis: dispatches
- Analysis Routes → HRM Analysis: dispatches
- Analysis Routes → Vendor Analysis: dispatches
- Analysis Routes → QR Analysis: dispatches
- Analysis Routes → Other Analytics: dispatches
- Inventory Alerts → Inventory Alerts: calls
- Vendor Analysis → Vendor Reliability: calls
- Customer Analysis → Customer Insights: calls
- HRM Analysis → Workforce Insights: calls
- QR Analysis → QR Waste Analysis: calls
- Other Analytics → Product Insights: analyzes
- Other Analytics → Sales Analytics: analyzes
- Other Analytics → POS Analysis: analyzes
- Other Analytics → Platform Health: analyzes