How subi-83/idhayam-erp works
Idhayam-ERP is a modular ERP with a React client, Django REST API, and relational database. The documented user-to-result path is an HTTP request through routing, a view and serializer, business logic, and ORM-backed storage, with a response returning to the client. Product domains include process configuration and records, master data, workforce, accounting, procurement/workflow, material movement, and reporting. The README documents the general request flow; links between specific domain modules are limited where sampled source does not establish their runtime wiring.
Main entry points: models.py Process records · views.py Views and serializers · App.jsx React application · controllers Feature controllers
Components 24
User interface
- React application
frontend/src/app/App.jsx - Feature controllers
frontend/src/controllers
Platform services
- Django URL router
backend/config/urls.py - Views and serializers
backend/apps/core/runtime/views.py - Core runtime
backend/apps/core/runtime/records.py - Access and scope
backend/apps/core/services/access.py - Company structure
backend/apps/core/models/companies.py - Identifier numbering
backend/apps/utils/services/numbering.py - Relational database
Configurable engines
- Master data
backend/apps/masters/models.py - Process definitions
backend/apps/process_engine/schema_api.py - Process records
backend/apps/process_engine/models.py - Process constraints
backend/apps/process_engine/constraint_engine.py - Work center reviews
backend/apps/workcenter/policy.py
Business operations
- Employee and HR
backend/apps/employee - Accounting
backend/apps/accounting - Procurement workflow
backend/apps/workflow - Material movement
backend/apps/material_movement - Calendar hub
backend/apps/calendar_hub
Communication and insight
- Reports and search
backend/apps/reports - Audit records
backend/apps/audit - Notifications
backend/apps/notifications - Backup jobs
backend/apps/backup
Other components
- ERP user
Connections 23
- ERP user → React application: uses
README.md - React application → Feature controllers: invokes
- Feature controllers → Django URL router: HTTP requests
README.md - Django URL router → Views and serializers: routes
README.md - Views and serializers → Core runtime: uses runtime
- Views and serializers → Relational database: reads or writes
README.md - Core runtime → Relational database: ORM access
README.md - Views and serializers → ERP user: API response
README.md - Access and scope → Company structure: checks access
- Identifier numbering → Relational database: allocates IDs
- Process definitions → Process records: configures records
- Process records → Process constraints: validates writes
backend/apps/process_engine/constraint_engine.py - Master data → Process definitions: provides values
- Work center reviews → Process records: extends records
backend/apps/workcenter/apps.py - Employee and HR → Process records: stores workforce data
backend/apps/employee/management/commands/seed_hr_engine.py - Procurement workflow → Process records: may use processes
- Accounting → Relational database: stores accounts
- Material movement → Relational database: stores movements
- Calendar hub → Relational database: stores events
- Reports and search → Relational database: queries data
- Audit records → Relational database: stores audit records
- Notifications → ERP user: delivers updates
- Backup jobs → Relational database: backs up data