How aossesdc/web_portafolio works
SLA Control is a web-based service-level agreement monitoring product with role-specific screens, ticket tracking, risk calculations, reporting, and global accessibility preferences. Its principal workflow accepts ticket data, enriches tickets with SLA consumption and risk, and exposes ticket and report APIs; critical-ticket email alerts are a separate action. The backend uses in-memory mock data rather than a persistent database. The README gives no capability details, so the frontend screens’ behavior is not mapped beyond the sampled scripts.
Main entry points: app.js API routing · tickets.js Ticket API · reports.js Report API · html Role-based screens
Components 13
Web experience
- Role-based screens
html - Global preferences
js/preferencias-globales.js - Report downloads
js/reportes-exportacion.js
Backend API
- HTTP server
backend/server.js - API routing
backend/src/app.js - Login
backend/src/routes/auth.js - Ticket API
backend/src/routes/tickets.js - Report API
backend/src/routes/reports.js
SLA domain
- Users and tickets
backend/src/data/mockData.js - SLA risk metrics
backend/src/utils/sla.js
Notifications
- Critical email alerts
backend/src/services/emailService.js
Other components
- Platform users
- SMTP service
Connections 17
- Platform users → Role-based screens: uses
- Role-based screens → HTTP server: requests
- HTTP server → API routing: starts
backend/server.js - API routing → Login: routes auth
backend/src/app.js - API routing → Ticket API: routes tickets
backend/src/app.js - API routing → Report API: routes reports
backend/src/app.js - Login → Users and tickets: reads users
backend/src/routes/auth.js - Ticket API → Users and tickets: reads and adds tickets
backend/src/routes/tickets.js - Report API → Users and tickets: reads tickets
backend/src/routes/reports.js - Ticket API → SLA risk metrics: calculates risk
backend/src/routes/tickets.js - Report API → SLA risk metrics: calculates metrics
backend/src/routes/reports.js - Ticket API → Critical email alerts: requests alert
backend/src/routes/tickets.js - Critical email alerts → SMTP service: sends email
backend/src/services/emailService.js - Platform users → Global preferences: changes preferences
js/preferencias-globales.js - Global preferences → Platform users: applies settings
js/preferencias-globales.js - Platform users → Report downloads: downloads reports
js/reportes-exportacion.js - Report downloads → Role-based screens: reads report data
js/reportes-exportacion.js