Documentation Index
Fetch the complete documentation index at: https://docs-mstore.faisalaffan.com/llms.txt
Use this file to discover all available pages before exploring further.
📊 12 Modules Architecture - Visual Diagram
🏗️ Layer Architecture
📦 Module Structure Pattern
🔄 Data Flow
🎯 Module Dependencies
📊 12 Modules Overview
| # | Module | Core | Features | Dependencies |
| 1 | Core | auth, roles, system | auth UI | - |
| 2 | Finance | invoice, payment | invoice UI | Core |
| 3 | Inventory | product, stock | product UI | Core |
| 4 | Procurement | PO, supplier | PO UI | Core, Inventory |
| 5 | Sales | SO, POS | POS UI | Core, Inventory, Finance |
| 6 | HR | employee, payroll | employee UI | Core |
| 7 | CRM | campaign, leads | campaign UI | Core |
| 8 | CS | ticketing, SLA | ticket UI | Core |
| 9 | Audit | logs, SoD | logs UI | Core |
| 10 | Analytics | dashboard, KPI | dashboard UI | Core, Finance, Inventory, Sales, HR |
| 11 | Holding | entity, consolidation | entity UI | Core, Finance, Inventory, Sales |
| 12 | Global | IAM, SSO | IAM UI | Core |
🔐 RBAC Integration
📱 Screen Flow Example (Sales/POS)
🗂️ File Organization
mstore_mobile/
├── lib/
│ ├── core/ # Data Layer (12 modules)
│ │ ├── core/ # 1. Core services
│ │ ├── finance/ # 2. Finance services
│ │ ├── inventory/ # 3. Inventory services
│ │ ├── procurement/ # 4. Procurement services
│ │ ├── sales/ # 5. Sales services
│ │ ├── hr/ # 6. HR services
│ │ ├── crm/ # 7. CRM services
│ │ ├── cs/ # 8. CS services
│ │ ├── audit/ # 9. Audit services
│ │ ├── analytics/ # 10. Analytics services
│ │ ├── holding/ # 11. Holding services
│ │ └── global/ # 12. Global services
│ │
│ ├── features/ # Presentation Layer (12 modules)
│ │ ├── core/ # 1. Core UI
│ │ ├── finance/ # 2. Finance UI
│ │ ├── inventory/ # 3. Inventory UI
│ │ ├── procurement/ # 4. Procurement UI
│ │ ├── sales/ # 5. Sales UI
│ │ ├── hr/ # 6. HR UI
│ │ ├── crm/ # 7. CRM UI
│ │ ├── cs/ # 8. CS UI
│ │ ├── audit/ # 9. Audit UI
│ │ ├── analytics/ # 10. Analytics UI
│ │ ├── holding/ # 11. Holding UI
│ │ └── global/ # 12. Global UI
│ │
│ ├── database/ # Isar schema
│ ├── di/ # Dependency Injection
│ ├── pkg/ # Utilities
│ └── main.dart # App entry point
│
├── scripts/
│ └── restructure_12_modules.sh
├── RESTRUCTURE_SUMMARY.md
└── MODULE_INDEX.md
See Also: