# keesarishivakumar50-ai/icecube_bootcamp architecture

> Architecture diagram of the GitHub repository keesarishivakumar50-ai/icecube_bootcamp, 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/keesarishivakumar50-ai/icecube_bootcamp
- Repository: https://github.com/keesarishivakumar50-ai/icecube_bootcamp

## Overview

Spot is a real-time classroom board app for students, faculty, and admins. Users enter through a role-specific interface: students check in to post private board-mistake alerts or shared doubts, faculty monitor and resolve items and share class resources, and admins manage classes and people. The browser client sends requests to a single Node.js server, which maintains classroom state and streams live updates. The QR generator supports class joining. The excerpts show only selected routes and client calls, so other documented feature links are cited to the README rather than inferred from unsampled code.

Main entry points: [`public/app.js`](https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/public/app.js) (Faculty Podium), [`server.js`](https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js) (HTTP API), [`public/qr.js`](https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/public/qr.js) (QR Generator)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Classroom Interface"]
  node_student_view["Student View<br/>[app.js]"]
  node_faculty_view["Faculty Podium<br/>[app.js]"]
  node_admin_view["Admin Portal<br/>[app.js]"]
end

subgraph group_classroom["Live Classroom"]
  node_api_server["HTTP API<br/>[server.js]"]
  node_checkin["Student Check-in<br/>[server.js]"]
  node_board_items["Alerts and Doubts<br/>[server.js]"]
  node_live_updates["Live Updates<br/>[server.js]"]
  node_presence["Class Presence<br/>[server.js]"]
  node_resources["Notes and Files<br/>[server.js]"]
  node_faculty_controls["Faculty Controls<br/>[server.js]"]
end

subgraph group_admin["Administration"]
  node_admin_auth["Admin Access<br/>[server.js]"]
  node_class_management["Class Sessions<br/>[server.js]"]
  node_people_management["People Management<br/>[server.js]"]
end

subgraph group_join["Class Joining"]
  node_join_metadata["Join Metadata<br/>[server.js]"]
  node_qr_generator["QR Generator<br/>[qr.js]"]
end

node_student(("Student"))
node_faculty(("Faculty"))
node_admin_user(("Admin"))

node_student -->|"uses"| node_student_view
node_faculty -->|"uses"| node_faculty_view
node_admin_user -->|"uses"| node_admin_view
node_student_view -->|"requests"| node_api_server
node_faculty_view -->|"requests"| node_api_server
node_admin_view -->|"requests"| node_api_server
node_api_server -->|"routes"| node_checkin
node_api_server -->|"routes"| node_board_items
node_student_view -->|"posts and votes"| node_board_items
node_faculty_view -->|"resolves items"| node_board_items
node_api_server -->|"broadcasts snapshots"| node_live_updates
node_live_updates -->|"streams updates"| node_student_view
node_live_updates -->|"streams updates"| node_faculty_view
node_api_server -->|"reports roster"| node_presence
node_faculty_view -->|"shares and deletes"| node_resources
node_student_view -->|"views and copies"| node_resources
node_faculty_view -->|"controls session"| node_faculty_controls
node_admin_view -->|"authenticates"| node_admin_auth
node_admin_view -->|"manages sessions"| node_class_management
node_admin_view -->|"manages people"| node_people_management
node_api_server -->|"serves room info"| node_join_metadata
node_faculty_view -->|"loads join link"| node_join_metadata
node_faculty_view -->|"renders QR"| node_qr_generator

click node_student_view "https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/public/app.js"
click node_faculty_view "https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/public/app.js"
click node_admin_view "https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/public/app.js"
click node_api_server "https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js"
click node_checkin "https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js"
click node_board_items "https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js"
click node_live_updates "https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js"
click node_presence "https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js"
click node_resources "https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js"
click node_faculty_controls "https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js"
click node_admin_auth "https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js"
click node_class_management "https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js"
click node_people_management "https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js"
click node_join_metadata "https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js"
click node_qr_generator "https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/public/qr.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_student_view,node_faculty_view,node_admin_view toneBlue
class node_api_server,node_checkin,node_board_items,node_live_updates,node_presence,node_resources,node_faculty_controls toneAmber
class node_admin_auth,node_class_management,node_people_management toneMint
class node_join_metadata,node_qr_generator toneRose
class node_student,node_faculty,node_admin_user toneIndigo
```

## Components

### Classroom Interface

- [Student View](https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/public/app.js): `public/app.js`
- [Faculty Podium](https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/public/app.js): `public/app.js`
- [Admin Portal](https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/public/app.js): `public/app.js`

### Live Classroom

- [HTTP API](https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js): `server.js`
- [Student Check-in](https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js): `server.js`
- [Alerts and Doubts](https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js): `server.js`
- [Live Updates](https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js): `server.js`
- [Class Presence](https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js): `server.js`
- [Notes and Files](https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js): `server.js`
- [Faculty Controls](https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js): `server.js`

### Administration

- [Admin Access](https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js): `server.js`
- [Class Sessions](https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js): `server.js`
- [People Management](https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js): `server.js`

### Class Joining

- [Join Metadata](https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/server.js): `server.js`
- [QR Generator](https://github.com/keesarishivakumar50-ai/icecube_bootcamp/blob/main/public/qr.js): `public/qr.js`

### Other components

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

## Connections

- Student → Student View: uses (evidence: `README.md`)
- Faculty → Faculty Podium: uses (evidence: `README.md`)
- Admin → Admin Portal: uses (evidence: `README.md`)
- Student View → HTTP API: requests (evidence: `README.md`)
- Faculty Podium → HTTP API: requests (evidence: `public/app.js`)
- Admin Portal → HTTP API: requests (evidence: `public/app.js`)
- HTTP API → Student Check-in: routes (evidence: `README.md`)
- HTTP API → Alerts and Doubts: routes (evidence: `server.js`)
- Student View → Alerts and Doubts: posts and votes (evidence: `README.md`)
- Faculty Podium → Alerts and Doubts: resolves items (evidence: `public/app.js`)
- HTTP API → Live Updates: broadcasts snapshots (evidence: `server.js`)
- Live Updates → Student View: streams updates (evidence: `README.md`)
- Live Updates → Faculty Podium: streams updates (evidence: `README.md`)
- HTTP API → Class Presence: reports roster (evidence: `server.js`)
- Faculty Podium → Notes and Files: shares and deletes (evidence: `public/app.js`)
- Student View → Notes and Files: views and copies (evidence: `README.md`)
- Faculty Podium → Faculty Controls: controls session (evidence: `public/app.js`)
- Admin Portal → Admin Access: authenticates (evidence: `server.js`)
- Admin Portal → Class Sessions: manages sessions (evidence: `README.md`)
- Admin Portal → People Management: manages people (evidence: `README.md`)
- HTTP API → Join Metadata: serves room info (evidence: `server.js`)
- Faculty Podium → Join Metadata: loads join link (evidence: `public/app.js`)
- Faculty Podium → QR Generator: renders QR (evidence: `public/app.js`)
