# raisoninexus/raisoninexus-website architecture

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

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

## Overview

Raisoni Nexus is a static academic-resource portal for GH Raisoni College of Engineering and Management students, with a separate admin interface and a Supabase-ready backend. The documented student journey is branch, semester, and subject navigation to categorized resources, with global search and optional login, profiles, and bookmarks. Admins manage resources and other academic data through the admin panel. The README describes Supabase authentication, database, and storage integration; no source excerpts were supplied, so links below rely only on those documented relationships.

Main entry points: [`admin/dashboard.html`](https://github.com/raisoninexus/raisoninexus-website/blob/main/admin/dashboard.html) (Admin dashboard), [`index.html`](https://github.com/raisoninexus/raisoninexus-website/blob/main/index.html) (Portal home), [`branches.html`](https://github.com/raisoninexus/raisoninexus-website/blob/main/branches.html) (Branch catalog), [`semester.html`](https://github.com/raisoninexus/raisoninexus-website/blob/main/semester.html) (Semester detail)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_student["Student portal"]
  node_home["Portal home<br/>[index.html]"]
  node_branch["Branch catalog<br/>[branches.html]"]
  node_semester["Semester detail<br/>[semester.html]"]
  node_subject["Subject detail<br/>[subject.html]"]
  node_search["Global search<br/>[search.html]"]
  node_login["Student login<br/>[login.html]"]
  node_profile["Student profile<br/>[profile.html]"]
  node_bookmarks["Bookmarks<br/>[bookmarks.js]"]
end

subgraph group_content["Academic content"]
  node_resources["Resource listings<br/>[resources.html]"]
  node_resource_categories["Resource categories<br/>[resources.js]"]
  node_notices["Notices<br/>[notices.html]"]
end

subgraph group_admin["Administration"]
  node_admin_panel["Admin dashboard<br/>[dashboard.html]"]
  node_admin_upload["Resource upload<br/>[upload.html]"]
  node_admin_management["Admin management"]
end

subgraph group_backend["Supabase backend"]
  node_schema[("Database schema<br/>[schema.sql]")]
  node_supabase_auth["Supabase Auth"]
  node_supabase_storage["Supabase Storage"]
  node_supabase_db[("Supabase database")]
end

subgraph group_experience["Interface experience"]
  node_interface["Responsive themes"]
end

node_student(("Student"))

node_student -->|"opens"| node_home
node_home -->|"navigates branches"| node_branch
node_branch -->|"navigates semesters"| node_semester
node_semester -->|"navigates subjects"| node_subject
node_subject -->|"browses resources"| node_resources
node_student -->|"searches resources"| node_search
node_resources -->|"offers categories"| node_resource_categories
node_student -->|"signs in"| node_login
node_student -->|"manages profile"| node_profile
node_student -->|"saves resources"| node_bookmarks
node_student -->|"views notices"| node_notices
node_admin_panel -->|"manages content"| node_admin_management
node_admin_panel -->|"uploads resources"| node_admin_upload
node_login -->|"authenticates with"| node_supabase_auth
node_admin_panel -->|"uses role checks"| node_supabase_auth
node_schema -->|"defines schema for"| node_supabase_db
node_admin_upload -->|"uploads files to"| node_supabase_storage
node_interface -->|"styles interface"| node_home

click node_home "https://github.com/raisoninexus/raisoninexus-website/blob/main/index.html"
click node_branch "https://github.com/raisoninexus/raisoninexus-website/blob/main/branches.html"
click node_semester "https://github.com/raisoninexus/raisoninexus-website/blob/main/semester.html"
click node_subject "https://github.com/raisoninexus/raisoninexus-website/blob/main/subject.html"
click node_search "https://github.com/raisoninexus/raisoninexus-website/blob/main/search.html"
click node_resources "https://github.com/raisoninexus/raisoninexus-website/blob/main/resources.html"
click node_resource_categories "https://github.com/raisoninexus/raisoninexus-website/blob/main/assets/js/resources.js"
click node_notices "https://github.com/raisoninexus/raisoninexus-website/blob/main/notices.html"
click node_login "https://github.com/raisoninexus/raisoninexus-website/blob/main/login.html"
click node_profile "https://github.com/raisoninexus/raisoninexus-website/blob/main/profile.html"
click node_bookmarks "https://github.com/raisoninexus/raisoninexus-website/blob/main/assets/js/bookmarks.js"
click node_admin_panel "https://github.com/raisoninexus/raisoninexus-website/blob/main/admin/dashboard.html"
click node_admin_upload "https://github.com/raisoninexus/raisoninexus-website/blob/main/admin/upload.html"
click node_admin_management "https://github.com/raisoninexus/raisoninexus-website/tree/main/admin"
click node_schema "https://github.com/raisoninexus/raisoninexus-website/blob/main/database/schema.sql"
click node_interface "https://github.com/raisoninexus/raisoninexus-website/tree/main/assets/css"

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_home,node_branch,node_semester,node_subject,node_search,node_login,node_profile,node_bookmarks toneBlue
class node_resources,node_resource_categories,node_notices toneAmber
class node_admin_panel,node_admin_upload,node_admin_management toneMint
class node_schema,node_supabase_auth,node_supabase_storage,node_supabase_db toneRose
class node_interface,node_student toneIndigo
```

## Components

### Student portal

- [Portal home](https://github.com/raisoninexus/raisoninexus-website/blob/main/index.html): `index.html`
- [Branch catalog](https://github.com/raisoninexus/raisoninexus-website/blob/main/branches.html): `branches.html`
- [Semester detail](https://github.com/raisoninexus/raisoninexus-website/blob/main/semester.html): `semester.html`
- [Subject detail](https://github.com/raisoninexus/raisoninexus-website/blob/main/subject.html): `subject.html`
- [Global search](https://github.com/raisoninexus/raisoninexus-website/blob/main/search.html): `search.html`
- [Student login](https://github.com/raisoninexus/raisoninexus-website/blob/main/login.html): `login.html`
- [Student profile](https://github.com/raisoninexus/raisoninexus-website/blob/main/profile.html): `profile.html`
- [Bookmarks](https://github.com/raisoninexus/raisoninexus-website/blob/main/assets/js/bookmarks.js): `assets/js/bookmarks.js`

### Academic content

- [Resource listings](https://github.com/raisoninexus/raisoninexus-website/blob/main/resources.html): `resources.html`
- [Resource categories](https://github.com/raisoninexus/raisoninexus-website/blob/main/assets/js/resources.js): `assets/js/resources.js`
- [Notices](https://github.com/raisoninexus/raisoninexus-website/blob/main/notices.html): `notices.html`

### Administration

- [Admin dashboard](https://github.com/raisoninexus/raisoninexus-website/blob/main/admin/dashboard.html): `admin/dashboard.html`
- [Resource upload](https://github.com/raisoninexus/raisoninexus-website/blob/main/admin/upload.html): `admin/upload.html`
- [Admin management](https://github.com/raisoninexus/raisoninexus-website/tree/main/admin): `admin`

### Supabase backend

- [Database schema](https://github.com/raisoninexus/raisoninexus-website/blob/main/database/schema.sql): `database/schema.sql`
- **Supabase Auth**
- **Supabase Storage**
- **Supabase database**

### Interface experience

- [Responsive themes](https://github.com/raisoninexus/raisoninexus-website/tree/main/assets/css): `assets/css`

### Other components

- **Student**

## Connections

- Student → Portal home: opens (evidence: `README.md`)
- Portal home → Branch catalog: navigates branches (evidence: `README.md`)
- Branch catalog → Semester detail: navigates semesters (evidence: `README.md`)
- Semester detail → Subject detail: navigates subjects (evidence: `README.md`)
- Subject detail → Resource listings: browses resources (evidence: `README.md`)
- Student → Global search: searches resources (evidence: `README.md`)
- Resource listings → Resource categories: offers categories (evidence: `README.md`)
- Student → Student login: signs in (evidence: `README.md`)
- Student → Student profile: manages profile (evidence: `README.md`)
- Student → Bookmarks: saves resources (evidence: `README.md`)
- Student → Notices: views notices (evidence: `README.md`)
- Admin dashboard → Admin management: manages content (evidence: `README.md`)
- Admin dashboard → Resource upload: uploads resources (evidence: `README.md`)
- Student login → Supabase Auth: authenticates with (evidence: `README.md`)
- Admin dashboard → Supabase Auth: uses role checks (evidence: `README.md`)
- Database schema → Supabase database: defines schema for (evidence: `README.md`)
- Resource upload → Supabase Storage: uploads files to (evidence: `README.md`)
- Responsive themes → Portal home: styles interface (evidence: `README.md`)
