# tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm architecture

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

- Interactive diagram: https://gitdiagram.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm
- Repository: https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm

## Overview

This is an education-management web application built on Laravel, not the Laravel framework itself. Authenticated users can manage student records and view student profiles, grades, attendance, and related academic information. The request path runs from the web entry point through Laravel routing to route handlers or the student controller, which reads or updates database records and renders Blade views. The excerpts show those core paths; unsampled route and controller sections limit certainty about some features and their connections.

Main entry points: [`routes/web.php`](https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/routes/web.php) (Web routes), [`app/Http/Controllers/StudentController.php`](https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/app/Http/Controllers/StudentController.php) (Student controller), [`public/index.php`](https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/public/index.php) (HTTP entry), [`bootstrap/app.php`](https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/bootstrap/app.php) (App bootstrap)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Web runtime"]
  node_entry["HTTP entry<br/>[index.php]"]
  node_bootstrap["App bootstrap<br/>[app.php]"]
  node_routes["Web routes<br/>[web.php]"]
end

subgraph group_identity["User access"]
  node_auth["Login and registration<br/>[web.php]"]
  node_user["User account<br/>[User.php]"]
end

subgraph group_students["Student records"]
  node_studentctl["Student controller"]
  node_studentdata["Student records"]
  node_homeview["Student dashboard<br/>[home.blade.php]"]
  node_formview["Student form"]
end

subgraph group_academics["Academic information"]
  node_profileview["Student profile"]
  node_grades["Grade listing<br/>[web.php]"]
  node_gradeview["Grades view<br/>[grades.blade.php]"]
  node_attendance["Attendance listing<br/>[web.php]"]
  node_attendanceview["Attendance view"]
end

node_visitor(("Browser user"))
node_database[("Application database")]

node_visitor -->|"sends request"| node_entry
node_entry -->|"handles request"| node_bootstrap
node_bootstrap -->|"loads routes"| node_routes
node_routes -->|"routes auth"| node_auth
node_routes -->|"dispatches"| node_studentctl
node_routes -->|"defines grades"| node_grades
node_routes -->|"defines attendance"| node_attendance
node_auth -->|"authenticates"| node_user
node_auth -->|"reads and saves"| node_database
node_studentctl -->|"queries and updates"| node_studentdata
node_studentdata -->|"reads and writes"| node_database
node_studentctl -->|"renders"| node_homeview
node_studentctl -.->|"renders"| node_formview
node_studentctl -->|"renders"| node_profileview
node_grades -->|"queries grades"| node_database
node_grades -->|"renders"| node_gradeview
node_attendance -->|"queries attendance"| node_database
node_attendance -->|"renders"| node_attendanceview

click node_entry "https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/public/index.php"
click node_bootstrap "https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/bootstrap/app.php"
click node_routes "https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/routes/web.php"
click node_auth "https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/routes/web.php"
click node_user "https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/app/Models/User.php"
click node_studentctl "https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/app/Http/Controllers/StudentController.php"
click node_studentdata "https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/app/Http/Controllers/StudentController.php"
click node_homeview "https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/resources/views/home.blade.php"
click node_formview "https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/resources/views/student-form.blade.php"
click node_profileview "https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/resources/views/student-profile.blade.php"
click node_grades "https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/routes/web.php"
click node_gradeview "https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/resources/views/grades.blade.php"
click node_attendance "https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/routes/web.php"
click node_attendanceview "https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/resources/views/attendance.blade.php"

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_entry,node_bootstrap,node_routes,node_visitor toneBlue
class node_auth,node_user,node_database toneAmber
class node_studentctl,node_studentdata,node_homeview,node_formview toneMint
class node_profileview,node_grades,node_gradeview,node_attendance,node_attendanceview toneRose
```

## Components

### Web runtime

- [HTTP entry](https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/public/index.php): `public/index.php`
- [App bootstrap](https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/bootstrap/app.php): `bootstrap/app.php`
- [Web routes](https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/routes/web.php): `routes/web.php`

### User access

- [Login and registration](https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/routes/web.php): `routes/web.php`
- [User account](https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/app/Models/User.php): `app/Models/User.php`

### Student records

- [Student controller](https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/app/Http/Controllers/StudentController.php): `app/Http/Controllers/StudentController.php`
- [Student records](https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/app/Http/Controllers/StudentController.php): `app/Http/Controllers/StudentController.php`
- [Student dashboard](https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/resources/views/home.blade.php): `resources/views/home.blade.php`
- [Student form](https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/resources/views/student-form.blade.php): `resources/views/student-form.blade.php`

### Academic information

- [Student profile](https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/resources/views/student-profile.blade.php): `resources/views/student-profile.blade.php`
- [Grade listing](https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/routes/web.php): `routes/web.php`
- [Grades view](https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/resources/views/grades.blade.php): `resources/views/grades.blade.php`
- [Attendance listing](https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/routes/web.php): `routes/web.php`
- [Attendance view](https://github.com/tdung006/edu-tranthuydung_quanlysinhvien_24ct2_cnpm/blob/main/resources/views/attendance.blade.php): `resources/views/attendance.blade.php`

### Other components

- **Browser user**
- **Application database**

## Connections

- Browser user → HTTP entry: sends request (evidence: `public/index.php`)
- HTTP entry → App bootstrap: handles request (evidence: `public/index.php`)
- App bootstrap → Web routes: loads routes (evidence: `bootstrap/app.php`)
- Web routes → Login and registration: routes auth (evidence: `routes/web.php`)
- Web routes → Student controller: dispatches (evidence: `routes/web.php`)
- Web routes → Grade listing: defines grades (evidence: `routes/web.php`)
- Web routes → Attendance listing: defines attendance (evidence: `routes/web.php`)
- Login and registration → User account: authenticates (evidence: `routes/web.php`)
- Login and registration → Application database: reads and saves (evidence: `routes/web.php`)
- Student controller → Student records: queries and updates (evidence: `app/Http/Controllers/StudentController.php`)
- Student records → Application database: reads and writes (evidence: `app/Http/Controllers/StudentController.php`)
- Student controller → Student dashboard: renders (evidence: `app/Http/Controllers/StudentController.php`)
- Student controller → Student form: renders
- Student controller → Student profile: renders (evidence: `app/Http/Controllers/StudentController.php`)
- Grade listing → Application database: queries grades (evidence: `routes/web.php`)
- Grade listing → Grades view: renders (evidence: `routes/web.php`)
- Attendance listing → Application database: queries attendance (evidence: `routes/web.php`)
- Attendance listing → Attendance view: renders (evidence: `routes/web.php`)
