# azharraihan/seu-game-booking-management architecture

> Architecture diagram of the GitHub repository azharraihan/seu-game-booking-management, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/azharraihan/seu-game-booking-management
- Repository: https://github.com/azharraihan/seu-game-booking-management

## Overview

SEU-Game-Booking-Management is a Laravel web application for game-room booking, with admin and student areas, authentication, game administration, and site settings. The visible workflow is a browser request through Laravel’s HTTP entry point and routes to a controller, which returns a page or handles an update. The README documents setup and seeded data but gives little product detail; several controller and route implementations are unsampled, so their links are omitted or marked unverified rather than inferred as confirmed calls.

Main entry points: [`routes/admin.php`](https://github.com/azharraihan/seu-game-booking-management/blob/main/routes/admin.php) (Admin routes), [`routes/web.php`](https://github.com/azharraihan/seu-game-booking-management/blob/main/routes/web.php) (Web routes), [`app/Http/Controllers/Auth/LoginController.php`](https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Controllers/Auth/LoginController.php) (Login and social auth), [`app/Http/Controllers/Students/StudentDashboardController.php`](https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Controllers/Students/StudentDashboardController.php) (Student dashboard)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Web runtime"]
  node_http_entry["HTTP entry<br/>[index.php]"]
  node_app_bootstrap["App bootstrap<br/>[app.php]"]
  node_http_kernel["HTTP kernel<br/>[Kernel.php]"]
  node_web_routes["Web routes<br/>[web.php]"]
  node_admin_routes["Admin routes<br/>[admin.php]"]
  node_student_routes["Student routes<br/>[students.php]"]
end

subgraph group_identity["Identity and access"]
  node_login["Login and social auth"]
  node_registration["Registration"]
  node_verification["Email verification"]
end

subgraph group_product["Booking and admin"]
  node_admin_dashboard["Admin dashboard"]
  node_game_admin["Game administration"]
  node_student_dashboard["Student dashboard"]
  node_profile_settings["Profile settings"]
  node_site_settings["Site settings"]
  node_site_views["Admin pages"]
  node_student_view["Student page"]
end

subgraph group_data["Application data"]
  node_game_model[("Game records<br/>[Game.php]")]
  node_player_model[("Player records<br/>[Player.php]")]
  node_setting_model[("Setting records<br/>[Setting.php]")]
  node_user_model[("User accounts<br/>[User.php]")]
  node_role_model[("Roles<br/>[Role.php]")]
  node_role_seeder["Role seeding"]
  node_user_seeder["User seeding"]
  node_database_seeder["Seed orchestration<br/>[DatabaseSeeder.php]"]
end

node_browser(("Browser"))

node_browser -->|"sends request"| node_http_entry
node_http_entry -->|"loads app"| node_app_bootstrap
node_app_bootstrap -->|"binds kernel"| node_http_kernel
node_http_kernel -.->|"routes request"| node_web_routes
node_web_routes -.->|"dispatches"| node_login
node_web_routes -.->|"dispatches"| node_registration
node_web_routes -.->|"dispatches"| node_verification
node_admin_routes -->|"dispatches"| node_admin_dashboard
node_admin_routes -->|"dispatches"| node_game_admin
node_admin_routes -->|"dispatches"| node_profile_settings
node_admin_routes -->|"dispatches"| node_site_settings
node_student_routes -.->|"dispatches"| node_student_dashboard
node_login -->|"finds or creates"| node_user_model
node_login -->|"checks role"| node_role_model
node_registration -->|"creates account"| node_user_model
node_site_settings -->|"updates settings"| node_setting_model
node_game_admin -.->|"manages games"| node_game_model
node_student_dashboard -.->|"uses player data"| node_player_model
node_database_seeder -->|"calls seeder"| node_user_seeder
node_database_seeder -->|"calls seeder"| node_role_seeder
node_admin_dashboard -.->|"renders page"| node_site_views
node_student_dashboard -.->|"renders page"| node_student_view

click node_http_entry "https://github.com/azharraihan/seu-game-booking-management/blob/main/public/index.php"
click node_app_bootstrap "https://github.com/azharraihan/seu-game-booking-management/blob/main/bootstrap/app.php"
click node_http_kernel "https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Kernel.php"
click node_web_routes "https://github.com/azharraihan/seu-game-booking-management/blob/main/routes/web.php"
click node_admin_routes "https://github.com/azharraihan/seu-game-booking-management/blob/main/routes/admin.php"
click node_student_routes "https://github.com/azharraihan/seu-game-booking-management/blob/main/routes/students.php"
click node_login "https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Controllers/Auth/LoginController.php"
click node_registration "https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Controllers/Auth/RegisterController.php"
click node_verification "https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Controllers/Auth/VerificationController.php"
click node_admin_dashboard "https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Controllers/Admin/AdminDashboardController.php"
click node_game_admin "https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Controllers/Admin/AdminGamesController.php"
click node_student_dashboard "https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Controllers/Students/StudentDashboardController.php"
click node_profile_settings "https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Controllers/Admin/ProfileSettingController.php"
click node_site_settings "https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Controllers/Admin/SettingController.php"
click node_game_model "https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Models/Game.php"
click node_player_model "https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Models/Player.php"
click node_setting_model "https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Models/Setting.php"
click node_user_model "https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Models/User.php"
click node_role_model "https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Models/Role.php"
click node_role_seeder "https://github.com/azharraihan/seu-game-booking-management/blob/main/database/seeders/RolesTableSeeder.php"
click node_user_seeder "https://github.com/azharraihan/seu-game-booking-management/blob/main/database/seeders/UsersTableSeeder.php"
click node_database_seeder "https://github.com/azharraihan/seu-game-booking-management/blob/main/database/seeders/DatabaseSeeder.php"
click node_site_views "https://github.com/azharraihan/seu-game-booking-management/blob/main/resources/views/admin/dashboard.blade.php"
click node_student_view "https://github.com/azharraihan/seu-game-booking-management/blob/main/resources/views/student/dashboard.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_http_entry,node_app_bootstrap,node_http_kernel,node_web_routes,node_admin_routes,node_student_routes,node_browser toneBlue
class node_login,node_registration,node_verification toneAmber
class node_admin_dashboard,node_game_admin,node_student_dashboard,node_profile_settings,node_site_settings,node_site_views,node_student_view toneMint
class node_game_model,node_player_model,node_setting_model,node_user_model,node_role_model,node_role_seeder,node_user_seeder,node_database_seeder toneRose
```

## Components

### Web runtime

- [HTTP entry](https://github.com/azharraihan/seu-game-booking-management/blob/main/public/index.php): `public/index.php`
- [App bootstrap](https://github.com/azharraihan/seu-game-booking-management/blob/main/bootstrap/app.php): `bootstrap/app.php`
- [HTTP kernel](https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Kernel.php): `app/Http/Kernel.php`
- [Web routes](https://github.com/azharraihan/seu-game-booking-management/blob/main/routes/web.php): `routes/web.php`
- [Admin routes](https://github.com/azharraihan/seu-game-booking-management/blob/main/routes/admin.php): `routes/admin.php`
- [Student routes](https://github.com/azharraihan/seu-game-booking-management/blob/main/routes/students.php): `routes/students.php`

### Identity and access

- [Login and social auth](https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Controllers/Auth/LoginController.php): `app/Http/Controllers/Auth/LoginController.php`
- [Registration](https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Controllers/Auth/RegisterController.php): `app/Http/Controllers/Auth/RegisterController.php`
- [Email verification](https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Controllers/Auth/VerificationController.php): `app/Http/Controllers/Auth/VerificationController.php`

### Booking and admin

- [Admin dashboard](https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Controllers/Admin/AdminDashboardController.php): `app/Http/Controllers/Admin/AdminDashboardController.php`
- [Game administration](https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Controllers/Admin/AdminGamesController.php): `app/Http/Controllers/Admin/AdminGamesController.php`
- [Student dashboard](https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Controllers/Students/StudentDashboardController.php): `app/Http/Controllers/Students/StudentDashboardController.php`
- [Profile settings](https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Controllers/Admin/ProfileSettingController.php): `app/Http/Controllers/Admin/ProfileSettingController.php`
- [Site settings](https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Http/Controllers/Admin/SettingController.php): `app/Http/Controllers/Admin/SettingController.php`
- [Admin pages](https://github.com/azharraihan/seu-game-booking-management/blob/main/resources/views/admin/dashboard.blade.php): `resources/views/admin/dashboard.blade.php`
- [Student page](https://github.com/azharraihan/seu-game-booking-management/blob/main/resources/views/student/dashboard.blade.php): `resources/views/student/dashboard.blade.php`

### Application data

- [Game records](https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Models/Game.php): `app/Models/Game.php`
- [Player records](https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Models/Player.php): `app/Models/Player.php`
- [Setting records](https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Models/Setting.php): `app/Models/Setting.php`
- [User accounts](https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Models/User.php): `app/Models/User.php`
- [Roles](https://github.com/azharraihan/seu-game-booking-management/blob/main/app/Models/Role.php): `app/Models/Role.php`
- [Role seeding](https://github.com/azharraihan/seu-game-booking-management/blob/main/database/seeders/RolesTableSeeder.php): `database/seeders/RolesTableSeeder.php`
- [User seeding](https://github.com/azharraihan/seu-game-booking-management/blob/main/database/seeders/UsersTableSeeder.php): `database/seeders/UsersTableSeeder.php`
- [Seed orchestration](https://github.com/azharraihan/seu-game-booking-management/blob/main/database/seeders/DatabaseSeeder.php): `database/seeders/DatabaseSeeder.php`

### Other components

- **Browser**

## Connections

- Browser → HTTP entry: sends request (evidence: `public/index.php`)
- HTTP entry → App bootstrap: loads app (evidence: `public/index.php`)
- App bootstrap → HTTP kernel: binds kernel (evidence: `bootstrap/app.php`)
- HTTP kernel → Web routes: routes request
- Web routes → Login and social auth: dispatches
- Web routes → Registration: dispatches
- Web routes → Email verification: dispatches
- Admin routes → Admin dashboard: dispatches (evidence: `routes/admin.php`)
- Admin routes → Game administration: dispatches (evidence: `routes/admin.php`)
- Admin routes → Profile settings: dispatches (evidence: `routes/admin.php`)
- Admin routes → Site settings: dispatches (evidence: `routes/admin.php`)
- Student routes → Student dashboard: dispatches
- Login and social auth → User accounts: finds or creates (evidence: `app/Http/Controllers/Auth/LoginController.php`)
- Login and social auth → Roles: checks role (evidence: `app/Http/Controllers/Auth/LoginController.php`)
- Registration → User accounts: creates account (evidence: `app/Http/Controllers/Auth/RegisterController.php`)
- Site settings → Setting records: updates settings (evidence: `app/Http/Controllers/Admin/SettingController.php`)
- Game administration → Game records: manages games
- Student dashboard → Player records: uses player data
- Seed orchestration → User seeding: calls seeder (evidence: `database/seeders/DatabaseSeeder.php`)
- Seed orchestration → Role seeding: calls seeder (evidence: `database/seeders/DatabaseSeeder.php`)
- Admin dashboard → Admin pages: renders page
- Student dashboard → Student page: renders page
