# originkim/softwareengineering architecture

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

- Interactive diagram: https://gitdiagram.com/originkim/softwareengineering
- Repository: https://github.com/originkim/softwareengineering

## Overview

This is a Django TOEIC vocabulary-learning web application. Users sign up or log in, browse and search vocabulary, bookmark words or add them to a personal list, then use quizzes and study tools to track progress. The documented product also includes study missions/statistics and administrator vocabulary management with CSV import. The graph separates request handlers from domain models and the database; several capabilities are documented or visible in the broad view modules, but their detailed implementations were not sampled.

Main entry points: [`apps/vocabulary/models.py`](https://github.com/originkim/softwareengineering/blob/main/apps/vocabulary/models.py) (Words and lists), [`apps/study/views.py`](https://github.com/originkim/softwareengineering/blob/main/apps/study/views.py) (Study workflows), [`apps/study/models.py`](https://github.com/originkim/softwareengineering/blob/main/apps/study/models.py) (Progress and missions), [`apps/accounts/views.py`](https://github.com/originkim/softwareengineering/blob/main/apps/accounts/views.py) (Account workflows)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_accounts["Accounts"]
  node_account_views["Account workflows<br/>[views.py]"]
  node_account_models["User and attendance<br/>[models.py]"]
  node_account_signals["Profile signals<br/>[signals.py]"]
end

subgraph group_vocabulary["Vocabulary"]
  node_vocab_views["Vocabulary workflows<br/>[views.py]"]
  node_vocab_models["Words and lists<br/>[models.py]"]
  node_csv_import["CSV word import<br/>[import_words.py]"]
end

subgraph group_learning["Study and quizzes"]
  node_study_views["Study workflows<br/>[views.py]"]
  node_study_utils["Study utilities<br/>[utils.py]"]
  node_study_models["Progress and missions<br/>[models.py]"]
  node_quiz_views["Quiz workflows<br/>[views.py]"]
  node_quiz_models["Quiz records<br/>[models.py]"]
end

subgraph group_platform["Persistence and routing"]
  node_database[("MySQL database")]
end

node_learner(("Learner"))
node_admin(("Administrator"))

node_learner -->|"registers or logs in"| node_account_views
node_learner -->|"browses words"| node_vocab_views
node_learner -->|"tracks study"| node_study_views
node_learner -->|"takes quizzes"| node_quiz_views
node_admin -->|"manages words"| node_vocab_views
node_account_views -->|"reads and updates"| node_account_models
node_account_views -->|"reads progress"| node_study_models
node_account_views -->|"reads words"| node_vocab_models
node_account_signals -->|"creates profiles"| node_account_models
node_vocab_views -->|"queries and updates"| node_vocab_models
node_csv_import -->|"imports words"| node_vocab_models
node_study_views -->|"records study data"| node_study_models
node_study_views -->|"uses words"| node_vocab_models
node_study_views -->|"reads test records"| node_quiz_models
node_study_views -.->|"delegates utilities"| node_study_utils
node_study_utils -->|"uses study records"| node_study_models
node_quiz_views -->|"creates quiz records"| node_quiz_models
node_quiz_views -->|"selects words"| node_vocab_models
node_quiz_views -->|"records learning history"| node_study_models
node_account_models -->|"persists account data"| node_database
node_vocab_models -->|"persists vocabulary"| node_database
node_study_models -->|"persists study records"| node_database
node_quiz_models -->|"persists quiz records"| node_database

click node_account_views "https://github.com/originkim/softwareengineering/blob/main/apps/accounts/views.py"
click node_account_models "https://github.com/originkim/softwareengineering/blob/main/apps/accounts/models.py"
click node_account_signals "https://github.com/originkim/softwareengineering/blob/main/apps/accounts/signals.py"
click node_vocab_views "https://github.com/originkim/softwareengineering/blob/main/apps/vocabulary/views.py"
click node_vocab_models "https://github.com/originkim/softwareengineering/blob/main/apps/vocabulary/models.py"
click node_csv_import "https://github.com/originkim/softwareengineering/blob/main/apps/vocabulary/management/commands/import_words.py"
click node_study_views "https://github.com/originkim/softwareengineering/blob/main/apps/study/views.py"
click node_study_utils "https://github.com/originkim/softwareengineering/blob/main/apps/study/utils.py"
click node_study_models "https://github.com/originkim/softwareengineering/blob/main/apps/study/models.py"
click node_quiz_views "https://github.com/originkim/softwareengineering/blob/main/apps/quiz/views.py"
click node_quiz_models "https://github.com/originkim/softwareengineering/blob/main/apps/quiz/models.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_account_views,node_account_models,node_account_signals toneBlue
class node_vocab_views,node_vocab_models,node_csv_import toneAmber
class node_study_views,node_study_utils,node_study_models,node_quiz_views,node_quiz_models toneMint
class node_database toneRose
class node_learner,node_admin toneIndigo
```

## Components

### Accounts

- [Account workflows](https://github.com/originkim/softwareengineering/blob/main/apps/accounts/views.py): `apps/accounts/views.py`
- [User and attendance](https://github.com/originkim/softwareengineering/blob/main/apps/accounts/models.py): `apps/accounts/models.py`
- [Profile signals](https://github.com/originkim/softwareengineering/blob/main/apps/accounts/signals.py): `apps/accounts/signals.py`

### Vocabulary

- [Vocabulary workflows](https://github.com/originkim/softwareengineering/blob/main/apps/vocabulary/views.py): `apps/vocabulary/views.py`
- [Words and lists](https://github.com/originkim/softwareengineering/blob/main/apps/vocabulary/models.py): `apps/vocabulary/models.py`
- [CSV word import](https://github.com/originkim/softwareengineering/blob/main/apps/vocabulary/management/commands/import_words.py): `apps/vocabulary/management/commands/import_words.py`

### Study and quizzes

- [Study workflows](https://github.com/originkim/softwareengineering/blob/main/apps/study/views.py): `apps/study/views.py`
- [Study utilities](https://github.com/originkim/softwareengineering/blob/main/apps/study/utils.py): `apps/study/utils.py`
- [Progress and missions](https://github.com/originkim/softwareengineering/blob/main/apps/study/models.py): `apps/study/models.py`
- [Quiz workflows](https://github.com/originkim/softwareengineering/blob/main/apps/quiz/views.py): `apps/quiz/views.py`
- [Quiz records](https://github.com/originkim/softwareengineering/blob/main/apps/quiz/models.py): `apps/quiz/models.py`

### Persistence and routing

- **MySQL database**

### Other components

- **Learner**
- **Administrator**

## Connections

- Learner → Account workflows: registers or logs in
- Learner → Vocabulary workflows: browses words
- Learner → Study workflows: tracks study
- Learner → Quiz workflows: takes quizzes
- Administrator → Vocabulary workflows: manages words
- Account workflows → User and attendance: reads and updates (evidence: `apps/accounts/views.py`)
- Account workflows → Progress and missions: reads progress (evidence: `apps/accounts/views.py`)
- Account workflows → Words and lists: reads words (evidence: `apps/accounts/views.py`)
- Profile signals → User and attendance: creates profiles (evidence: `apps/accounts/signals.py`)
- Vocabulary workflows → Words and lists: queries and updates (evidence: `apps/vocabulary/views.py`)
- CSV word import → Words and lists: imports words (evidence: `apps/vocabulary/management/commands/import_words.py`)
- Study workflows → Progress and missions: records study data (evidence: `apps/study/views.py`)
- Study workflows → Words and lists: uses words (evidence: `apps/study/views.py`)
- Study workflows → Quiz records: reads test records (evidence: `apps/study/views.py`)
- Study workflows → Study utilities: delegates utilities (evidence: `apps/study/views.py`)
- Study utilities → Progress and missions: uses study records (evidence: `apps/study/utils.py`)
- Quiz workflows → Quiz records: creates quiz records (evidence: `apps/quiz/views.py`)
- Quiz workflows → Words and lists: selects words (evidence: `apps/quiz/views.py`)
- Quiz workflows → Progress and missions: records learning history (evidence: `apps/quiz/views.py`)
- User and attendance → MySQL database: persists account data
- Words and lists → MySQL database: persists vocabulary
- Progress and missions → MySQL database: persists study records
- Quiz records → MySQL database: persists quiz records
