# thilyhoan0603-dau/24ct2-thi-ly-hoan architecture

> Architecture diagram of the GitHub repository thilyhoan0603-dau/24ct2-thi-ly-hoan, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/thilyhoan0603-dau/24ct2-thi-ly-hoan
- Repository: https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan

## Overview

This repository is a Laravel 12 starter application, not the Laravel framework itself. Its visible runtime path is an incoming HTTP request through the public front controller into Laravel’s application bootstrap, which registers web and console routes. The starter includes a default User model and database seeder, plus a minimal browser JavaScript bootstrap. The README describes broader Laravel framework capabilities; those are represented as platform-provided areas, not as verified application-specific flows. Route handlers and migration contents were not sampled, so those connections are omitted.

Main entry points: [`composer.json`](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/composer.json) (Laravel framework), [`bootstrap/app.php`](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/bootstrap/app.php) (App bootstrap), [`app/Models/User.php`](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/app/Models/User.php) (User model), [`public/index.php`](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/public/index.php) (HTTP entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Application runtime"]
  node_front["HTTP entry<br/>[index.php]"]
  node_bootstrap["App bootstrap<br/>[app.php]"]
  node_routes["Route registration<br/>[web.php]"]
  node_controller["Controller base<br/>[Controller.php]"]
  node_welcome["Welcome page<br/>[welcome.blade.php]"]
  node_jsapp["Browser entry<br/>[app.js]"]
  node_jsboot["Browser setup<br/>[bootstrap.js]"]
  node_providerlist["Provider registry<br/>[providers.php]"]
  node_provider["App provider"]
end

subgraph group_identity["User and identity"]
  node_user["User model<br/>[User.php]"]
  node_factory["User factory<br/>[UserFactory.php]"]
  node_seeder["Database seeder<br/>[DatabaseSeeder.php]"]
  node_auth["Authentication config<br/>[auth.php]"]
end

subgraph group_platform["Framework capabilities"]
  node_schema[("Schema migrations")]
  node_cache[("Cache storage<br/>[cache.php]")]
  node_session[("Session storage<br/>[session.php]")]
  node_jobs["Background jobs<br/>[queue.php]"]
  node_framework["Laravel framework<br/>[composer.json]"]
end

node_visitor(("HTTP client"))

node_visitor -->|"sends request"| node_front
node_front -->|"loads app"| node_bootstrap
node_bootstrap -->|"registers web routes"| node_routes
node_providerlist -->|"registers"| node_provider
node_jsapp -->|"imports setup"| node_jsboot
node_auth -->|"selects model"| node_user
node_factory -->|"uses model"| node_user
node_seeder -->|"creates user"| node_user
node_bootstrap -.->|"configures"| node_framework
node_framework -.->|"provides migrations"| node_schema
node_framework -.->|"provides cache"| node_cache
node_framework -.->|"provides sessions"| node_session
node_framework -.->|"provides queues"| node_jobs

click node_front "https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/public/index.php"
click node_bootstrap "https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/bootstrap/app.php"
click node_routes "https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/routes/web.php"
click node_controller "https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/app/Http/Controllers/Controller.php"
click node_welcome "https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/resources/views/welcome.blade.php"
click node_jsapp "https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/resources/js/app.js"
click node_jsboot "https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/resources/js/bootstrap.js"
click node_providerlist "https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/bootstrap/providers.php"
click node_provider "https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/app/Providers/AppServiceProvider.php"
click node_user "https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/app/Models/User.php"
click node_factory "https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/database/factories/UserFactory.php"
click node_seeder "https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/database/seeders/DatabaseSeeder.php"
click node_auth "https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/config/auth.php"
click node_schema "https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/tree/main/database/migrations"
click node_cache "https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/config/cache.php"
click node_session "https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/config/session.php"
click node_jobs "https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/config/queue.php"
click node_framework "https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/composer.json"

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_front,node_bootstrap,node_routes,node_controller,node_welcome,node_jsapp,node_jsboot,node_providerlist,node_provider,node_visitor toneBlue
class node_user,node_factory,node_seeder,node_auth toneAmber
class node_schema,node_cache,node_session,node_jobs,node_framework toneMint
```

## Components

### Application runtime

- [HTTP entry](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/public/index.php): `public/index.php`
- [App bootstrap](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/bootstrap/app.php): `bootstrap/app.php`
- [Route registration](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/routes/web.php): `routes/web.php`
- [Controller base](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/app/Http/Controllers/Controller.php): `app/Http/Controllers/Controller.php`
- [Welcome page](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/resources/views/welcome.blade.php): `resources/views/welcome.blade.php`
- [Browser entry](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/resources/js/app.js): `resources/js/app.js`
- [Browser setup](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/resources/js/bootstrap.js): `resources/js/bootstrap.js`
- [Provider registry](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/bootstrap/providers.php): `bootstrap/providers.php`
- [App provider](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/app/Providers/AppServiceProvider.php): `app/Providers/AppServiceProvider.php`

### User and identity

- [User model](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/app/Models/User.php): `app/Models/User.php`
- [User factory](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/database/factories/UserFactory.php): `database/factories/UserFactory.php`
- [Database seeder](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/database/seeders/DatabaseSeeder.php): `database/seeders/DatabaseSeeder.php`
- [Authentication config](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/config/auth.php): `config/auth.php`

### Framework capabilities

- [Schema migrations](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/tree/main/database/migrations): `database/migrations`
- [Cache storage](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/config/cache.php): `config/cache.php`
- [Session storage](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/config/session.php): `config/session.php`
- [Background jobs](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/config/queue.php): `config/queue.php`
- [Laravel framework](https://github.com/thilyhoan0603-dau/24ct2-thi-ly-hoan/blob/main/composer.json): `composer.json`

### Other components

- **HTTP client**

## Connections

- HTTP client → HTTP entry: sends request (evidence: `public/index.php`)
- HTTP entry → App bootstrap: loads app (evidence: `public/index.php`)
- App bootstrap → Route registration: registers web routes (evidence: `bootstrap/app.php`)
- Provider registry → App provider: registers (evidence: `bootstrap/providers.php`)
- Browser entry → Browser setup: imports setup (evidence: `resources/js/app.js`)
- Authentication config → User model: selects model (evidence: `config/auth.php`)
- User factory → User model: uses model (evidence: `database/factories/UserFactory.php`)
- Database seeder → User model: creates user (evidence: `database/seeders/DatabaseSeeder.php`)
- App bootstrap → Laravel framework: configures
- Laravel framework → Schema migrations: provides migrations
- Laravel framework → Cache storage: provides cache
- Laravel framework → Session storage: provides sessions
- Laravel framework → Background jobs: provides queues
