# cuevaserik-dev/computo_vue architecture

> Architecture diagram of the GitHub repository cuevaserik-dev/computo_vue, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/cuevaserik-dev/computo_vue
- Repository: https://github.com/cuevaserik-dev/computo_vue

## Overview

This is a Vue frontend for institute student-record management. Users sign in, then manage student records by career: the view validates and coordinates create, read, update, and delete requests, while tables provide search, edit/delete actions, and printing. The frontend uses a shared Axios client that attaches a stored bearer token and sends requests to an external backend. Evidence is based on the provided excerpts and source index; printing is implemented in the student view, while the backend internals are outside this repository.

Main entry points: [`front_alumnos/src/views/AlumnosView.vue`](https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/views/AlumnosView.vue) (Student management), [`front_alumnos/src/router/index.js`](https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/router/index.js) (Route selection), [`front_alumnos/src/views/AuthView.vue`](https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/views/AuthView.vue) (Sign in), [`front_alumnos/src/main.js`](https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/main.js) (Vue app bootstrap)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_navigation["App navigation"]
  node_bootstrap["Vue app bootstrap<br/>[main.js]"]
  node_app_shell["App shell<br/>[App.vue]"]
  node_routes["Route selection<br/>[index.js]"]
  node_login["Sign in<br/>[AuthView.vue]"]
  node_navbar["Session controls<br/>[NavBar.vue]"]
end

subgraph group_student_workflow["Student records"]
  node_student_view["Student management<br/>[AlumnosView.vue]"]
  node_student_form["Student form<br/>[formAlumnos.vue]"]
  node_student_table["Career tables<br/>[tablaAlumnos.vue]"]
  node_career_data["Career choices<br/>[carrerasData.js]"]
end

subgraph group_network["API access"]
  node_student_service["Student API service"]
  node_http_client["HTTP client<br/>[axios.js]"]
end

node_user(("Staff user"))
node_backend{{"Application backend"}}

node_user -->|"enters credentials"| node_login
node_bootstrap -->|"mounts"| node_app_shell
node_bootstrap -->|"installs router"| node_routes
node_app_shell -->|"renders routes"| node_routes
node_routes -->|"routes to"| node_login
node_routes -->|"routes to"| node_student_view
node_login -->|"posts credentials"| node_backend
node_login -->|"navigates after login"| node_student_view
node_student_view -->|"renders"| node_navbar
node_student_view -->|"renders and handles events"| node_student_form
node_student_view -->|"renders and handles events"| node_student_table
node_student_view -->|"uses choices"| node_career_data
node_student_view -->|"calls CRUD methods"| node_student_service
node_student_service -->|"sends requests"| node_http_client
node_http_client -->|"sends API calls"| node_backend
node_navbar -->|"redirects on logout"| node_routes
node_student_view -->|"opens print view"| node_user

click node_bootstrap "https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/main.js"
click node_app_shell "https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/App.vue"
click node_routes "https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/router/index.js"
click node_login "https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/views/AuthView.vue"
click node_navbar "https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/Components/NavBar.vue"
click node_student_view "https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/views/AlumnosView.vue"
click node_student_form "https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/Components/formAlumnos.vue"
click node_student_table "https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/Components/tablaAlumnos.vue"
click node_career_data "https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/assets/carrerasData.js"
click node_student_service "https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/api/alumnos.services.js"
click node_http_client "https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/api/axios.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_bootstrap,node_app_shell,node_routes,node_login,node_navbar,node_user toneBlue
class node_student_view,node_student_form,node_student_table,node_career_data toneAmber
class node_student_service,node_http_client toneMint
class node_backend toneIndigo
```

## Components

### App navigation

- [Vue app bootstrap](https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/main.js): `front_alumnos/src/main.js`
- [App shell](https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/App.vue): `front_alumnos/src/App.vue`
- [Route selection](https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/router/index.js): `front_alumnos/src/router/index.js`
- [Sign in](https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/views/AuthView.vue): `front_alumnos/src/views/AuthView.vue`
- [Session controls](https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/Components/NavBar.vue): `front_alumnos/src/Components/NavBar.vue`

### Student records

- [Student management](https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/views/AlumnosView.vue): `front_alumnos/src/views/AlumnosView.vue`
- [Student form](https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/Components/formAlumnos.vue): `front_alumnos/src/Components/formAlumnos.vue`
- [Career tables](https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/Components/tablaAlumnos.vue): `front_alumnos/src/Components/tablaAlumnos.vue`
- [Career choices](https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/assets/carrerasData.js): `front_alumnos/src/assets/carrerasData.js`

### API access

- [Student API service](https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/api/alumnos.services.js): `front_alumnos/src/api/alumnos.services.js`
- [HTTP client](https://github.com/cuevaserik-dev/computo_vue/blob/main/front_alumnos/src/api/axios.js): `front_alumnos/src/api/axios.js`

### Other components

- **Staff user**
- **Application backend**

## Connections

- Staff user → Sign in: enters credentials (evidence: `front_alumnos/src/views/AuthView.vue`)
- Vue app bootstrap → App shell: mounts (evidence: `front_alumnos/src/main.js`)
- Vue app bootstrap → Route selection: installs router (evidence: `front_alumnos/src/main.js`)
- App shell → Route selection: renders routes (evidence: `front_alumnos/src/App.vue`)
- Route selection → Sign in: routes to (evidence: `front_alumnos/src/router/index.js`)
- Route selection → Student management: routes to (evidence: `front_alumnos/src/router/index.js`)
- Sign in → Application backend: posts credentials (evidence: `front_alumnos/src/views/AuthView.vue`)
- Sign in → Student management: navigates after login (evidence: `front_alumnos/src/views/AuthView.vue`)
- Student management → Session controls: renders (evidence: `front_alumnos/src/views/AlumnosView.vue`)
- Student management → Student form: renders and handles events (evidence: `front_alumnos/src/views/AlumnosView.vue`)
- Student management → Career tables: renders and handles events (evidence: `front_alumnos/src/views/AlumnosView.vue`)
- Student management → Career choices: uses choices (evidence: `front_alumnos/src/views/AlumnosView.vue`)
- Student management → Student API service: calls CRUD methods (evidence: `front_alumnos/src/views/AlumnosView.vue`)
- Student API service → HTTP client: sends requests (evidence: `front_alumnos/src/api/alumnos.services.js`)
- HTTP client → Application backend: sends API calls (evidence: `front_alumnos/src/api/axios.js`)
- Session controls → Route selection: redirects on logout (evidence: `front_alumnos/src/Components/NavBar.vue`)
- Student management → Staff user: opens print view (evidence: `front_alumnos/src/views/AlumnosView.vue`)
