# lieparojute-ops/birthday-reminder architecture

> Architecture diagram of the GitHub repository lieparojute-ops/birthday-reminder, 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/lieparojute-ops/birthday-reminder
- Repository: https://github.com/lieparojute-ops/birthday-reminder

## Overview

A multi-user console birthday reminder app: users manage birthday records, view upcoming reminders, and trigger same-day notifications; records are loaded from and saved to CSV. The graph follows the documented startup and runtime calls. Email and SMS are simulated by console output, not external integrations. The README documents the capabilities, while the sampled source shows their principal call paths.

Main entry points: [`manager.py`](https://github.com/lieparojute-ops/birthday-reminder/blob/main/manager.py) (Birthday manager), [`user.py`](https://github.com/lieparojute-ops/birthday-reminder/blob/main/user.py) (User records), [`main.py`](https://github.com/lieparojute-ops/birthday-reminder/blob/main/main.py) (Application startup), [`menu.py`](https://github.com/lieparojute-ops/birthday-reminder/blob/main/menu.py) (Interactive menu)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_console["Console Interface"]
  node_menu["Interactive menu<br/>[menu.py]"]
end

subgraph group_control["Application Coordination"]
  node_main["Application startup<br/>[main.py]"]
  node_manager["Birthday manager<br/>[manager.py]"]
end

subgraph group_domain["Birthday Domain"]
  node_user["User records<br/>[user.py]"]
  node_birthday["Birthday calculations<br/>[birthday.py]"]
end

subgraph group_services["Persistence and Notifications"]
  node_repository["CSV repository<br/>[csv_repository.py]"]
  node_csvdata[("Saved records<br/>[user_data.csv]")]
  node_factory["Notification factory"]
  node_channels["Notification channels"]
end

node_actor(("Console user"))

node_actor -->|"chooses actions"| node_menu
node_main -->|"creates"| node_repository
node_main -->|"creates"| node_factory
node_main -->|"configures"| node_manager
node_main -->|"loads data"| node_manager
node_main -->|"starts"| node_menu
node_menu -->|"routes actions"| node_manager
node_menu -->|"creates users"| node_user
node_menu -->|"creates birthdays"| node_birthday
node_manager -->|"manages birthdays"| node_user
node_manager -->|"saves and loads"| node_repository
node_repository -->|"reads and writes"| node_csvdata
node_repository -->|"reconstructs users"| node_user
node_repository -->|"reconstructs birthdays"| node_birthday
node_user -->|"stores and checks"| node_birthday
node_manager -->|"dispatches notifications"| node_user
node_user -->|"requests channel"| node_factory
node_factory -->|"creates service"| node_channels
node_channels -->|"formats reminder"| node_birthday

click node_main "https://github.com/lieparojute-ops/birthday-reminder/blob/main/main.py"
click node_menu "https://github.com/lieparojute-ops/birthday-reminder/blob/main/menu.py"
click node_manager "https://github.com/lieparojute-ops/birthday-reminder/blob/main/manager.py"
click node_user "https://github.com/lieparojute-ops/birthday-reminder/blob/main/user.py"
click node_birthday "https://github.com/lieparojute-ops/birthday-reminder/blob/main/birthday.py"
click node_repository "https://github.com/lieparojute-ops/birthday-reminder/blob/main/csv_repository.py"
click node_csvdata "https://github.com/lieparojute-ops/birthday-reminder/blob/main/user_data.csv"
click node_factory "https://github.com/lieparojute-ops/birthday-reminder/blob/main/notification_system.py"
click node_channels "https://github.com/lieparojute-ops/birthday-reminder/blob/main/notification_system.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_menu,node_actor toneBlue
class node_main,node_manager toneAmber
class node_user,node_birthday toneMint
class node_repository,node_csvdata,node_factory,node_channels toneRose
```

## Components

### Console Interface

- [Interactive menu](https://github.com/lieparojute-ops/birthday-reminder/blob/main/menu.py): `menu.py`

### Application Coordination

- [Application startup](https://github.com/lieparojute-ops/birthday-reminder/blob/main/main.py): `main.py`
- [Birthday manager](https://github.com/lieparojute-ops/birthday-reminder/blob/main/manager.py): `manager.py`

### Birthday Domain

- [User records](https://github.com/lieparojute-ops/birthday-reminder/blob/main/user.py): `user.py`
- [Birthday calculations](https://github.com/lieparojute-ops/birthday-reminder/blob/main/birthday.py): `birthday.py`

### Persistence and Notifications

- [CSV repository](https://github.com/lieparojute-ops/birthday-reminder/blob/main/csv_repository.py): `csv_repository.py`
- [Saved records](https://github.com/lieparojute-ops/birthday-reminder/blob/main/user_data.csv): `user_data.csv`
- [Notification factory](https://github.com/lieparojute-ops/birthday-reminder/blob/main/notification_system.py): `notification_system.py`
- [Notification channels](https://github.com/lieparojute-ops/birthday-reminder/blob/main/notification_system.py): `notification_system.py`

### Other components

- **Console user**

## Connections

- Console user → Interactive menu: chooses actions (evidence: `README.md`)
- Application startup → CSV repository: creates (evidence: `main.py`)
- Application startup → Notification factory: creates (evidence: `main.py`)
- Application startup → Birthday manager: configures (evidence: `main.py`)
- Application startup → Birthday manager: loads data (evidence: `main.py`)
- Application startup → Interactive menu: starts (evidence: `main.py`)
- Interactive menu → Birthday manager: routes actions (evidence: `menu.py`)
- Interactive menu → User records: creates users (evidence: `menu.py`)
- Interactive menu → Birthday calculations: creates birthdays (evidence: `menu.py`)
- Birthday manager → User records: manages birthdays (evidence: `manager.py`)
- Birthday manager → CSV repository: saves and loads (evidence: `manager.py`)
- CSV repository → Saved records: reads and writes (evidence: `csv_repository.py`)
- CSV repository → User records: reconstructs users (evidence: `csv_repository.py`)
- CSV repository → Birthday calculations: reconstructs birthdays (evidence: `csv_repository.py`)
- User records → Birthday calculations: stores and checks (evidence: `user.py`)
- Birthday manager → User records: dispatches notifications (evidence: `manager.py`)
- User records → Notification factory: requests channel (evidence: `README.md`)
- Notification factory → Notification channels: creates service (evidence: `notification_system.py`)
- Notification channels → Birthday calculations: formats reminder (evidence: `notification_system.py`)
