# johnbrentcuario/task-manager architecture

> Architecture diagram of the GitHub repository johnbrentcuario/task-manager, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-07). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/johnbrentcuario/task-manager
- Repository: https://github.com/johnbrentcuario/task-manager

## Overview

This is a Laravel/Vue application with Inertia, supporting authentication, profile settings, administration, and a task workflow. The principal visible request path is browser login through Laravel routes and controllers to an Inertia page; authenticated users then reach profile/admin functions. The task service and its domain records are substantial, but no task-facing controller or route implementation was excerpted, so those are shown as a domain layer without guessed request links. Relationships are limited to excerpted code or SOURCE INDEX references.

Main entry points: [`resources/js/app.ts`](https://github.com/johnbrentcuario/task-manager/blob/main/resources/js/app.ts) (Vue Inertia entry), [`app/Services/TaskWorkflow.php`](https://github.com/johnbrentcuario/task-manager/blob/main/app/Services/TaskWorkflow.php) (Task workflow), [`app/Models/Task.php`](https://github.com/johnbrentcuario/task-manager/blob/main/app/Models/Task.php) (Tasks), [`app/Models/User.php`](https://github.com/johnbrentcuario/task-manager/blob/main/app/Models/User.php) (User records)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Web entry and routing"]
  node_laravel["Laravel request entry<br/>[index.php]"]
  node_bootstrap["App bootstrap<br/>[app.php]"]
  node_web_routes["Web routes<br/>[web.php]"]
  node_auth_routes["Auth routes<br/>[auth.php]"]
  node_inertia_middleware["Inertia middleware"]
end

subgraph group_identity["Identity and administration"]
  node_session["Session auth"]
  node_login_request["Login validation<br/>[LoginRequest.php]"]
  node_verify_email["Email verification"]
  node_profile["Profile settings"]
  node_admin_users["User administration<br/>[UserController.php]"]
  node_user_model[("User records<br/>[User.php]")]
end

subgraph group_tasks["Task domain"]
  node_task_workflow["Task workflow<br/>[TaskWorkflow.php]"]
  node_task_model[("Tasks<br/>[Task.php]")]
  node_task_events[("Task events<br/>[TaskEvent.php]")]
  node_mod_requests[("Modification requests")]
end

subgraph group_client["Inertia client"]
  node_client_entry["Vue Inertia entry<br/>[app.ts]"]
  node_auth_pages["Authentication pages<br/>[Login.vue]"]
  node_dashboard["Dashboard page<br/>[Dashboard.vue]"]
  node_admin_pages["Admin user pages<br/>[Index.vue]"]
  node_profile_page["Profile page<br/>[Profile.vue]"]
  node_appearance["Appearance preferences<br/>[useAppearance.ts]"]
end

node_browser(("Browser user"))

node_browser -->|"sends requests"| node_laravel
node_laravel -->|"boots app"| node_bootstrap
node_bootstrap -->|"loads routes"| node_web_routes
node_web_routes -->|"includes routes"| node_auth_routes
node_auth_routes -->|"dispatches login"| node_session
node_auth_routes -->|"dispatches verify"| node_verify_email
node_session -->|"authenticates with"| node_login_request
node_web_routes -->|"routes admin"| node_admin_users
node_admin_users -->|"reads and updates"| node_user_model
node_profile -->|"updates profile"| node_user_model
node_bootstrap -->|"registers middleware"| node_inertia_middleware
node_client_entry -->|"resolves pages"| node_auth_pages
node_client_entry -->|"resolves pages"| node_dashboard
node_client_entry -->|"resolves pages"| node_admin_pages
node_client_entry -->|"resolves pages"| node_profile_page
node_client_entry -->|"initializes theme"| node_appearance
node_task_workflow -->|"uses task records"| node_task_model
node_task_workflow -->|"uses event records"| node_task_events
node_task_workflow -->|"uses change requests"| node_mod_requests
node_task_workflow -->|"uses user records"| node_user_model
node_task_model -->|"relates events"| node_task_events
node_task_model -->|"relates requests"| node_mod_requests
node_task_model -->|"relates users"| node_user_model

click node_laravel "https://github.com/johnbrentcuario/task-manager/blob/main/public/index.php"
click node_bootstrap "https://github.com/johnbrentcuario/task-manager/blob/main/bootstrap/app.php"
click node_web_routes "https://github.com/johnbrentcuario/task-manager/blob/main/routes/web.php"
click node_auth_routes "https://github.com/johnbrentcuario/task-manager/blob/main/routes/auth.php"
click node_session "https://github.com/johnbrentcuario/task-manager/blob/main/app/Http/Controllers/Auth/AuthenticatedSessionController.php"
click node_login_request "https://github.com/johnbrentcuario/task-manager/blob/main/app/Http/Requests/Auth/LoginRequest.php"
click node_verify_email "https://github.com/johnbrentcuario/task-manager/blob/main/app/Http/Controllers/Auth/VerifyEmailController.php"
click node_profile "https://github.com/johnbrentcuario/task-manager/blob/main/app/Http/Controllers/Settings/ProfileController.php"
click node_admin_users "https://github.com/johnbrentcuario/task-manager/blob/main/app/Http/Controllers/Admin/UserController.php"
click node_user_model "https://github.com/johnbrentcuario/task-manager/blob/main/app/Models/User.php"
click node_inertia_middleware "https://github.com/johnbrentcuario/task-manager/blob/main/app/Http/Middleware/HandleInertiaRequests.php"
click node_task_workflow "https://github.com/johnbrentcuario/task-manager/blob/main/app/Services/TaskWorkflow.php"
click node_task_model "https://github.com/johnbrentcuario/task-manager/blob/main/app/Models/Task.php"
click node_task_events "https://github.com/johnbrentcuario/task-manager/blob/main/app/Models/TaskEvent.php"
click node_mod_requests "https://github.com/johnbrentcuario/task-manager/blob/main/app/Models/ModificationRequest.php"
click node_client_entry "https://github.com/johnbrentcuario/task-manager/blob/main/resources/js/app.ts"
click node_auth_pages "https://github.com/johnbrentcuario/task-manager/blob/main/resources/js/pages/auth/Login.vue"
click node_dashboard "https://github.com/johnbrentcuario/task-manager/blob/main/resources/js/pages/Dashboard.vue"
click node_admin_pages "https://github.com/johnbrentcuario/task-manager/blob/main/resources/js/pages/admin/users/Index.vue"
click node_profile_page "https://github.com/johnbrentcuario/task-manager/blob/main/resources/js/pages/settings/Profile.vue"
click node_appearance "https://github.com/johnbrentcuario/task-manager/blob/main/resources/js/composables/useAppearance.ts"

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_laravel,node_bootstrap,node_web_routes,node_auth_routes,node_inertia_middleware,node_browser toneBlue
class node_session,node_login_request,node_verify_email,node_profile,node_admin_users,node_user_model toneAmber
class node_task_workflow,node_task_model,node_task_events,node_mod_requests toneMint
class node_client_entry,node_auth_pages,node_dashboard,node_admin_pages,node_profile_page,node_appearance toneRose
```

## Components

### Web entry and routing

- [Laravel request entry](https://github.com/johnbrentcuario/task-manager/blob/main/public/index.php): `public/index.php`
- [App bootstrap](https://github.com/johnbrentcuario/task-manager/blob/main/bootstrap/app.php): `bootstrap/app.php`
- [Web routes](https://github.com/johnbrentcuario/task-manager/blob/main/routes/web.php): `routes/web.php`
- [Auth routes](https://github.com/johnbrentcuario/task-manager/blob/main/routes/auth.php): `routes/auth.php`
- [Inertia middleware](https://github.com/johnbrentcuario/task-manager/blob/main/app/Http/Middleware/HandleInertiaRequests.php): `app/Http/Middleware/HandleInertiaRequests.php`

### Identity and administration

- [Session auth](https://github.com/johnbrentcuario/task-manager/blob/main/app/Http/Controllers/Auth/AuthenticatedSessionController.php): `app/Http/Controllers/Auth/AuthenticatedSessionController.php`
- [Login validation](https://github.com/johnbrentcuario/task-manager/blob/main/app/Http/Requests/Auth/LoginRequest.php): `app/Http/Requests/Auth/LoginRequest.php`
- [Email verification](https://github.com/johnbrentcuario/task-manager/blob/main/app/Http/Controllers/Auth/VerifyEmailController.php): `app/Http/Controllers/Auth/VerifyEmailController.php`
- [Profile settings](https://github.com/johnbrentcuario/task-manager/blob/main/app/Http/Controllers/Settings/ProfileController.php): `app/Http/Controllers/Settings/ProfileController.php`
- [User administration](https://github.com/johnbrentcuario/task-manager/blob/main/app/Http/Controllers/Admin/UserController.php): `app/Http/Controllers/Admin/UserController.php`
- [User records](https://github.com/johnbrentcuario/task-manager/blob/main/app/Models/User.php): `app/Models/User.php`

### Task domain

- [Task workflow](https://github.com/johnbrentcuario/task-manager/blob/main/app/Services/TaskWorkflow.php): `app/Services/TaskWorkflow.php`
- [Tasks](https://github.com/johnbrentcuario/task-manager/blob/main/app/Models/Task.php): `app/Models/Task.php`
- [Task events](https://github.com/johnbrentcuario/task-manager/blob/main/app/Models/TaskEvent.php): `app/Models/TaskEvent.php`
- [Modification requests](https://github.com/johnbrentcuario/task-manager/blob/main/app/Models/ModificationRequest.php): `app/Models/ModificationRequest.php`

### Inertia client

- [Vue Inertia entry](https://github.com/johnbrentcuario/task-manager/blob/main/resources/js/app.ts): `resources/js/app.ts`
- [Authentication pages](https://github.com/johnbrentcuario/task-manager/blob/main/resources/js/pages/auth/Login.vue): `resources/js/pages/auth/Login.vue`
- [Dashboard page](https://github.com/johnbrentcuario/task-manager/blob/main/resources/js/pages/Dashboard.vue): `resources/js/pages/Dashboard.vue`
- [Admin user pages](https://github.com/johnbrentcuario/task-manager/blob/main/resources/js/pages/admin/users/Index.vue): `resources/js/pages/admin/users/Index.vue`
- [Profile page](https://github.com/johnbrentcuario/task-manager/blob/main/resources/js/pages/settings/Profile.vue): `resources/js/pages/settings/Profile.vue`
- [Appearance preferences](https://github.com/johnbrentcuario/task-manager/blob/main/resources/js/composables/useAppearance.ts): `resources/js/composables/useAppearance.ts`

### Other components

- **Browser user**

## Connections

- Browser user → Laravel request entry: sends requests
- Laravel request entry → App bootstrap: boots app (evidence: `public/index.php`)
- App bootstrap → Web routes: loads routes (evidence: `bootstrap/app.php`)
- Web routes → Auth routes: includes routes (evidence: `routes/web.php`)
- Auth routes → Session auth: dispatches login (evidence: `routes/auth.php`)
- Auth routes → Email verification: dispatches verify (evidence: `routes/auth.php`)
- Session auth → Login validation: authenticates with (evidence: `app/Http/Controllers/Auth/AuthenticatedSessionController.php`)
- Web routes → User administration: routes admin (evidence: `app/Http/Controllers/Admin/UserController.php`)
- User administration → User records: reads and updates (evidence: `app/Http/Controllers/Admin/UserController.php`)
- Profile settings → User records: updates profile
- App bootstrap → Inertia middleware: registers middleware (evidence: `bootstrap/app.php`)
- Vue Inertia entry → Authentication pages: resolves pages (evidence: `resources/js/app.ts`)
- Vue Inertia entry → Dashboard page: resolves pages (evidence: `resources/js/app.ts`)
- Vue Inertia entry → Admin user pages: resolves pages (evidence: `resources/js/app.ts`)
- Vue Inertia entry → Profile page: resolves pages (evidence: `resources/js/app.ts`)
- Vue Inertia entry → Appearance preferences: initializes theme (evidence: `resources/js/app.ts`)
- Task workflow → Tasks: uses task records (evidence: `app/Services/TaskWorkflow.php`)
- Task workflow → Task events: uses event records (evidence: `app/Services/TaskWorkflow.php`)
- Task workflow → Modification requests: uses change requests (evidence: `app/Services/TaskWorkflow.php`)
- Task workflow → User records: uses user records (evidence: `app/Services/TaskWorkflow.php`)
- Tasks → Task events: relates events (evidence: `app/Models/Task.php`)
- Tasks → Modification requests: relates requests (evidence: `app/Models/Task.php`)
- Tasks → User records: relates users (evidence: `app/Models/Task.php`)
