How etson0987musuline/taller_mecanico_rujim works
This is a vehicle-repair shop management application: staff manage customers, vehicles, work orders, services, parts, sales and invoices, while customers can publicly check repair progress. The Angular frontend routes users to role-aware pages and services; an Express API handles domain operations and uses Supabase for persistence. The index supports many page-to-service and route-to-controller links, but the backend entrypoint and several route/controller implementations were not sampled, so frontend-to-API links are marked unverified.
Main entry points: app.routes.ts App routes · index.js Backend API · supabase.js Supabase data store · repuestos.controller.js Parts inventory
Components 33
Web application
- App routes
taller-frontend/src/app/app.routes.ts - Login and session
taller-frontend/src/app/core/services/auth.service.ts - Role permissions
taller-frontend/src/app/core/services/rol.service.ts - Customer records
taller-frontend/src/app/pages/clientes/clientes.ts - Vehicle records
taller-frontend/src/app/pages/vehiculos/vehiculos.ts - Work orders
taller-frontend/src/app/pages/ordenes/ordenes.ts - Mechanic workspace
taller-frontend/src/app/pages/mecanico/mecanico.ts - Public tracking
taller-frontend/src/app/pages/consulta-publica/consulta-publica.ts - Parts and services
taller-frontend/src/app/pages/repuestos/repuestos.ts - Sales
taller-frontend/src/app/pages/ventas/ventas.ts - Invoices
taller-frontend/src/app/pages/facturas/facturas.ts - User administration
taller-frontend/src/app/pages/usuarios/usuarios.ts - Customer API client
taller-frontend/src/app/core/services/clientes.service.ts - Vehicle API client
taller-frontend/src/app/core/services/vehiculos.service.ts - Order API client
taller-frontend/src/app/core/services/ordenes.service.ts - Tracking API client
taller-frontend/src/app/core/services/seguimiento.service.ts
API and access
- Backend API
taller-backend/src/index.js - Token authentication
taller-backend/src/controllers/auth.controller.js - Authorization middleware
taller-backend/src/middlewares/auth.middleware.js
Workshop operations
- Work order lifecycle
taller-backend/src/controllers/ordenes.controller.js - Parts inventory
taller-backend/src/controllers/repuestos.controller.js - Service catalog
taller-backend/src/controllers/servicios.controller.js - Repair tracking
taller-backend/src/controllers/seguimiento.controller.js
Business management
- Customer operations
taller-backend/src/controllers/clientes.controller.js - Vehicle operations
taller-backend/src/controllers/vehiculos.controller.js - Sales processing
taller-backend/src/controllers/ventas.controller.js - Invoice operations
taller-backend/src/controllers/facturas.controller.js - User operations
taller-backend/src/controllers/usuarios.controller.js - Document lookup
taller-backend/src/routes/consulta-doc.routes.js
Persistence and files
- Supabase data store
taller-backend/src/config/supabase.js - Parts image storage
taller-backend/src/config/storage.js
Other components
- Staff
- Public customer
Connections 36
- Staff → App routes: uses
taller-frontend/src/app/app.routes.ts - Public customer → Public tracking: checks progress
- App routes → Login and session: routes login
taller-frontend/src/app/app.routes.ts - App routes → Customer records: routes to
taller-frontend/src/app/app.routes.ts - App routes → Vehicle records: routes to
taller-frontend/src/app/app.routes.ts - App routes → Work orders: routes to
taller-frontend/src/app/app.routes.ts - App routes → Mechanic workspace: routes to
taller-frontend/src/app/app.routes.ts - App routes → Public tracking: routes to
taller-frontend/src/app/app.routes.ts - App routes → Parts and services: routes to
taller-frontend/src/app/app.routes.ts - App routes → Sales: routes to
taller-frontend/src/app/app.routes.ts - App routes → Invoices: routes to
taller-frontend/src/app/app.routes.ts - App routes → User administration: routes to
taller-frontend/src/app/app.routes.ts - Customer records → Customer API client: calls
taller-frontend/src/app/pages/clientes/clientes.ts - Vehicle records → Vehicle API client: calls
taller-frontend/src/app/pages/vehiculos/vehiculos.ts - Work orders → Order API client: calls
taller-frontend/src/app/pages/ordenes/ordenes.ts - Public tracking → Tracking API client: calls
taller-frontend/src/app/pages/consulta-publica/consulta-publica.ts - Sales → Role permissions: checks permissions
taller-frontend/src/app/pages/ventas/ventas.ts - Invoices → Role permissions: checks permissions
- User administration → Role permissions: checks permissions
- Login and session → Backend API: sends login request
- Customer API client → Backend API: requests customer data
- Vehicle API client → Backend API: requests vehicle data
- Order API client → Backend API: requests order data
- Tracking API client → Backend API: requests tracking data
- Backend API → Token authentication: dispatches auth
- Backend API → Authorization middleware: applies access checks
- Backend API → Customer operations: dispatches customer routes
- Backend API → Work order lifecycle: dispatches order routes
- Backend API → Parts inventory: dispatches parts routes
- Customer operations → Supabase data store: reads and writes
taller-backend/src/controllers/clientes.controller.js - Vehicle operations → Supabase data store: reads and writes
taller-backend/src/controllers/vehiculos.controller.js - Work order lifecycle → Supabase data store: reads and writes
taller-backend/src/controllers/ordenes.controller.js - Parts inventory → Supabase data store: reads and writes
taller-backend/src/controllers/repuestos.controller.js - Invoice operations → Supabase data store: reads and writes
taller-backend/src/controllers/facturas.controller.js - Parts inventory → Parts image storage: processes images
- Document lookup → Public customer: looks up documents