# louitopia/interntrack architecture

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

- Interactive diagram: https://gitdiagram.com/louitopia/interntrack
- Repository: https://github.com/louitopia/interntrack

## Overview

InternTrack is a work-in-progress internship-management prototype. The sampled runtime has two disconnected surfaces: a PyQt login/registration shell launched by `main.py`, and console student functions in `user.py` that operate on caller-supplied profiles, internship records, and applications. Registration only validates fields; login authentication and database integration are not implemented. The README documents company workflows, but no company implementation appears in the tree. Dashed, uncited links mark documented capabilities whose runtime wiring is not shown.

Main entry points: [`user.py`](https://github.com/louitopia/interntrack/blob/main/user.py) (Student menu), [`login.py`](https://github.com/louitopia/interntrack/blob/main/login.py) (Login screen), [`register.py`](https://github.com/louitopia/interntrack/blob/main/register.py) (Registration screen), [`main.py`](https://github.com/louitopia/interntrack/blob/main/main.py) (Application shell)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Desktop shell"]
  node_app_entry["Application shell<br/>[main.py]"]
end

subgraph group_access["Account screens"]
  node_login["Login screen<br/>[login.py]"]
  node_registration["Registration screen<br/>[register.py]"]
end

subgraph group_student["Student workflows"]
  node_student_menu["Student menu<br/>[user.py]"]
  node_profile["Student profile<br/>[user.py]"]
  node_internship_browse["Browse and search<br/>[user.py]"]
  node_internship_catalog[("Sample postings<br/>[internships.py]")]
  node_application["Apply for internship<br/>[user.py]"]
  node_tracking["Application tracking<br/>[user.py]"]
  node_company_workflows["Company workflows"]
end

subgraph group_data["Data foundation"]
  node_database[("SQLite student schema<br/>[database.py]")]
end

node_student_actor(("Student"))
node_hr_actor(("Company / HR"))

node_app_entry -->|"creates screen"| node_login
node_app_entry -->|"creates screen"| node_registration
node_login -->|"opens registration"| node_registration
node_registration -->|"returns to login"| node_login
node_student_actor -.->|"enters credentials"| node_login
node_student_actor -.->|"enters profile"| node_registration
node_student_actor -.->|"uses menu"| node_student_menu
node_student_menu -->|"creates or views"| node_profile
node_student_menu -->|"browses or searches"| node_internship_browse
node_student_menu -->|"submits application"| node_application
node_student_menu -->|"views applications"| node_tracking
node_internship_browse -.->|"uses supplied records"| node_internship_catalog
node_application -->|"records status"| node_tracking
node_hr_actor -.->|"manages postings"| node_company_workflows
node_company_workflows -.->|"reviews applicants"| node_application
node_company_workflows -.->|"updates status"| node_tracking

click node_app_entry "https://github.com/louitopia/interntrack/blob/main/main.py"
click node_login "https://github.com/louitopia/interntrack/blob/main/login.py"
click node_registration "https://github.com/louitopia/interntrack/blob/main/register.py"
click node_student_menu "https://github.com/louitopia/interntrack/blob/main/user.py"
click node_profile "https://github.com/louitopia/interntrack/blob/main/user.py"
click node_internship_browse "https://github.com/louitopia/interntrack/blob/main/user.py"
click node_internship_catalog "https://github.com/louitopia/interntrack/blob/main/internships.py"
click node_application "https://github.com/louitopia/interntrack/blob/main/user.py"
click node_tracking "https://github.com/louitopia/interntrack/blob/main/user.py"
click node_database "https://github.com/louitopia/interntrack/blob/main/database.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_app_entry toneBlue
class node_login,node_registration toneAmber
class node_student_menu,node_profile,node_internship_browse,node_internship_catalog,node_application,node_tracking,node_company_workflows toneMint
class node_database toneRose
class node_student_actor,node_hr_actor toneIndigo
```

## Components

### Desktop shell

- [Application shell](https://github.com/louitopia/interntrack/blob/main/main.py): `main.py`

### Account screens

- [Login screen](https://github.com/louitopia/interntrack/blob/main/login.py): `login.py`
- [Registration screen](https://github.com/louitopia/interntrack/blob/main/register.py): `register.py`

### Student workflows

- [Student menu](https://github.com/louitopia/interntrack/blob/main/user.py): `user.py`
- [Student profile](https://github.com/louitopia/interntrack/blob/main/user.py): `user.py`
- [Browse and search](https://github.com/louitopia/interntrack/blob/main/user.py): `user.py`
- [Sample postings](https://github.com/louitopia/interntrack/blob/main/internships.py): `internships.py`
- [Apply for internship](https://github.com/louitopia/interntrack/blob/main/user.py): `user.py`
- [Application tracking](https://github.com/louitopia/interntrack/blob/main/user.py): `user.py`
- **Company workflows**

### Data foundation

- [SQLite student schema](https://github.com/louitopia/interntrack/blob/main/database.py): `database.py`

### Other components

- **Student**
- **Company / HR**

## Connections

- Application shell → Login screen: creates screen (evidence: `main.py`)
- Application shell → Registration screen: creates screen (evidence: `main.py`)
- Login screen → Registration screen: opens registration (evidence: `main.py`)
- Registration screen → Login screen: returns to login (evidence: `main.py`)
- Student → Login screen: enters credentials (evidence: `README.md`)
- Student → Registration screen: enters profile (evidence: `README.md`)
- Student → Student menu: uses menu (evidence: `README.md`)
- Student menu → Student profile: creates or views (evidence: `user.py`)
- Student menu → Browse and search: browses or searches (evidence: `user.py`)
- Student menu → Apply for internship: submits application (evidence: `user.py`)
- Student menu → Application tracking: views applications (evidence: `user.py`)
- Browse and search → Sample postings: uses supplied records
- Apply for internship → Application tracking: records status (evidence: `user.py`)
- Company / HR → Company workflows: manages postings (evidence: `README.md`)
- Company workflows → Apply for internship: reviews applicants (evidence: `README.md`)
- Company workflows → Application tracking: updates status (evidence: `README.md`)
