# ra-eillu/studenttracker architecture

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

- Interactive diagram: https://gitdiagram.com/ra-eillu/studenttracker
- Repository: https://github.com/ra-eillu/studenttracker

## Overview

Learnertrace is a Django learning tracker for students and professors. Students register, join courses, manage personal or assigned tasks, record work sessions, and optionally share progress; professors create courses and assignments, review opted-in progress, and manage course materials. The graph separates course and assignment management from student task tracking, with models as the shared domain state. Source excerpts show the main view-to-model/form interactions and URL routing; template rendering and some view behavior are not fully sampled, so those relationships are not expanded.

Main entry points: [`learnertrace/views.py`](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/views.py) (Learning workflows), [`learnertrace/models.py`](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/models.py) (Learning records), [`learnertrace/urls.py`](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/urls.py) (Application routes), [`learnertrace/forms.py`](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/forms.py) (Input forms)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web entry"]
  node_routes["Application routes<br/>[urls.py]"]
  node_views["Learning workflows<br/>[views.py]"]
  node_forms["Input forms<br/>[forms.py]"]
end

subgraph group_learning["Student learning"]
  node_task_tracking["Task tracking<br/>[views.py]"]
  node_work_sessions["Work sessions<br/>[models.py]"]
  node_student_dashboard["Student dashboard<br/>[views.py]"]
  node_progress_sharing["Progress sharing<br/>[views.py]"]
end

subgraph group_courses["Courses and teaching"]
  node_course_management["Course management<br/>[views.py]"]
  node_enrollment["Course enrollment<br/>[views.py]"]
  node_assignments["Assignments<br/>[models.py]"]
  node_materials["Learning materials<br/>[views.py]"]
  node_professor_progress["Professor progress<br/>[views.py]"]
end

subgraph group_domain["Domain and records"]
  node_forms_domain["Domain forms<br/>[forms.py]"]
  node_records[("Learning records<br/>[models.py]")]
  node_login_audit["Login audit<br/>[signals.py]"]
  node_app_registration["Signal registration<br/>[apps.py]"]
  node_admin["Admin management<br/>[admin.py]"]
end

node_student(("Student"))
node_professor(("Professor"))

node_student -->|"requests"| node_routes
node_professor -->|"requests"| node_routes
node_routes -->|"routes to"| node_views
node_views -->|"uses"| node_forms
node_views -->|"queries and updates"| node_records
node_forms -->|"validates models"| node_records
node_views -->|"serves"| node_student_dashboard
node_views -->|"serves"| node_task_tracking
node_views -->|"starts and stops"| node_work_sessions
node_views -->|"toggles"| node_progress_sharing
node_views -->|"serves"| node_course_management
node_views -->|"serves"| node_enrollment
node_views -->|"creates and distributes"| node_assignments
node_views -->|"serves"| node_materials
node_views -->|"serves"| node_professor_progress
node_app_registration -->|"loads"| node_login_audit
node_login_audit -->|"creates login record"| node_records
node_admin -->|"registers models"| node_records

click node_routes "https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/urls.py"
click node_views "https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/views.py"
click node_forms "https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/forms.py"
click node_task_tracking "https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/views.py"
click node_work_sessions "https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/models.py"
click node_student_dashboard "https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/views.py"
click node_progress_sharing "https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/views.py"
click node_course_management "https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/views.py"
click node_enrollment "https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/views.py"
click node_assignments "https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/models.py"
click node_materials "https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/views.py"
click node_professor_progress "https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/views.py"
click node_forms_domain "https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/forms.py"
click node_records "https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/models.py"
click node_login_audit "https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/signals.py"
click node_app_registration "https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/apps.py"
click node_admin "https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/admin.py"

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_views,node_forms toneBlue
class node_task_tracking,node_work_sessions,node_student_dashboard,node_progress_sharing toneAmber
class node_course_management,node_enrollment,node_assignments,node_materials,node_professor_progress toneMint
class node_forms_domain,node_records,node_login_audit,node_app_registration,node_admin toneRose
class node_student,node_professor toneIndigo
```

## Components

### Web entry

- [Application routes](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/urls.py): `learnertrace/urls.py`
- [Learning workflows](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/views.py): `learnertrace/views.py`
- [Input forms](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/forms.py): `learnertrace/forms.py`

### Student learning

- [Task tracking](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/views.py): `learnertrace/views.py`
- [Work sessions](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/models.py): `learnertrace/models.py`
- [Student dashboard](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/views.py): `learnertrace/views.py`
- [Progress sharing](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/views.py): `learnertrace/views.py`

### Courses and teaching

- [Course management](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/views.py): `learnertrace/views.py`
- [Course enrollment](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/views.py): `learnertrace/views.py`
- [Assignments](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/models.py): `learnertrace/models.py`
- [Learning materials](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/views.py): `learnertrace/views.py`
- [Professor progress](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/views.py): `learnertrace/views.py`

### Domain and records

- [Domain forms](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/forms.py): `learnertrace/forms.py`
- [Learning records](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/models.py): `learnertrace/models.py`
- [Login audit](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/signals.py): `learnertrace/signals.py`
- [Signal registration](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/apps.py): `learnertrace/apps.py`
- [Admin management](https://github.com/ra-eillu/studenttracker/blob/main/learnertrace/admin.py): `learnertrace/admin.py`

### Other components

- **Student**
- **Professor**

## Connections

- Student → Application routes: requests
- Professor → Application routes: requests
- Application routes → Learning workflows: routes to (evidence: `learnertrace/urls.py`)
- Learning workflows → Input forms: uses (evidence: `learnertrace/views.py`)
- Learning workflows → Learning records: queries and updates (evidence: `learnertrace/views.py`)
- Input forms → Learning records: validates models (evidence: `learnertrace/forms.py`)
- Learning workflows → Student dashboard: serves (evidence: `learnertrace/urls.py`)
- Learning workflows → Task tracking: serves (evidence: `learnertrace/urls.py`)
- Learning workflows → Work sessions: starts and stops (evidence: `learnertrace/views.py`)
- Learning workflows → Progress sharing: toggles (evidence: `learnertrace/views.py`)
- Learning workflows → Course management: serves (evidence: `learnertrace/urls.py`)
- Learning workflows → Course enrollment: serves (evidence: `learnertrace/urls.py`)
- Learning workflows → Assignments: creates and distributes (evidence: `learnertrace/models.py`)
- Learning workflows → Learning materials: serves (evidence: `learnertrace/urls.py`)
- Learning workflows → Professor progress: serves (evidence: `learnertrace/urls.py`)
- Signal registration → Login audit: loads (evidence: `learnertrace/apps.py`)
- Login audit → Learning records: creates login record (evidence: `learnertrace/signals.py`)
- Admin management → Learning records: registers models (evidence: `learnertrace/admin.py`)
