How ivan-malaver/guayacan-erp works
Guayacán ERP is a farm-management platform with an Angular frontend, Django app modules, and separate agent and IoT services. The visible user journey is login, session-protected navigation to a lazy-loaded module, and (for the sampled modules) a provisional page listing planned use cases; the route catalogs describe production, sales, finance, people, and other farm workflows, but do not demonstrate their completed execution. A separate agent-service path validates incoming Meta signatures and queues webhook messages. Backend implementation details are not shown, so links from frontend modules to backend apps are omitted.
Main entry points: app.routes.ts Protected route map · modulo-pendiente.component.ts Use-case catalog page · main.py Agent webhooks · nucleo.routes.ts Farm setup
Components 22
Access and navigation
- Protected route map
guayacan-erp/frontend/src/app/app.routes.ts - Login screen
guayacan-erp/frontend/src/app/core/auth/ingreso.component.ts - Session service
guayacan-erp/frontend/src/app/core/auth/sesion.service.ts - Session guard
guayacan-erp/frontend/src/app/core/auth/sesion.guard.ts - Error handling
guayacan-erp/frontend/src/app/core/errores/errores.ts - Farm context
guayacan-erp/frontend/src/app/core/finca/finca.service.ts - Use-case catalog page
guayacan-erp/frontend/src/app/shared/modulo-pendiente.component.ts
Farm operations
- Farm setup
guayacan-erp/frontend/src/app/features/nucleo/nucleo.routes.ts - Production
guayacan-erp/frontend/src/app/features/produccion/produccion.routes.ts - IoT operations
guayacan-erp/frontend/src/app/features/iot/iot.routes.ts - Adoption
guayacan-erp/frontend/src/app/features/adopcion/adopcion.routes.ts
Business workflows
- People and training
guayacan-erp/frontend/src/app/features/personal/personal.routes.ts - Sales
guayacan-erp/frontend/src/app/features/comercial/comercial.routes.ts - Finance
guayacan-erp/frontend/src/app/features/finanzas/finanzas.routes.ts - Strategy
guayacan-erp/frontend/src/app/features/estrategia/estrategia.routes.ts - AI capabilities
guayacan-erp/frontend/src/app/features/ia/ia.routes.ts - Training
guayacan-erp/frontend/src/app/features/formacion/formacion.routes.ts
Integration services
- Agent webhooks
guayacan-erp/servicios/agentes/app/main.py - Meta signature check
guayacan-erp/servicios/agentes/app/firmas.py - Message orchestrator
guayacan-erp/servicios/agentes/app/orquestador.py
Other components
- ERP user
- Social messaging channels
Connections 25
- ERP user → Login screen: signs in
- Protected route map → Login screen: routes to
guayacan-erp/frontend/src/app/app.routes.ts - Protected route map → Session guard: protects routes
guayacan-erp/frontend/src/app/app.routes.ts - Protected route map → Farm setup: lazy loads
guayacan-erp/frontend/src/app/app.routes.ts - Protected route map → Production: lazy loads
guayacan-erp/frontend/src/app/app.routes.ts - Protected route map → IoT operations: lazy loads
guayacan-erp/frontend/src/app/app.routes.ts - Protected route map → Adoption: lazy loads
guayacan-erp/frontend/src/app/app.routes.ts - Protected route map → People and training: lazy loads
guayacan-erp/frontend/src/app/app.routes.ts - Protected route map → Sales: lazy loads
guayacan-erp/frontend/src/app/app.routes.ts - Protected route map → Finance: lazy loads
guayacan-erp/frontend/src/app/app.routes.ts - Protected route map → Strategy: lazy loads
guayacan-erp/frontend/src/app/app.routes.ts - Protected route map → AI capabilities: lazy loads
guayacan-erp/frontend/src/app/app.routes.ts - Protected route map → Training: lazy loads
guayacan-erp/frontend/src/app/app.routes.ts - Farm setup → Use-case catalog page: shows catalog
guayacan-erp/frontend/src/app/features/nucleo/nucleo.routes.ts - Production → Use-case catalog page: shows catalog
guayacan-erp/frontend/src/app/features/produccion/produccion.routes.ts - IoT operations → Use-case catalog page: shows catalog
guayacan-erp/frontend/src/app/features/iot/iot.routes.ts - Adoption → Use-case catalog page: shows catalog
guayacan-erp/frontend/src/app/features/adopcion/adopcion.routes.ts - People and training → Use-case catalog page: shows catalog
guayacan-erp/frontend/src/app/features/personal/personal.routes.ts - Sales → Use-case catalog page: shows catalog
guayacan-erp/frontend/src/app/features/comercial/comercial.routes.ts - Finance → Use-case catalog page: shows catalog
guayacan-erp/frontend/src/app/features/finanzas/finanzas.routes.ts - AI capabilities → Use-case catalog page: shows catalog
guayacan-erp/frontend/src/app/features/ia/ia.routes.ts - Training → Use-case catalog page: shows catalog
guayacan-erp/frontend/src/app/features/formacion/formacion.routes.ts - Social messaging channels → Agent webhooks: sends webhooks
guayacan-erp/servicios/agentes/app/main.py - Agent webhooks → Meta signature check: validates signature
guayacan-erp/servicios/agentes/app/main.py - Agent webhooks → Message orchestrator: queues messages
guayacan-erp/servicios/agentes/app/main.py