How edgyulnazaryandev/erp_system_full works
ERP_SYSTEM is a multi-tenant ERP backend exposing business operations through NestJS APIs. A representative user workflow is managing customer and supplier activity, creating and approving purchasing records, then handling accounting and financial insight. Other product areas include HR, projects, manufacturing, inventory, logistics, service management, reporting, communications, and workflow automation. The sampled controllers explicitly delegate to their services; the tree indicates other product areas, but their wiring is not established by the excerpts.
Main entry points: accounting.controller.ts Accounting API · crm.controller.ts CRM API · procurement.controller.ts Procurement API · orchestrator.service.ts Strategy Orchestrator
Components 22
Access and Tenancy
- Authentication
backend/src/modules/auth/controllers/auth.controller.ts - Tenant Context
backend/src/modules/tenants/tenant.service.ts
Commercial Operations
- CRM API
backend/src/modules/crm/crm.controller.ts - CRM Services
backend/src/modules/crm/crm.service.ts - Procurement API
backend/src/modules/procurement/procurement.controller.ts - Procurement Services
backend/src/modules/procurement/procurement.service.ts - Inventory
backend/src/modules/inventory - Shipping
backend/src/modules/transportation
Finance and Intelligence
- Accounting API
backend/src/modules/accounting/accounting.controller.ts - Accounting Services
backend/src/modules/accounting/accounting.service.ts - Financial Rules
backend/src/modules/accounting/services/rule-engine.service.ts - Strategy Orchestrator
backend/src/brains/orchestrator/orchestrator.service.ts
People and Delivery
- Human Resources
backend/src/modules/hr - Project Management
backend/src/modules/project-management - Manufacturing
backend/src/modules/manufacturing - Service Management
backend/src/modules/service-management/service-management.controller.ts
ERP Platform
- BI Reporting
backend/src/modules/bi-reporting - Workflow Automation
backend/src/modules/workflow-automation - Communication
backend/src/modules/communication - Event Messaging
backend/src/infrastructure/kafka - Database Configuration
backend/src/core/database/database.module.ts
Other components
- ERP User
Connections 9
- ERP User → Authentication: signs in
- ERP User → CRM API: manages customers
- ERP User → Procurement API: manages purchasing
- ERP User → Accounting API: manages finances
- CRM API → CRM Services: delegates
- Procurement API → Procurement Services: delegates
- Accounting API → Accounting Services: delegates
- Accounting API → Financial Rules: runs rules
- Strategy Orchestrator → Event Messaging: receives events