# prathamesh13-n/cbad-project architecture

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

- Interactive diagram: https://gitdiagram.com/prathamesh13-n/cbad-project
- Repository: https://github.com/prathamesh13-n/cbad-project

## Overview

CDAD is a browser-only academic dashboard: faculty and students sign in, manage academic records and collaboration workflows, and view the resulting dashboards. Its domain areas include groups, projects and submissions, marks, presentations, and communications; shared helpers provide persistence and UI utilities. LocalStorage is the only store, so data is confined to each browser/device. The README documents several capabilities whose detailed implementations were not sampled; those are represented at subsystem level, with links included only where the excerpts or README support them.

Main entry points: [`js/faculty.js`](https://github.com/prathamesh13-n/cbad-project/blob/main/js/faculty.js) (Faculty workflows), [`js/student.js`](https://github.com/prathamesh13-n/cbad-project/blob/main/js/student.js) (Student workflows), [`js/storage.js`](https://github.com/prathamesh13-n/cbad-project/blob/main/js/storage.js) (Storage helpers), [`js/notifications.js`](https://github.com/prathamesh13-n/cbad-project/blob/main/js/notifications.js) (Notifications)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Dashboard entry"]
  node_login["Sign in<br/>[index.html]"]
  node_faculty_page["Faculty dashboard<br/>[faculty.html]"]
  node_student_page["Student dashboard<br/>[student.html]"]
end

subgraph group_academic["Academic workflows"]
  node_faculty_app["Faculty workflows<br/>[faculty.js]"]
  node_student_app["Student workflows<br/>[student.js]"]
  node_students["Student records<br/>[faculty.js]"]
  node_projects["Projects and progress<br/>[projects.js]"]
  node_submissions["Project submissions<br/>[projects.js]"]
  node_marks["Marks and grades<br/>[marks.js]"]
  node_presentations["Presentation schedules<br/>[presentations.js]"]
end

subgraph group_collaboration["Groups and requests"]
  node_groups_domain["Groups and membership<br/>[groups.js]"]
  node_group_details["Group details<br/>[group-details.html]"]
  node_requests["Academic and peer requests<br/>[requests.js]"]
end

subgraph group_communication["Communication"]
  node_announcements["Announcements<br/>[announcements.js]"]
  node_notifications["Notifications<br/>[notifications.js]"]
end

subgraph group_platform["Shared platform"]
  node_seed["Initial demo data<br/>[data.js]"]
  node_auth["Authentication and session<br/>[auth.js]"]
  node_storage["Storage helpers<br/>[storage.js]"]
  node_browser_store[("Browser LocalStorage")]
  node_shared_ui["Shared UI and derived values<br/>[common.js]"]
end

node_faculty_actor(("Faculty"))
node_student_actor(("Student"))

node_faculty_actor -->|"signs in"| node_login
node_student_actor -->|"signs in"| node_login
node_login -->|"authenticates"| node_auth
node_auth -->|"stores session"| node_browser_store
node_faculty_actor -->|"uses"| node_faculty_page
node_student_actor -->|"uses"| node_student_page
node_faculty_page -->|"drives"| node_faculty_app
node_student_page -->|"drives"| node_student_app
node_faculty_app -->|"manages"| node_students
node_faculty_app -->|"manages"| node_groups_domain
node_student_app -->|"creates groups"| node_groups_domain
node_student_app -->|"creates projects"| node_projects
node_faculty_app -->|"manages"| node_projects
node_student_app -->|"submits work"| node_submissions
node_faculty_app -->|"reviews"| node_submissions
node_faculty_app -->|"schedules"| node_presentations
node_faculty_app -->|"reviews"| node_requests
node_student_app -->|"sends"| node_requests
node_faculty_app -->|"publishes"| node_announcements
node_faculty_app -->|"creates"| node_notifications
node_student_app -->|"views"| node_marks
node_student_app -->|"views"| node_presentations
node_student_app -->|"views"| node_announcements
node_student_app -->|"views"| node_notifications
node_groups_domain -->|"shows details"| node_group_details
node_seed -->|"seeds records"| node_storage
node_auth -->|"reads and writes"| node_storage
node_groups_domain -->|"reads and writes"| node_storage
node_projects -->|"reads and writes"| node_storage
node_requests -->|"reads and writes"| node_storage
node_marks -->|"reads and writes"| node_storage
node_presentations -->|"reads and writes"| node_storage
node_announcements -->|"reads and writes"| node_storage
node_notifications -->|"uses helpers"| node_storage
node_storage -->|"persists data"| node_browser_store
node_projects -->|"syncs progress"| node_groups_domain
node_projects -->|"notifies faculty"| node_notifications
node_presentations -->|"notifies group"| node_notifications
node_announcements -->|"notifies students"| node_notifications
node_requests -->|"notifies recipients"| node_notifications
node_faculty_app -->|"uses helpers"| node_shared_ui
node_student_app -->|"uses helpers"| node_shared_ui
node_shared_ui -->|"logs activity"| node_storage

click node_login "https://github.com/prathamesh13-n/cbad-project/blob/main/index.html"
click node_faculty_page "https://github.com/prathamesh13-n/cbad-project/blob/main/faculty.html"
click node_student_page "https://github.com/prathamesh13-n/cbad-project/blob/main/student.html"
click node_faculty_app "https://github.com/prathamesh13-n/cbad-project/blob/main/js/faculty.js"
click node_student_app "https://github.com/prathamesh13-n/cbad-project/blob/main/js/student.js"
click node_students "https://github.com/prathamesh13-n/cbad-project/blob/main/js/faculty.js"
click node_groups_domain "https://github.com/prathamesh13-n/cbad-project/blob/main/js/groups.js"
click node_group_details "https://github.com/prathamesh13-n/cbad-project/blob/main/group-details.html"
click node_requests "https://github.com/prathamesh13-n/cbad-project/blob/main/js/requests.js"
click node_projects "https://github.com/prathamesh13-n/cbad-project/blob/main/js/projects.js"
click node_submissions "https://github.com/prathamesh13-n/cbad-project/blob/main/js/projects.js"
click node_marks "https://github.com/prathamesh13-n/cbad-project/blob/main/js/marks.js"
click node_presentations "https://github.com/prathamesh13-n/cbad-project/blob/main/js/presentations.js"
click node_announcements "https://github.com/prathamesh13-n/cbad-project/blob/main/js/announcements.js"
click node_notifications "https://github.com/prathamesh13-n/cbad-project/blob/main/js/notifications.js"
click node_seed "https://github.com/prathamesh13-n/cbad-project/blob/main/js/data.js"
click node_auth "https://github.com/prathamesh13-n/cbad-project/blob/main/js/auth.js"
click node_storage "https://github.com/prathamesh13-n/cbad-project/blob/main/js/storage.js"
click node_shared_ui "https://github.com/prathamesh13-n/cbad-project/blob/main/js/common.js"

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_login,node_faculty_page,node_student_page toneBlue
class node_faculty_app,node_student_app,node_students,node_projects,node_submissions,node_marks,node_presentations toneAmber
class node_groups_domain,node_group_details,node_requests toneMint
class node_announcements,node_notifications toneRose
class node_seed,node_auth,node_storage,node_browser_store,node_shared_ui,node_faculty_actor,node_student_actor toneIndigo
```

## Components

### Dashboard entry

- [Sign in](https://github.com/prathamesh13-n/cbad-project/blob/main/index.html): `index.html`
- [Faculty dashboard](https://github.com/prathamesh13-n/cbad-project/blob/main/faculty.html): `faculty.html`
- [Student dashboard](https://github.com/prathamesh13-n/cbad-project/blob/main/student.html): `student.html`

### Academic workflows

- [Faculty workflows](https://github.com/prathamesh13-n/cbad-project/blob/main/js/faculty.js): `js/faculty.js`
- [Student workflows](https://github.com/prathamesh13-n/cbad-project/blob/main/js/student.js): `js/student.js`
- [Student records](https://github.com/prathamesh13-n/cbad-project/blob/main/js/faculty.js): `js/faculty.js`
- [Projects and progress](https://github.com/prathamesh13-n/cbad-project/blob/main/js/projects.js): `js/projects.js`
- [Project submissions](https://github.com/prathamesh13-n/cbad-project/blob/main/js/projects.js): `js/projects.js`
- [Marks and grades](https://github.com/prathamesh13-n/cbad-project/blob/main/js/marks.js): `js/marks.js`
- [Presentation schedules](https://github.com/prathamesh13-n/cbad-project/blob/main/js/presentations.js): `js/presentations.js`

### Groups and requests

- [Groups and membership](https://github.com/prathamesh13-n/cbad-project/blob/main/js/groups.js): `js/groups.js`
- [Group details](https://github.com/prathamesh13-n/cbad-project/blob/main/group-details.html): `group-details.html`
- [Academic and peer requests](https://github.com/prathamesh13-n/cbad-project/blob/main/js/requests.js): `js/requests.js`

### Communication

- [Announcements](https://github.com/prathamesh13-n/cbad-project/blob/main/js/announcements.js): `js/announcements.js`
- [Notifications](https://github.com/prathamesh13-n/cbad-project/blob/main/js/notifications.js): `js/notifications.js`

### Shared platform

- [Initial demo data](https://github.com/prathamesh13-n/cbad-project/blob/main/js/data.js): `js/data.js`
- [Authentication and session](https://github.com/prathamesh13-n/cbad-project/blob/main/js/auth.js): `js/auth.js`
- [Storage helpers](https://github.com/prathamesh13-n/cbad-project/blob/main/js/storage.js): `js/storage.js`
- **Browser LocalStorage**
- [Shared UI and derived values](https://github.com/prathamesh13-n/cbad-project/blob/main/js/common.js): `js/common.js`

### Other components

- **Faculty**
- **Student**

## Connections

- Faculty → Sign in: signs in (evidence: `README.md`)
- Student → Sign in: signs in (evidence: `README.md`)
- Sign in → Authentication and session: authenticates (evidence: `README.md`)
- Authentication and session → Browser LocalStorage: stores session (evidence: `js/auth.js`)
- Faculty → Faculty dashboard: uses (evidence: `README.md`)
- Student → Student dashboard: uses (evidence: `README.md`)
- Faculty dashboard → Faculty workflows: drives (evidence: `README.md`)
- Student dashboard → Student workflows: drives (evidence: `README.md`)
- Faculty workflows → Student records: manages (evidence: `js/faculty.js`)
- Faculty workflows → Groups and membership: manages (evidence: `js/faculty.js`)
- Student workflows → Groups and membership: creates groups (evidence: `js/student.js`)
- Student workflows → Projects and progress: creates projects (evidence: `js/student.js`)
- Faculty workflows → Projects and progress: manages (evidence: `js/faculty.js`)
- Student workflows → Project submissions: submits work (evidence: `js/student.js`)
- Faculty workflows → Project submissions: reviews (evidence: `js/faculty.js`)
- Faculty workflows → Presentation schedules: schedules (evidence: `js/faculty.js`)
- Faculty workflows → Academic and peer requests: reviews (evidence: `README.md`)
- Student workflows → Academic and peer requests: sends (evidence: `js/student.js`)
- Faculty workflows → Announcements: publishes (evidence: `README.md`)
- Faculty workflows → Notifications: creates (evidence: `js/faculty.js`)
- Student workflows → Marks and grades: views (evidence: `README.md`)
- Student workflows → Presentation schedules: views (evidence: `README.md`)
- Student workflows → Announcements: views (evidence: `README.md`)
- Student workflows → Notifications: views (evidence: `README.md`)
- Groups and membership → Group details: shows details (evidence: `README.md`)
- Initial demo data → Storage helpers: seeds records (evidence: `js/data.js`)
- Authentication and session → Storage helpers: reads and writes (evidence: `js/auth.js`)
- Groups and membership → Storage helpers: reads and writes (evidence: `js/groups.js`)
- Projects and progress → Storage helpers: reads and writes (evidence: `js/projects.js`)
- Academic and peer requests → Storage helpers: reads and writes (evidence: `js/requests.js`)
- Marks and grades → Storage helpers: reads and writes (evidence: `js/marks.js`)
- Presentation schedules → Storage helpers: reads and writes (evidence: `js/presentations.js`)
- Announcements → Storage helpers: reads and writes (evidence: `js/announcements.js`)
- Notifications → Storage helpers: uses helpers (evidence: `README.md`)
- Storage helpers → Browser LocalStorage: persists data (evidence: `README.md`)
- Projects and progress → Groups and membership: syncs progress (evidence: `js/projects.js`)
- Projects and progress → Notifications: notifies faculty (evidence: `js/projects.js`)
- Presentation schedules → Notifications: notifies group (evidence: `js/presentations.js`)
- Announcements → Notifications: notifies students (evidence: `js/announcements.js`)
- Academic and peer requests → Notifications: notifies recipients (evidence: `js/requests.js`)
- Faculty workflows → Shared UI and derived values: uses helpers (evidence: `js/faculty.js`)
- Student workflows → Shared UI and derived values: uses helpers (evidence: `js/student.js`)
- Shared UI and derived values → Storage helpers: logs activity (evidence: `js/common.js`)
