# rotasipsti/rotasi-website architecture

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

- Interactive diagram: https://gitdiagram.com/rotasipsti/rotasi-website
- Repository: https://github.com/rotasipsti/rotasi-website

## Overview

ROTASI 2025 is a role-based event-orientation platform: users register or sign in, then participants, mentors, event staff, security, and administrators use role-specific dashboards to manage tasks, submissions, approvals, and event operations. Administrators also maintain public-facing content and downloads. The excerpts show dashboard queries and content-management writes; routes/auth.php documents authentication dispatch. Other route wiring and unsampled controller behavior are not asserted, so the graph omits those connections.

Main entry points: [`app/Http/Controllers/Admin/CMSController.php`](https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/Admin/CMSController.php) (Content management), [`app/Http/Controllers/DashboardController.php`](https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/DashboardController.php) (Role dashboards), [`database/seeders/PublicContentSeeder.php`](https://github.com/rotasipsti/rotasi-website/blob/main/database/seeders/PublicContentSeeder.php) (Initial public content), [`app/Models/User.php`](https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/User.php) (User accounts)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Identity and access"]
  node_auth_routes["Authentication routes<br/>[auth.php]"]
  node_registration["Registration"]
  node_sessions["Login and sessions"]
  node_google_auth["Google sign-in"]
  node_users["User accounts<br/>[User.php]"]
end

subgraph group_operations["Program operations"]
  node_dashboard["Role dashboards"]
  node_tasks["Task management<br/>[Task.php]"]
  node_task_controller["Task actions<br/>[TaskController.php]"]
  node_submissions["Task submissions<br/>[TaskSubmission.php]"]
  node_submission_controller["Submission handling"]
  node_exit_controller["Exit permissions"]
  node_exit_model["Permission records<br/>[ExitPermission.php]"]
end

subgraph group_public["Public content"]
  node_cms["Content management<br/>[CMSController.php]"]
  node_timeline["Event timeline<br/>[Timeline.php]"]
  node_stakeholders["Stakeholders<br/>[Stakeholder.php]"]
  node_divisions["Divisions and members<br/>[Division.php]"]
  node_division_members["Division members<br/>[DivisionMember.php]"]
  node_gallery["Gallery<br/>[Gallery.php]"]
  node_testimonials["Testimonials<br/>[Testimonial.php]"]
  node_downloads["Downloads<br/>[Download.php]"]
  node_page_content["Page content<br/>[PageContent.php]"]
  node_public_seed["Initial public content"]
  node_banners["Banners<br/>[Banner.php]"]
end

subgraph group_oversight["Administration and oversight"]
  node_admin_approval["Account approvals"]
  node_admin_users["User administration<br/>[UserController.php]"]
end

node_visitor(("Visitor / user"))

node_visitor -->|"uses auth"| node_auth_routes
node_auth_routes -->|"dispatches registration"| node_registration
node_auth_routes -->|"dispatches login"| node_sessions
node_auth_routes -->|"dispatches OAuth"| node_google_auth
node_registration -->|"creates account"| node_users
node_google_auth -->|"uses accounts"| node_users
node_sessions -->|"authenticates accounts"| node_users
node_dashboard -->|"queries tasks"| node_tasks
node_dashboard -->|"queries submissions"| node_submissions
node_dashboard -->|"queries participants"| node_users
node_dashboard -->|"queries downloads"| node_downloads
node_dashboard -->|"counts permissions"| node_exit_model
node_dashboard -->|"renders role views"| node_submissions
node_task_controller -->|"uses task model"| node_tasks
node_exit_controller -->|"manages records"| node_exit_model
node_exit_controller -->|"uses account data"| node_users
node_admin_users -->|"manages accounts"| node_users
node_cms -->|"manages content"| node_timeline
node_cms -->|"manages content"| node_stakeholders
node_cms -->|"manages content"| node_divisions
node_cms -->|"manages content"| node_division_members
node_cms -->|"manages content"| node_gallery
node_cms -->|"manages content"| node_testimonials
node_cms -->|"manages content"| node_downloads
node_cms -->|"updates content"| node_page_content
node_public_seed -->|"seeds records"| node_timeline
node_public_seed -->|"seeds records"| node_stakeholders
node_public_seed -->|"seeds records"| node_divisions
node_public_seed -->|"seeds records"| node_division_members
node_public_seed -->|"seeds records"| node_gallery
node_public_seed -->|"seeds records"| node_testimonials

click node_auth_routes "https://github.com/rotasipsti/rotasi-website/blob/main/routes/auth.php"
click node_registration "https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/Auth/RegisteredUserController.php"
click node_sessions "https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/Auth/AuthenticatedSessionController.php"
click node_google_auth "https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/Auth/GoogleAuthController.php"
click node_users "https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/User.php"
click node_dashboard "https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/DashboardController.php"
click node_tasks "https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/Task.php"
click node_task_controller "https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/TaskController.php"
click node_submissions "https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/TaskSubmission.php"
click node_submission_controller "https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/SubmissionController.php"
click node_exit_controller "https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/ExitPermissionController.php"
click node_exit_model "https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/ExitPermission.php"
click node_admin_approval "https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/Admin/ApprovalController.php"
click node_admin_users "https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/Admin/UserController.php"
click node_cms "https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/Admin/CMSController.php"
click node_timeline "https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/Timeline.php"
click node_stakeholders "https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/Stakeholder.php"
click node_divisions "https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/Division.php"
click node_division_members "https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/DivisionMember.php"
click node_gallery "https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/Gallery.php"
click node_testimonials "https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/Testimonial.php"
click node_downloads "https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/Download.php"
click node_page_content "https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/PageContent.php"
click node_public_seed "https://github.com/rotasipsti/rotasi-website/blob/main/database/seeders/PublicContentSeeder.php"
click node_banners "https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/Banner.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_auth_routes,node_registration,node_sessions,node_google_auth,node_users,node_visitor toneBlue
class node_dashboard,node_tasks,node_task_controller,node_submissions,node_submission_controller,node_exit_controller,node_exit_model toneAmber
class node_cms,node_timeline,node_stakeholders,node_divisions,node_division_members,node_gallery,node_testimonials,node_downloads,node_page_content,node_public_seed,node_banners toneMint
class node_admin_approval,node_admin_users toneRose
```

## Components

### Identity and access

- [Authentication routes](https://github.com/rotasipsti/rotasi-website/blob/main/routes/auth.php): `routes/auth.php`
- [Registration](https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/Auth/RegisteredUserController.php): `app/Http/Controllers/Auth/RegisteredUserController.php`
- [Login and sessions](https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/Auth/AuthenticatedSessionController.php): `app/Http/Controllers/Auth/AuthenticatedSessionController.php`
- [Google sign-in](https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/Auth/GoogleAuthController.php): `app/Http/Controllers/Auth/GoogleAuthController.php`
- [User accounts](https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/User.php): `app/Models/User.php`

### Program operations

- [Role dashboards](https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/DashboardController.php): `app/Http/Controllers/DashboardController.php`
- [Task management](https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/Task.php): `app/Models/Task.php`
- [Task actions](https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/TaskController.php): `app/Http/Controllers/TaskController.php`
- [Task submissions](https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/TaskSubmission.php): `app/Models/TaskSubmission.php`
- [Submission handling](https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/SubmissionController.php): `app/Http/Controllers/SubmissionController.php`
- [Exit permissions](https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/ExitPermissionController.php): `app/Http/Controllers/ExitPermissionController.php`
- [Permission records](https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/ExitPermission.php): `app/Models/ExitPermission.php`

### Public content

- [Content management](https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/Admin/CMSController.php): `app/Http/Controllers/Admin/CMSController.php`
- [Event timeline](https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/Timeline.php): `app/Models/Timeline.php`
- [Stakeholders](https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/Stakeholder.php): `app/Models/Stakeholder.php`
- [Divisions and members](https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/Division.php): `app/Models/Division.php`
- [Division members](https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/DivisionMember.php): `app/Models/DivisionMember.php`
- [Gallery](https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/Gallery.php): `app/Models/Gallery.php`
- [Testimonials](https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/Testimonial.php): `app/Models/Testimonial.php`
- [Downloads](https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/Download.php): `app/Models/Download.php`
- [Page content](https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/PageContent.php): `app/Models/PageContent.php`
- [Initial public content](https://github.com/rotasipsti/rotasi-website/blob/main/database/seeders/PublicContentSeeder.php): `database/seeders/PublicContentSeeder.php`
- [Banners](https://github.com/rotasipsti/rotasi-website/blob/main/app/Models/Banner.php): `app/Models/Banner.php`

### Administration and oversight

- [Account approvals](https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/Admin/ApprovalController.php): `app/Http/Controllers/Admin/ApprovalController.php`
- [User administration](https://github.com/rotasipsti/rotasi-website/blob/main/app/Http/Controllers/Admin/UserController.php): `app/Http/Controllers/Admin/UserController.php`

### Other components

- **Visitor / user**

## Connections

- Visitor / user → Authentication routes: uses auth (evidence: `routes/auth.php`)
- Authentication routes → Registration: dispatches registration (evidence: `routes/auth.php`)
- Authentication routes → Login and sessions: dispatches login (evidence: `routes/auth.php`)
- Authentication routes → Google sign-in: dispatches OAuth (evidence: `routes/auth.php`)
- Registration → User accounts: creates account (evidence: `app/Http/Controllers/Auth/RegisteredUserController.php`)
- Google sign-in → User accounts: uses accounts (evidence: `app/Http/Controllers/Auth/GoogleAuthController.php`)
- Login and sessions → User accounts: authenticates accounts (evidence: `app/Http/Controllers/Auth/AuthenticatedSessionController.php`)
- Role dashboards → Task management: queries tasks (evidence: `app/Http/Controllers/DashboardController.php`)
- Role dashboards → Task submissions: queries submissions (evidence: `app/Http/Controllers/DashboardController.php`)
- Role dashboards → User accounts: queries participants (evidence: `app/Http/Controllers/DashboardController.php`)
- Role dashboards → Downloads: queries downloads (evidence: `app/Http/Controllers/DashboardController.php`)
- Role dashboards → Permission records: counts permissions (evidence: `app/Http/Controllers/DashboardController.php`)
- Role dashboards → Task submissions: renders role views (evidence: `app/Http/Controllers/DashboardController.php`)
- Task actions → Task management: uses task model (evidence: `app/Http/Controllers/TaskController.php`)
- Exit permissions → Permission records: manages records (evidence: `app/Http/Controllers/ExitPermissionController.php`)
- Exit permissions → User accounts: uses account data (evidence: `app/Http/Controllers/ExitPermissionController.php`)
- User administration → User accounts: manages accounts (evidence: `app/Http/Controllers/Admin/UserController.php`)
- Content management → Event timeline: manages content (evidence: `app/Http/Controllers/Admin/CMSController.php`)
- Content management → Stakeholders: manages content (evidence: `app/Http/Controllers/Admin/CMSController.php`)
- Content management → Divisions and members: manages content (evidence: `app/Http/Controllers/Admin/CMSController.php`)
- Content management → Division members: manages content (evidence: `app/Http/Controllers/Admin/CMSController.php`)
- Content management → Gallery: manages content (evidence: `app/Http/Controllers/Admin/CMSController.php`)
- Content management → Testimonials: manages content (evidence: `app/Http/Controllers/Admin/CMSController.php`)
- Content management → Downloads: manages content (evidence: `app/Http/Controllers/Admin/CMSController.php`)
- Content management → Page content: updates content (evidence: `app/Http/Controllers/Admin/CMSController.php`)
- Initial public content → Event timeline: seeds records (evidence: `database/seeders/PublicContentSeeder.php`)
- Initial public content → Stakeholders: seeds records (evidence: `database/seeders/PublicContentSeeder.php`)
- Initial public content → Divisions and members: seeds records (evidence: `database/seeders/PublicContentSeeder.php`)
- Initial public content → Division members: seeds records (evidence: `database/seeders/PublicContentSeeder.php`)
- Initial public content → Gallery: seeds records (evidence: `database/seeders/PublicContentSeeder.php`)
- Initial public content → Testimonials: seeds records (evidence: `database/seeders/PublicContentSeeder.php`)
