# miggyoe/devnet-patio-ethan architecture

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

- Interactive diagram: https://gitdiagram.com/miggyoe/devnet-patio-ethan
- Repository: https://github.com/miggyoe/devnet-patio-ethan

## Overview

This is a DEVNET learning log and portfolio scaffold, with lesson templates, a file-sorting activity template, a running TIL, and a pet-adoption records midterm program. The principal executable workflow is a user choosing menu actions to add, view, count, find, or remove pet records; counting and finding are unfinished in the sampled code. The README also describes maintaining work in branches and submitting it through a pull request. Lesson files are independent learning materials, not a runtime pipeline.

Main entry points: [`midterm.py`](https://github.com/miggyoe/devnet-patio-ethan/blob/main/midterm.py) (Menu and dispatcher), [`module-2-python-basics`](https://github.com/miggyoe/devnet-patio-ethan/tree/main/module-2-python-basics) (Lesson templates), [`TIL.md`](https://github.com/miggyoe/devnet-patio-ethan/blob/main/TIL.md) (TIL log), [`module-1-git-github/notes.md`](https://github.com/miggyoe/devnet-patio-ethan/blob/main/module-1-git-github/notes.md) (Git notes)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_learning["Learning log"]
  node_lessons["Lesson templates"]
  node_til["TIL log<br/>[TIL.md]"]
  node_git_notes["Git notes<br/>[notes.md]"]
end

subgraph group_practice["Python practice"]
  node_sorting_activity["File-sorting activity"]
end

subgraph group_records["Adoption records"]
  node_menu["Menu and dispatcher<br/>[midterm.py]"]
  node_pet_records["In-memory pet list<br/>[midterm.py]"]
  node_pet_actions["Pet record actions<br/>[midterm.py]"]
end

node_learner(("Learner"))
node_terminal_user(("Terminal user"))

node_learner -->|"completes"| node_lessons
node_learner -->|"records learnings"| node_til
node_learner -.->|"studies"| node_git_notes
node_learner -->|"completes"| node_sorting_activity
node_terminal_user -->|"chooses options"| node_menu
node_menu -->|"dispatches actions"| node_pet_actions
node_pet_actions -->|"updates and reads"| node_pet_records

click node_lessons "https://github.com/miggyoe/devnet-patio-ethan/tree/main/module-2-python-basics"
click node_til "https://github.com/miggyoe/devnet-patio-ethan/blob/main/TIL.md"
click node_git_notes "https://github.com/miggyoe/devnet-patio-ethan/blob/main/module-1-git-github/notes.md"
click node_sorting_activity "https://github.com/miggyoe/devnet-patio-ethan/blob/main/module-2-python-basics/activity-1-file-sorting.py"
click node_menu "https://github.com/miggyoe/devnet-patio-ethan/blob/main/midterm.py"
click node_pet_records "https://github.com/miggyoe/devnet-patio-ethan/blob/main/midterm.py"
click node_pet_actions "https://github.com/miggyoe/devnet-patio-ethan/blob/main/midterm.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_lessons,node_til,node_git_notes,node_terminal_user toneBlue
class node_sorting_activity toneAmber
class node_menu,node_pet_records,node_pet_actions toneMint
class node_learner toneIndigo
```

## Components

### Learning log

- [Lesson templates](https://github.com/miggyoe/devnet-patio-ethan/tree/main/module-2-python-basics): `module-2-python-basics`
- [TIL log](https://github.com/miggyoe/devnet-patio-ethan/blob/main/TIL.md): `TIL.md`
- [Git notes](https://github.com/miggyoe/devnet-patio-ethan/blob/main/module-1-git-github/notes.md): `module-1-git-github/notes.md`

### Python practice

- [File-sorting activity](https://github.com/miggyoe/devnet-patio-ethan/blob/main/module-2-python-basics/activity-1-file-sorting.py): `module-2-python-basics/activity-1-file-sorting.py`

### Adoption records

- [Menu and dispatcher](https://github.com/miggyoe/devnet-patio-ethan/blob/main/midterm.py): `midterm.py`
- [In-memory pet list](https://github.com/miggyoe/devnet-patio-ethan/blob/main/midterm.py): `midterm.py`
- [Pet record actions](https://github.com/miggyoe/devnet-patio-ethan/blob/main/midterm.py): `midterm.py`

### Other components

- **Learner**
- **Terminal user**

## Connections

- Learner → Lesson templates: completes (evidence: `README.md`)
- Learner → TIL log: records learnings (evidence: `README.md`)
- Learner → Git notes: studies
- Learner → File-sorting activity: completes (evidence: `README.md`)
- Terminal user → Menu and dispatcher: chooses options (evidence: `midterm.py`)
- Menu and dispatcher → Pet record actions: dispatches actions (evidence: `midterm.py`)
- Pet record actions → In-memory pet list: updates and reads (evidence: `midterm.py`)
