# aguilarmj0227-byte/bct_studentportal architecture

> Architecture diagram of the GitHub repository aguilarmj0227-byte/bct_studentportal, 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/aguilarmj0227-byte/bct_studentportal
- Repository: https://github.com/aguilarmj0227-byte/bct_studentportal

## Overview

BCT StudentPortal is a Flet enrollment-fee assessment app. A student enters identity, academic-load, and payment details; the app validates them, computes an assessment, and displays a fee and exam-payment breakdown. The UI also supports saved records/history, help, and application information. The excerpts show the main calculation and validation calls, but not all page navigation or event wiring, so those relationships are omitted where they cannot be verified.

Main entry points: [`main.py`](https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/main.py) (App entry), [`assessment.py`](https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/assessment.py) (Assessment handler), [`enrollment_page.py`](https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/enrollment_page.py) (Enrollment form), [`results_page.py`](https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/results_page.py) (Assessment results)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application"]
  node_entry["App entry<br/>[main.py]"]
  node_window["Window setup<br/>[config.py]"]
end

subgraph group_enrollment["Enrollment"]
  node_form["Enrollment form<br/>[enrollment_page.py]"]
  node_validation["Input validation<br/>[validation.py]"]
end

subgraph group_assessment["Assessment"]
  node_assessment_flow["Assessment handler<br/>[assessment.py]"]
  node_fees["Fee computation<br/>[results_page.py]"]
  node_breakdown["Assessment results<br/>[results_page.py]"]
end

subgraph group_support["Portal support"]
  node_records["Records and history<br/>[enrollment_page.py]"]
  node_help["Help and about<br/>[enrollment_page.py]"]
end

node_student(("Student"))

node_entry -->|"configures"| node_window
node_entry -->|"builds"| node_form
node_entry -->|"delegates"| node_assessment_flow
node_student -.->|"enters details"| node_form
node_form -->|"validates changes"| node_validation
node_assessment_flow -->|"validates submission"| node_validation
node_assessment_flow -->|"shows results"| node_breakdown
node_breakdown -->|"computes fees"| node_fees

click node_entry "https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/main.py"
click node_window "https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/config.py"
click node_form "https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/enrollment_page.py"
click node_validation "https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/validation.py"
click node_assessment_flow "https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/assessment.py"
click node_fees "https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/results_page.py"
click node_breakdown "https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/results_page.py"
click node_records "https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/enrollment_page.py"
click node_help "https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/enrollment_page.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_entry,node_window toneBlue
class node_form,node_validation toneAmber
class node_assessment_flow,node_fees,node_breakdown toneMint
class node_records,node_help toneRose
class node_student toneIndigo
```

## Components

### Application

- [App entry](https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/main.py): `main.py`
- [Window setup](https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/config.py): `config.py`

### Enrollment

- [Enrollment form](https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/enrollment_page.py): `enrollment_page.py`
- [Input validation](https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/validation.py): `validation.py`

### Assessment

- [Assessment handler](https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/assessment.py): `assessment.py`
- [Fee computation](https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/results_page.py): `results_page.py`
- [Assessment results](https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/results_page.py): `results_page.py`

### Portal support

- [Records and history](https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/enrollment_page.py): `enrollment_page.py`
- [Help and about](https://github.com/aguilarmj0227-byte/bct_studentportal/blob/main/enrollment_page.py): `enrollment_page.py`

### Other components

- **Student**

## Connections

- App entry → Window setup: configures (evidence: `main.py`)
- App entry → Enrollment form: builds (evidence: `main.py`)
- App entry → Assessment handler: delegates (evidence: `main.py`)
- Student → Enrollment form: enters details
- Enrollment form → Input validation: validates changes (evidence: `enrollment_page.py`)
- Assessment handler → Input validation: validates submission (evidence: `assessment.py`)
- Assessment handler → Assessment results: shows results (evidence: `assessment.py`)
- Assessment results → Fee computation: computes fees (evidence: `results_page.py`)
