How arancibia14/erp-ati-termic-main works
ERP ATI Termic is a project-operations ERP for administrators and field supervisors. Users sign in, enter role-authorized modules, and manage project execution, purchasing, workforce and safety records, finances, and supporting documents. The React client routes those tasks to a REST backend; controllers implement business operations against Sequelize models backed by MySQL. The README documents the product capabilities and client/backend setup; sampled controller excerpts confirm several workflows, but most module-specific wiring was not sampled, so those links are shown at the documented layer boundaries.
Main entry points: pages ERP modules · models Sequelize models · routes REST routes · controllers Module controllers
Components 24
ERP client
- React application
client/src/App.jsx - ERP modules
client/src/pages - API client
client/src/api/axios.js
API and access
- Express API
index.js - Auth middleware
middleware/auth.js - REST routes
routes - Module controllers
controllers - Sequelize models
models - MySQL database
config/database.js
Project operations
- Project planning
client/src/pages - Project services
controllers - Project records
models
People and procurement
- Materials and purchasing
client/src/pages - Procurement services
controllers/solicitudMaterialController.js - Workforce and safety
client/src/pages - Workforce services
controllers/entregaEppController.js - People records
models
Finance and records
- Costs and budgets
client/src/pages - Financial services
controllers/cajaChicaController.js - Documents and evidence
client/src/pages - Document services
controllers/portafolioController.js - Audit records
models/LogAuditoria.js
Other components
- ERP user
- MySQL
Connections 27
- ERP user → React application: uses
- React application → ERP modules: renders routes
- ERP modules → API client: requests data
- API client → Express API: calls API
- Express API → REST routes: dispatches
- REST routes → Auth middleware: guards requests
- REST routes → Module controllers: dispatches
- Module controllers → Sequelize models: reads and writes
- Sequelize models → MySQL database: uses ORM
- MySQL database → MySQL: connects
- ERP modules → Project planning: includes
- Project planning → Project services: uses project APIs
- Project services → Project records: reads and writes
- ERP modules → Materials and purchasing: includes
- Materials and purchasing → Procurement services: uses purchasing APIs
- Procurement services → Sequelize models: reads and writes
- ERP modules → Workforce and safety: includes
- Workforce and safety → Workforce services: uses workforce APIs
- Workforce services → People records: reads and writes
- ERP modules → Costs and budgets: includes
- Costs and budgets → Financial services: uses finance APIs
- Financial services → Sequelize models: reads and writes
- ERP modules → Documents and evidence: includes
- Documents and evidence → Document services: uses document APIs
- Document services → Sequelize models: reads and writes
- Module controllers → Audit records: records actions
- Auth middleware → Sequelize models: checks sessions