How diego-go-solis/agencia-mixta works
Agencia Mixta is a vehicle-agency information and administration application: its stated aim is to bring vehicle information from preferred agencies together while retaining agency and agent identity. The Angular routes expose login/registration and authenticated dashboard and agency, car, employee, and client screens; the .NET API and SQL Server form the documented backend. The sampled access controller explicitly delegates login, registration, and user listing to its repository. Other backend connections and frontend API calls are not established by the excerpts, so those links are left out.
Main entry points: app.routes.ts App routes · AccesoRepositorio.cs Access repository · accesoController.cs Access controller · Program.cs .NET API
Components 27
Angular application
- App routes
Frontend_AgenciaMixta/Frontend_AgenciaMixta/src/app/app.routes.ts
Access and identity
- .NET API
AgenciaM/AgenciaM/Program.cs - Access controller
AgenciaM/AgenciaM/Controllers/accesoController.cs - Access repository
AgenciaM/AgenciaM/Repositorio/AccesoRepositorio.cs - Encryption service
AgenciaM/AgenciaM/Services/EncriptacionService.cs - User model
AgenciaM/AgenciaM/Models/usuario.cs
Agency catalog
- Agency controller
AgenciaM/AgenciaM/Controllers/AgenciaController.cs - Agency repository
AgenciaM/AgenciaM/Repositorio/agenciaRepositorio.cs - Agency model
AgenciaM/AgenciaM/Models/Agencia.cs - Car controller
AgenciaM/AgenciaM/Controllers/carroController.cs - Car repository
AgenciaM/AgenciaM/Repositorio/carroRepositorio.cs - Car model
AgenciaM/AgenciaM/Models/Carro.cs
Business records
- Employee controller
AgenciaM/AgenciaM/Controllers/empleadoController.cs - Employee repository
AgenciaM/AgenciaM/Repositorio/empleadoRepositorio.cs - Employee model
AgenciaM/AgenciaM/Models/Empleado.cs - Client controller
AgenciaM/AgenciaM/Controllers/clienteController.cs - Client repository
AgenciaM/AgenciaM/Repositorio/clienteRepositorio.cs - Client model
AgenciaM/AgenciaM/Models/Cliente.cs - Invoice header
AgenciaM/AgenciaM/Controllers/encabezadoController.cs - Header repository
AgenciaM/AgenciaM/Repositorio/encabezadoRdpositorio.cs - Invoice header model
AgenciaM/AgenciaM/Models/encabezado.cs - Invoice details
AgenciaM/AgenciaM/Controllers/detalleController.cs - Detail repository
AgenciaM/AgenciaM/Repositorio/detalleRepositorio.cs - Invoice detail model
AgenciaM/AgenciaM/Models/Detalle.cs - Cart controller
AgenciaM/AgenciaM/Controllers/carroController.cs
Persistence
- SQL Server context
AgenciaM/AgenciaM/Data/ApplicationDbContext.cs
Other components
- User
Connections 4
- User → App routes: uses screens
- App routes → .NET API: backend boundary
- Access controller → Access repository: executes user process
- Access repository → User model: returns user data