# tdung006/edu-manager architecture

> Architecture diagram of the GitHub repository tdung006/edu-manager, 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/tdung006/edu-manager
- Repository: https://github.com/tdung006/edu-manager

## Overview

This is a Laravel student-management web application, despite the README describing the Laravel framework rather than the app. Users sign in, then manage student records and view student profiles, grades, attendance, subjects, and schedules. The route file owns several report handlers directly, while StudentController owns student CRUD and profile assembly. The sampled controller and routes show database queries feeding Blade views. The tree and excerpts do not reveal the schema for the academic tables, so persistence is represented generically; unsampled routes and view behavior are not inferred.

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

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Request entry"]
  node_http["HTTP entry<br/>[index.php]"]
  node_bootstrap["App bootstrap<br/>[app.php]"]
  node_routes["Web routes<br/>[web.php]"]
end

subgraph group_identity["Authentication"]
  node_users["User account<br/>[User.php]"]
  node_authviews["Login and register"]
end

subgraph group_records["Student records"]
  node_students["Student CRUD"]
  node_studentviews["Student pages"]
end

subgraph group_academics["Academic views"]
  node_profile["Student profile"]
  node_grades["Grade report<br/>[grades.blade.php]"]
  node_attendance["Attendance report"]
  node_academicdb[("Academic data store<br/>[database.php]")]
end

node_visitor(("Browser user"))

node_visitor -->|"sends request"| node_http
node_http -->|"loads app"| node_bootstrap
node_bootstrap -->|"registers routes"| node_routes
node_routes -->|"dispatches"| node_students
node_routes -->|"creates account"| node_users
node_routes -->|"renders"| node_authviews
node_routes -->|"renders"| node_grades
node_routes -->|"renders"| node_attendance
node_routes -->|"queries"| node_academicdb
node_students -->|"queries"| node_academicdb
node_students -->|"renders"| node_studentviews
node_students -->|"renders"| node_profile
node_routes -->|"renders"| node_studentviews

click node_http "https://github.com/tdung006/edu-manager/blob/main/public/index.php"
click node_bootstrap "https://github.com/tdung006/edu-manager/blob/main/bootstrap/app.php"
click node_routes "https://github.com/tdung006/edu-manager/blob/main/routes/web.php"
click node_users "https://github.com/tdung006/edu-manager/blob/main/app/Models/User.php"
click node_authviews "https://github.com/tdung006/edu-manager/tree/main/resources/views/auth"
click node_students "https://github.com/tdung006/edu-manager/blob/main/app/Http/Controllers/StudentController.php"
click node_studentviews "https://github.com/tdung006/edu-manager/tree/main/resources/views"
click node_profile "https://github.com/tdung006/edu-manager/blob/main/resources/views/student-profile.blade.php"
click node_grades "https://github.com/tdung006/edu-manager/blob/main/resources/views/grades.blade.php"
click node_attendance "https://github.com/tdung006/edu-manager/blob/main/resources/views/attendance.blade.php"
click node_academicdb "https://github.com/tdung006/edu-manager/blob/main/config/database.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_http,node_bootstrap,node_routes,node_visitor toneBlue
class node_users,node_authviews toneAmber
class node_students,node_studentviews toneMint
class node_profile,node_grades,node_attendance,node_academicdb toneRose
```

## Components

### Request entry

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

### Authentication

- [User account](https://github.com/tdung006/edu-manager/blob/main/app/Models/User.php): `app/Models/User.php`
- [Login and register](https://github.com/tdung006/edu-manager/tree/main/resources/views/auth): `resources/views/auth`

### Student records

- [Student CRUD](https://github.com/tdung006/edu-manager/blob/main/app/Http/Controllers/StudentController.php): `app/Http/Controllers/StudentController.php`
- [Student pages](https://github.com/tdung006/edu-manager/tree/main/resources/views): `resources/views`

### Academic views

- [Student profile](https://github.com/tdung006/edu-manager/blob/main/resources/views/student-profile.blade.php): `resources/views/student-profile.blade.php`
- [Grade report](https://github.com/tdung006/edu-manager/blob/main/resources/views/grades.blade.php): `resources/views/grades.blade.php`
- [Attendance report](https://github.com/tdung006/edu-manager/blob/main/resources/views/attendance.blade.php): `resources/views/attendance.blade.php`
- [Academic data store](https://github.com/tdung006/edu-manager/blob/main/config/database.php): `config/database.php`

### Other components

- **Browser user**

## Connections

- Browser user → HTTP entry: sends request
- HTTP entry → App bootstrap: loads app (evidence: `public/index.php`)
- App bootstrap → Web routes: registers routes (evidence: `bootstrap/app.php`)
- Web routes → Student CRUD: dispatches (evidence: `routes/web.php`)
- Web routes → User account: creates account (evidence: `routes/web.php`)
- Web routes → Login and register: renders (evidence: `routes/web.php`)
- Web routes → Grade report: renders (evidence: `routes/web.php`)
- Web routes → Attendance report: renders (evidence: `routes/web.php`)
- Web routes → Academic data store: queries (evidence: `routes/web.php`)
- Student CRUD → Academic data store: queries (evidence: `app/Http/Controllers/StudentController.php`)
- Student CRUD → Student pages: renders (evidence: `app/Http/Controllers/StudentController.php`)
- Student CRUD → Student profile: renders (evidence: `app/Http/Controllers/StudentController.php`)
- Web routes → Student pages: renders (evidence: `routes/web.php`)
