# nurbruh/online_kundelik architecture

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

- Interactive diagram: https://gitdiagram.com/nurbruh/online_kundelik
- Repository: https://github.com/nurbruh/online_kundelik

## Overview

Online Kundelik is a Django school-management application for students, parents, teachers, and school administrators. Its main workflow routes a user request to a view, validates submitted data with forms, and reads or updates school records; students and parents can then view schedules, grades, and assessment results. Separate branches cover account and profile management, school setup, assessments, and student activity logging. The README provides no product detail, so capabilities are inferred from the URL routes, sampled source, and named templates; unsampled view behavior is not assumed.

Main entry points: [`kundelik/urls.py`](https://github.com/nurbruh/online_kundelik/blob/main/kundelik/urls.py) (URL routing), [`kundelik/models.py`](https://github.com/nurbruh/online_kundelik/blob/main/kundelik/models.py) (School records), [`kundelik/forms.py`](https://github.com/nurbruh/online_kundelik/blob/main/kundelik/forms.py) (Input forms), [`kundelik/views.py`](https://github.com/nurbruh/online_kundelik/blob/main/kundelik/views.py) (School workflows)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web application"]
  node_routes["URL routing<br/>[urls.py]"]
  node_dashboard["Dashboards<br/>[views.py]"]
  node_forms["Input forms<br/>[forms.py]"]
  node_templates["Page templates"]
  node_chat["Help chat<br/>[Chat.js]"]
end

subgraph group_school["School records"]
  node_records_views["School workflows<br/>[views.py]"]
  node_setup_views["School setup<br/>[views.py]"]
  node_records[("School records<br/>[models.py]")]
  node_admin["Admin interface<br/>[admin.py]"]
end

subgraph group_assessment["Assessments"]
  node_assessment_views["Assessment workflows<br/>[views.py]"]
  node_assessment_data[("Assessment data<br/>[models.py]")]
end

subgraph group_identity["Identity and activity"]
  node_activity_views["Student activity<br/>[views.py]"]
  node_activity_log[("Activity log<br/>[models.py]")]
  node_accounts[("Accounts and profiles<br/>[models.py]")]
  node_login_signal["Login tracking<br/>[signals.py]"]
  node_app_setup["Signal registration<br/>[apps.py]"]
end

node_user(("Platform user"))
node_database[("MySQL database")]

node_user -.->|"requests pages"| node_routes
node_routes -->|"routes dashboard"| node_dashboard
node_routes -->|"routes records"| node_records_views
node_routes -->|"routes setup"| node_setup_views
node_routes -->|"routes assessments"| node_assessment_views
node_routes -->|"routes activity"| node_activity_views
node_dashboard -->|"reads records"| node_records
node_dashboard -.->|"renders pages"| node_templates
node_records_views -->|"validates input"| node_forms
node_records_views -->|"saves records"| node_records
node_records_views -.->|"renders pages"| node_templates
node_setup_views -.->|"validates input"| node_forms
node_setup_views -.->|"updates records"| node_records
node_setup_views -.->|"renders pages"| node_templates
node_assessment_views -.->|"validates input"| node_forms
node_assessment_views -.->|"manages assessments"| node_assessment_data
node_assessment_views -.->|"renders pages"| node_templates
node_activity_views -.->|"reads activity"| node_activity_log
node_forms -->|"uses models"| node_records
node_forms -->|"uses models"| node_assessment_data
node_app_setup -->|"loads signals"| node_login_signal
node_login_signal -->|"logs student login"| node_activity_log
node_admin -->|"administers records"| node_records
node_records -->|"persists records"| node_database
node_assessment_data -.->|"persists assessments"| node_database
node_activity_log -.->|"persists activity"| node_database
node_accounts -.->|"persists accounts"| node_database
node_user -.->|"asks questions"| node_chat

click node_routes "https://github.com/nurbruh/online_kundelik/blob/main/kundelik/urls.py"
click node_dashboard "https://github.com/nurbruh/online_kundelik/blob/main/kundelik/views.py"
click node_records_views "https://github.com/nurbruh/online_kundelik/blob/main/kundelik/views.py"
click node_setup_views "https://github.com/nurbruh/online_kundelik/blob/main/kundelik/views.py"
click node_assessment_views "https://github.com/nurbruh/online_kundelik/blob/main/kundelik/views.py"
click node_activity_views "https://github.com/nurbruh/online_kundelik/blob/main/kundelik/views.py"
click node_forms "https://github.com/nurbruh/online_kundelik/blob/main/kundelik/forms.py"
click node_templates "https://github.com/nurbruh/online_kundelik/tree/main/templates"
click node_records "https://github.com/nurbruh/online_kundelik/blob/main/kundelik/models.py"
click node_assessment_data "https://github.com/nurbruh/online_kundelik/blob/main/kundelik/models.py"
click node_activity_log "https://github.com/nurbruh/online_kundelik/blob/main/kundelik/models.py"
click node_accounts "https://github.com/nurbruh/online_kundelik/blob/main/kundelik/models.py"
click node_login_signal "https://github.com/nurbruh/online_kundelik/blob/main/kundelik/signals.py"
click node_app_setup "https://github.com/nurbruh/online_kundelik/blob/main/kundelik/apps.py"
click node_admin "https://github.com/nurbruh/online_kundelik/blob/main/kundelik/admin.py"
click node_chat "https://github.com/nurbruh/online_kundelik/blob/main/static/java%20script/Chat.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_routes,node_dashboard,node_forms,node_templates,node_chat,node_user toneBlue
class node_records_views,node_setup_views,node_records,node_admin,node_database toneAmber
class node_assessment_views,node_assessment_data toneMint
class node_activity_views,node_activity_log,node_accounts,node_login_signal,node_app_setup toneRose
```

## Components

### Web application

- [URL routing](https://github.com/nurbruh/online_kundelik/blob/main/kundelik/urls.py): `kundelik/urls.py`
- [Dashboards](https://github.com/nurbruh/online_kundelik/blob/main/kundelik/views.py): `kundelik/views.py`
- [Input forms](https://github.com/nurbruh/online_kundelik/blob/main/kundelik/forms.py): `kundelik/forms.py`
- [Page templates](https://github.com/nurbruh/online_kundelik/tree/main/templates): `templates`
- [Help chat](https://github.com/nurbruh/online_kundelik/blob/main/static/java%20script/Chat.js): `static/java script/Chat.js`

### School records

- [School workflows](https://github.com/nurbruh/online_kundelik/blob/main/kundelik/views.py): `kundelik/views.py`
- [School setup](https://github.com/nurbruh/online_kundelik/blob/main/kundelik/views.py): `kundelik/views.py`
- [School records](https://github.com/nurbruh/online_kundelik/blob/main/kundelik/models.py): `kundelik/models.py`
- [Admin interface](https://github.com/nurbruh/online_kundelik/blob/main/kundelik/admin.py): `kundelik/admin.py`

### Assessments

- [Assessment workflows](https://github.com/nurbruh/online_kundelik/blob/main/kundelik/views.py): `kundelik/views.py`
- [Assessment data](https://github.com/nurbruh/online_kundelik/blob/main/kundelik/models.py): `kundelik/models.py`

### Identity and activity

- [Student activity](https://github.com/nurbruh/online_kundelik/blob/main/kundelik/views.py): `kundelik/views.py`
- [Activity log](https://github.com/nurbruh/online_kundelik/blob/main/kundelik/models.py): `kundelik/models.py`
- [Accounts and profiles](https://github.com/nurbruh/online_kundelik/blob/main/kundelik/models.py): `kundelik/models.py`
- [Login tracking](https://github.com/nurbruh/online_kundelik/blob/main/kundelik/signals.py): `kundelik/signals.py`
- [Signal registration](https://github.com/nurbruh/online_kundelik/blob/main/kundelik/apps.py): `kundelik/apps.py`

### Other components

- **Platform user**
- **MySQL database**

## Connections

- Platform user → URL routing: requests pages
- URL routing → Dashboards: routes dashboard (evidence: `kundelik/urls.py`)
- URL routing → School workflows: routes records (evidence: `kundelik/urls.py`)
- URL routing → School setup: routes setup (evidence: `kundelik/urls.py`)
- URL routing → Assessment workflows: routes assessments (evidence: `kundelik/urls.py`)
- URL routing → Student activity: routes activity (evidence: `kundelik/urls.py`)
- Dashboards → School records: reads records (evidence: `kundelik/views.py`)
- Dashboards → Page templates: renders pages
- School workflows → Input forms: validates input (evidence: `kundelik/views.py`)
- School workflows → School records: saves records (evidence: `kundelik/views.py`)
- School workflows → Page templates: renders pages
- School setup → Input forms: validates input (evidence: `kundelik/views.py`)
- School setup → School records: updates records (evidence: `kundelik/views.py`)
- School setup → Page templates: renders pages
- Assessment workflows → Input forms: validates input (evidence: `kundelik/views.py`)
- Assessment workflows → Assessment data: manages assessments (evidence: `kundelik/views.py`)
- Assessment workflows → Page templates: renders pages
- Student activity → Activity log: reads activity (evidence: `kundelik/views.py`)
- Input forms → School records: uses models (evidence: `kundelik/forms.py`)
- Input forms → Assessment data: uses models (evidence: `kundelik/forms.py`)
- Signal registration → Login tracking: loads signals (evidence: `kundelik/apps.py`)
- Login tracking → Activity log: logs student login (evidence: `kundelik/signals.py`)
- Admin interface → School records: administers records (evidence: `kundelik/admin.py`)
- School records → MySQL database: persists records (evidence: `kundelik/models.py`)
- Assessment data → MySQL database: persists assessments
- Activity log → MySQL database: persists activity
- Accounts and profiles → MySQL database: persists accounts
- Platform user → Help chat: asks questions
