Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/estebansalas94/Prueba-Soporte/llms.txt

Use this file to discover all available pages before exploring further.

Prueba Soporte is a full-stack web application built on Laravel 11 and Vue.js 2. Each request travels through a well-defined chain of layers: the browser renders a Vue component, which reads from and writes to a Vuex store, which communicates with the Laravel backend over HTTP via Axios, where a controller method queries the database through Eloquent and returns a JSON response.

Layer diagram

Browser
  └── Vue.js 2 (TaskList.vue)
        └── Vuex store (store.js)
              └── Axios HTTP client
                    └── Laravel Router (routes/web.php)
                          └── TaskController / ProfileController
                                └── Eloquent ORM (Task, User models)
                                      └── MySQL / SQLite database

Role of each layer

LayerTechnologyResponsibility
BrowserHTML / Bootstrap CSSRenders the UI and captures user input
ComponentVue.js 2 (TaskList.vue)Reactive UI; dispatches Vuex actions on user events
State managementVuex 3Single source of truth for the task list; coordinates async HTTP calls
HTTP clientAxios 0.19Sends authenticated AJAX requests; sets X-Requested-With header
RouterLaravel 11 (routes/web.php)Maps HTTP verbs + paths to controller methods; enforces auth middleware
ControllerTaskControllerValidates input, queries models, returns JSON or redirects
ORMEloquent (Task, User)Maps PHP objects to database rows; defines relationships
DatabaseMySQL or SQLitePersists users, tasks, sessions, and password_reset_tokens tables

Technology summary

LayerPackage / Version
PHP frameworklaravel/framework ^11.9
Authentication scaffoldinglaravel/breeze ^2.1
Server-side rendering bridgeinertiajs/inertia-laravel ^1.0
Route helpers (JS)tightenco/ziggy ^2.0
Vue.jsvue ^2.7.16
State managementvuex ^3.6.2
HTTP clientaxios ^0.19.2
Asset bundlerlaravel-mix ^6.0.49 + Webpack
CSS frameworkBootstrap (via Blade layout)
The dashboard page (/dashboard) is rendered by Inertia.js, while the task list page (/tasks) uses a classic Blade view that mounts the Vue app on a #app element.

Explore the architecture

Frontend architecture

Vue.js component structure, Vuex store, Axios integration, and Laravel Mix configuration.

Backend architecture

Laravel routes, TaskController methods, middleware stack, and Inertia.js usage.

Database

Schema for the tasks and users tables, foreign key relationships, and Eloquent model definitions.

Build docs developers (and LLMs) love