# ken05com/final_project-class_record_management architecture

> Architecture diagram of the GitHub repository ken05com/final_project-class_record_management, 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/ken05com/final_project-class_record_management
- Repository: https://github.com/ken05com/final_project-class_record_management

## Overview

This is a browser-based class-record manager. The principal workflow is to sign up or log in, manage classes, select a class, and maintain its students, grades, and attendance; profile-photo and spreadsheet-import behavior are additional capabilities visible in the main script. The application is implemented largely as page-specific handlers in one JavaScript file, with browser localStorage as its persistence layer. The README only names the project, so page-level behavior beyond the shown excerpts is not inferred.

Main entry points: [`Login-script.js`](https://github.com/ken05com/final_project-class_record_management/blob/master/Login-script.js) (Page handlers), [`class-details.html`](https://github.com/ken05com/final_project-class_record_management/blob/master/class-details.html) (Class details)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Class records"]
  node_runtime["Page handlers<br/>[Login-script.js]"]
  node_classlist["Class management<br/>[Login-script.js]"]
  node_classdetail["Class details<br/>[class-details.html]"]
  node_students["Student records<br/>[Login-script.js]"]
  node_grades["Grade entry<br/>[Login-script.js]"]
  node_attendance["Attendance entry<br/>[Login-script.js]"]
end

subgraph group_data["Browser storage"]
  node_storage[("Local storage")]
end

subgraph group_extras["Account extras"]
  node_account["Account forms<br/>[Login-script.js]"]
  node_profile["Profile photo<br/>[Login-script.js]"]
  node_import["Student import<br/>[Login-script.js]"]
end

node_user(("Teacher"))

node_user -->|"uses pages"| node_runtime
node_runtime -->|"renders classes"| node_classlist
node_classlist -->|"opens class"| node_classdetail
node_runtime -->|"renders students"| node_students
node_runtime -->|"renders grades"| node_grades
node_runtime -->|"renders attendance"| node_attendance
node_runtime -->|"reads and writes"| node_storage
node_account -->|"stores account data"| node_storage
node_profile -->|"stores photo"| node_storage
node_import -->|"imports students"| node_students

click node_runtime "https://github.com/ken05com/final_project-class_record_management/blob/master/Login-script.js"
click node_classlist "https://github.com/ken05com/final_project-class_record_management/blob/master/Login-script.js"
click node_classdetail "https://github.com/ken05com/final_project-class_record_management/blob/master/class-details.html"
click node_students "https://github.com/ken05com/final_project-class_record_management/blob/master/Login-script.js"
click node_grades "https://github.com/ken05com/final_project-class_record_management/blob/master/Login-script.js"
click node_attendance "https://github.com/ken05com/final_project-class_record_management/blob/master/Login-script.js"
click node_account "https://github.com/ken05com/final_project-class_record_management/blob/master/Login-script.js"
click node_profile "https://github.com/ken05com/final_project-class_record_management/blob/master/Login-script.js"
click node_import "https://github.com/ken05com/final_project-class_record_management/blob/master/Login-script.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_runtime,node_classlist,node_classdetail,node_students,node_grades,node_attendance toneBlue
class node_storage toneAmber
class node_account,node_profile,node_import toneMint
class node_user toneIndigo
```

## Components

### Class records

- [Page handlers](https://github.com/ken05com/final_project-class_record_management/blob/master/Login-script.js): `Login-script.js`
- [Class management](https://github.com/ken05com/final_project-class_record_management/blob/master/Login-script.js): `Login-script.js`
- [Class details](https://github.com/ken05com/final_project-class_record_management/blob/master/class-details.html): `class-details.html`
- [Student records](https://github.com/ken05com/final_project-class_record_management/blob/master/Login-script.js): `Login-script.js`
- [Grade entry](https://github.com/ken05com/final_project-class_record_management/blob/master/Login-script.js): `Login-script.js`
- [Attendance entry](https://github.com/ken05com/final_project-class_record_management/blob/master/Login-script.js): `Login-script.js`

### Browser storage

- **Local storage**

### Account extras

- [Account forms](https://github.com/ken05com/final_project-class_record_management/blob/master/Login-script.js): `Login-script.js`
- [Profile photo](https://github.com/ken05com/final_project-class_record_management/blob/master/Login-script.js): `Login-script.js`
- [Student import](https://github.com/ken05com/final_project-class_record_management/blob/master/Login-script.js): `Login-script.js`

### Other components

- **Teacher**

## Connections

- Teacher → Page handlers: uses pages
- Page handlers → Class management: renders classes (evidence: `Login-script.js`)
- Class management → Class details: opens class (evidence: `Login-script.js`)
- Page handlers → Student records: renders students (evidence: `Login-script.js`)
- Page handlers → Grade entry: renders grades (evidence: `Login-script.js`)
- Page handlers → Attendance entry: renders attendance (evidence: `Login-script.js`)
- Page handlers → Local storage: reads and writes (evidence: `Login-script.js`)
- Account forms → Local storage: stores account data (evidence: `Login-script.js`)
- Profile photo → Local storage: stores photo (evidence: `Login-script.js`)
- Student import → Student records: imports students (evidence: `Login-script.js`)
