How desarrollosantander1/cms_cas works
This repository is a multi-application business platform: a Vue frontend and PHP APIs for authentication, user/permission management, service-center repair orders, and credit-reporting workflows, fronted by an API gateway. The main visible workflows are user requests through the UI/gateway into domain APIs, repair-order creation and attachment handling, and credit-period reporting/export. The README is absent, and several source excerpts are partial; edges below are limited to relationships visible in those excerpts or the SOURCE INDEX.
Main entry points: ReporteController.php Credit reports API · main.ts Vue application · GatewayController.php API gateway · PeriodoFacturaService.php Period processing
Components 25
Web interface
- Vue application
frontend/src/main.ts - Auth screens
frontend/src/router/AuthRoutes.ts - Main screens
frontend/src/router/MainRoutes.ts
Gateway and identity
- API gateway
backend/api_gateway-master/src/Controller/GatewayController.php - Route resolver
backend/api_gateway-master/src/Service/RouteResolver.php - Request proxy
backend/api_gateway-master/src/Service/ProxyService.php - Authentication API
backend/api-auth-sf4-1-master/src/Controller/SessionController.php - Impersonation
backend/api-auth-sf4-1-master/src/Service/ImpersonationService.php - Auth user
backend/api-auth-sf4-1-master/src/Entity/Usuario.php
Repair operations
- CAS API
backend/api-cas-sf5-master/src/Controller/CasController.php - CAS service
backend/api-cas-sf5-master/src/Service/CasService.php - Order workflow
backend/api-cas-sf5-master/src/Controller/OrdenController.php - Order service
backend/api-cas-sf5-master/src/Service/OrdenService.php - Orders and catalog
backend/api-cas-sf5-master/src/Entity/Orden.php - CAS customer
backend/api-cas-sf5-master/src/Entity/CasCliente.php
Credit reporting
- Credit reports API
backend/api-datacredito-sf5-master/src/Controller/ReporteController.php - Period processing
backend/api-datacredito-sf5-master/src/Service/PeriodoFacturaService.php - Closing period
backend/api-datacredito-sf5-master/src/Entity/PeriodoCierre.php - TXT export
backend/api-datacredito-sf5-master/src/Service/Reporte/GeneradorTxtService.php - Excel exports
backend/api-datacredito-sf5-master/src/Service/Reporte/GeneradorExcelService.php - Invoice data
backend/api-datacredito-sf5-master/src/Entity/Gbl/Factura.php
User administration
- User management
backend/api-usuarios-sf4-1-master/src/Controller/UsuarioController.php - Menu permissions
backend/api-usuarios-sf4-1-master/src/Controller/MenuController.php - Menu tree
backend/api-usuarios-sf4-1-master/src/Service/MenuTreeService.php
Other components
- User
Connections 21
- User → Vue application: uses
- Vue application → Auth screens: loads routes
frontend/src/main.ts - Vue application → Main screens: loads routes
frontend/src/main.ts - Vue application → API gateway: sends requests
- API gateway → Route resolver: resolves route
backend/api_gateway-master/src/Controller/GatewayController.php - API gateway → Request proxy: proxies request
backend/api_gateway-master/src/Controller/GatewayController.php - Request proxy → Route resolver: uses route
backend/api_gateway-master/src/Service/ProxyService.php - Authentication API → Auth user: authenticates
backend/api-auth-sf4-1-master/src/Controller/SessionController.php - Impersonation → Auth user: uses identity
backend/api-auth-sf4-1-master/src/Service/ImpersonationService.php - User management → Auth user: uses user model
backend/api-usuarios-sf4-1-master/src/Controller/UsuarioController.php - Menu permissions → Menu tree: requests tree
backend/api-usuarios-sf4-1-master/src/Controller/MenuController.php - CAS API → CAS service: delegates
backend/api-cas-sf5-master/src/Controller/CasController.php - Order workflow → Order service: creates orders
backend/api-cas-sf5-master/src/Controller/OrdenController.php - Order workflow → CAS customer: looks up customer
backend/api-cas-sf5-master/src/Controller/OrdenController.php - Order service → Orders and catalog: persists order
backend/api-cas-sf5-master/src/Service/OrdenService.php - Credit reports API → Period processing: requests processing
backend/api-datacredito-sf5-master/src/Controller/ReporteController.php - Credit reports API → TXT export: generates TXT
backend/api-datacredito-sf5-master/src/Controller/ReporteController.php - Credit reports API → Excel exports: generates Excel
backend/api-datacredito-sf5-master/src/Controller/ReporteController.php - Credit reports API → Closing period: records export
backend/api-datacredito-sf5-master/src/Controller/ReporteController.php - Period processing → Invoice data: processes invoices
backend/api-datacredito-sf5-master/src/Service/PeriodoFacturaService.php - Period processing → Closing period: manages periods
backend/api-datacredito-sf5-master/src/Service/PeriodoFacturaService.php