How nclamvn/viet-erp works
VietERP is a multi-application ERP platform for Vietnamese enterprises. A typical user works in a domain app—such as CRM, HRM, manufacturing, commerce, or accounting—and receives operational records, reports, or analysis. The README also documents shared platform capabilities, including identity, events, search, notifications, and Vietnamese compliance. The graph preserves the principal domain apps and the sampled ExcelAI and CRM internals. Most app-to-app wiring is not shown in the excerpts, so only the documented event-bus relationship is connected; unsampled app details are represented at supported directory paths.
Main entry points: CRM CRM App · App.tsx ExcelAI · HRM HRM · events Event Bus
Components 23
ERP Domain Apps
- Accounting
apps/Accounting - HRM
apps/HRM - Manufacturing
apps/MRP - Ecommerce
apps/Ecommerce - Open-to-Buy
apps/OTB - TPM
apps/TPM-api-nestjs - Recruitment Applications
apps/HRM-AI/src/lib/recruitment/services/application.service.ts
Shared Platform
- Event Bus
packages/events - Authentication
packages/auth - Federated Search
packages/search - Notifications
packages/notifications - Vietnam Compliance
packages/vietnam
CRM Operations
- CRM App
apps/CRM - Audience Rules
apps/CRM/src/lib/campaigns/rule-engine.ts - Audience Resolution
apps/CRM/src/lib/campaigns/audience.ts
ExcelAI Analysis
- ExcelAI
apps/ExcelAI/src/App.tsx - Auto Visualization
apps/ExcelAI/src/autoviz - AI Macros
apps/ExcelAI/src/macros - Proactive Insights
apps/ExcelAI/src/proactive - Formula Worker
apps/ExcelAI/src/workers/calc.worker.ts
Project Management
- Project Management
apps/PM - Project Exports
apps/PM/src/components/ExportEngine.jsx
Other components
- Enterprise User
Connections 23
- Enterprise User → Accounting: uses
- Enterprise User → HRM: uses
- Enterprise User → Manufacturing: uses
- Enterprise User → Ecommerce: uses
- Enterprise User → Open-to-Buy: uses
- Enterprise User → TPM: uses
- Enterprise User → CRM App: manages customers
- Enterprise User → ExcelAI: analyzes spreadsheets
- Enterprise User → Project Management: manages projects
- Accounting → Vietnam Compliance: applies compliance
- HRM → Event Bus: shares module events
- CRM App → Event Bus: shares module events
- Manufacturing → Event Bus: shares module events
- CRM App → Authentication: uses SSO and RBAC
- CRM App → Federated Search: supports cross-module search
- CRM App → Notifications: uses notifications
- Audience Rules → Audience Resolution: resolves contacts
apps/CRM/src/lib/campaigns/rule-engine.ts - Recruitment Applications → HRM: supports hiring
- ExcelAI → Auto Visualization: creates visualizations
apps/ExcelAI/src/autoviz/AutoVizEngine.ts - ExcelAI → AI Macros: runs macros
apps/ExcelAI/src/macros/MacroEngine.ts - ExcelAI → Proactive Insights: surfaces suggestions
apps/ExcelAI/src/proactive/ProactiveEngine.ts - ExcelAI → Formula Worker: dispatches calculations
- Project Management → Project Exports: offers exports
apps/PM/src/components/ExportEngine.jsx