# mihlalimandoyi-hub/fortebookstuitionhub architecture

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

- Interactive diagram: https://gitdiagram.com/mihlalimandoyi-hub/fortebookstuitionhub
- Repository: https://github.com/mihlalimandoyi-hub/fortebookstuitionhub

## Overview

Forte Books & Tuition Hub is an ASP.NET Web Forms system for managing student and tutor operations, book rentals, and payments with role-based access. Users register or sign in, then use role-specific pages to manage records, schedule tuition, rent books, and handle fees; administrators also review operational and financial reports. The pages issue ADO.NET queries directly to SQL Server, with shared access checks and notification/activity-log helpers. Several feature branches are identified from the README and tree; their detailed call paths were not sampled.

Main entry points: [`ForteBooksTuitionHub/Default.aspx.cs`](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/Default.aspx.cs) (Role dashboards), [`ForteBooksTuitionHub/AuthHelper.cs`](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/AuthHelper.cs) (Role access checks), [`ForteBooksTuitionHub/RateSession.aspx.cs`](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/RateSession.aspx.cs) (Session ratings), [`ForteBooksTuitionHub/Register.aspx.cs`](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/Register.aspx.cs) (Registration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_identity["Identity and access"]
  node_registration["Registration<br/>[Register.aspx.cs]"]
  node_dashboard["Role dashboards<br/>[Default.aspx.cs]"]
  node_student_records["Student records<br/>[Students.aspx.cs]"]
  node_tutor_records["Tutor records<br/>[Tutors.aspx.cs]"]
end

subgraph group_tuition["Tuition operations"]
  node_tutor_profile["Tutor profile"]
  node_availability["Tutor availability"]
  node_session_booking["Session booking<br/>[SessionAdd.aspx.cs]"]
  node_sessions["Session management<br/>[Sessions.aspx.cs]"]
  node_ratings["Session ratings"]
  node_timesheets["Timesheets<br/>[Timesheets.aspx.cs]"]
end

subgraph group_books["Book rentals"]
  node_catalogue["Book catalogue"]
  node_rental_ops["Rental operations"]
  node_fine_payment["Fine payment<br/>[PayFine.aspx.cs]"]
end

subgraph group_finance["Payments and reporting"]
  node_fee_payment["Fee payments<br/>[PaymentAdd.aspx.cs]"]
  node_reporting["Business reports"]
end

subgraph group_shared["Shared services"]
  node_access["Role access checks<br/>[AuthHelper.cs]"]
  node_activity["Activity logging"]
  node_notifications["Notifications"]
  node_web_shell["Navigation and reminders<br/>[Site.Master.cs]"]
end

node_student(("Student"))
node_tutor(("Tutor"))
node_admin(("Administrator"))
node_sql[("SQL Server")]

node_student -->|"registers"| node_registration
node_student -->|"uses"| node_dashboard
node_tutor -->|"uses"| node_dashboard
node_admin -->|"uses"| node_dashboard
node_registration -->|"writes records"| node_sql
node_dashboard -->|"checks roles"| node_access
node_tutor_profile -->|"checks role"| node_access
node_sessions -->|"checks roles"| node_access
node_ratings -->|"checks role"| node_access
node_session_booking -->|"queries and inserts"| node_sql
node_sessions -->|"queries and updates"| node_sql
node_ratings -->|"reads and updates"| node_sql
node_tutor_profile -->|"reads and updates"| node_sql
node_timesheets -->|"reads and updates"| node_sql
node_dashboard -->|"queries metrics"| node_sql
node_fine_payment -->|"reads and records payment"| node_sql
node_catalogue -->|"reads catalogue"| node_sql
node_rental_ops -->|"manages rentals"| node_sql
node_fee_payment -.->|"records payments"| node_sql
node_reporting -.->|"queries reports"| node_sql
node_registration -->|"logs action"| node_activity
node_ratings -->|"logs action"| node_activity
node_web_shell -->|"creates reminders"| node_notifications
node_web_shell -->|"reads reminders"| node_sql

click node_registration "https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/Register.aspx.cs"
click node_access "https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/AuthHelper.cs"
click node_dashboard "https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/Default.aspx.cs"
click node_student_records "https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/Students.aspx.cs"
click node_tutor_records "https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/Tutors.aspx.cs"
click node_tutor_profile "https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/MyTutorProfile.aspx.cs"
click node_availability "https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/TutorAvailability.aspx.cs"
click node_session_booking "https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/SessionAdd.aspx.cs"
click node_sessions "https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/Sessions.aspx.cs"
click node_ratings "https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/RateSession.aspx.cs"
click node_timesheets "https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/Timesheets.aspx.cs"
click node_catalogue "https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/BookCatalogue.aspx.cs"
click node_rental_ops "https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/BookRentals.aspx.cs"
click node_fine_payment "https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/PayFine.aspx.cs"
click node_fee_payment "https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/PaymentAdd.aspx.cs"
click node_reporting "https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/RevenueReport.aspx.cs"
click node_activity "https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/ActivityLogHelper.cs"
click node_notifications "https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/NotificationHelper.cs"
click node_web_shell "https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/Site.Master.cs"

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_registration,node_dashboard,node_student_records,node_tutor_records toneBlue
class node_tutor_profile,node_availability,node_session_booking,node_sessions,node_ratings,node_timesheets,node_sql toneAmber
class node_catalogue,node_rental_ops,node_fine_payment toneMint
class node_fee_payment,node_reporting toneRose
class node_access,node_activity,node_notifications,node_web_shell,node_student,node_tutor,node_admin toneIndigo
```

## Components

### Identity and access

- [Registration](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/Register.aspx.cs): `ForteBooksTuitionHub/Register.aspx.cs`
- [Role dashboards](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/Default.aspx.cs): `ForteBooksTuitionHub/Default.aspx.cs`
- [Student records](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/Students.aspx.cs): `ForteBooksTuitionHub/Students.aspx.cs`
- [Tutor records](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/Tutors.aspx.cs): `ForteBooksTuitionHub/Tutors.aspx.cs`

### Tuition operations

- [Tutor profile](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/MyTutorProfile.aspx.cs): `ForteBooksTuitionHub/MyTutorProfile.aspx.cs`
- [Tutor availability](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/TutorAvailability.aspx.cs): `ForteBooksTuitionHub/TutorAvailability.aspx.cs`
- [Session booking](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/SessionAdd.aspx.cs): `ForteBooksTuitionHub/SessionAdd.aspx.cs`
- [Session management](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/Sessions.aspx.cs): `ForteBooksTuitionHub/Sessions.aspx.cs`
- [Session ratings](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/RateSession.aspx.cs): `ForteBooksTuitionHub/RateSession.aspx.cs`
- [Timesheets](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/Timesheets.aspx.cs): `ForteBooksTuitionHub/Timesheets.aspx.cs`

### Book rentals

- [Book catalogue](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/BookCatalogue.aspx.cs): `ForteBooksTuitionHub/BookCatalogue.aspx.cs`
- [Rental operations](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/BookRentals.aspx.cs): `ForteBooksTuitionHub/BookRentals.aspx.cs`
- [Fine payment](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/PayFine.aspx.cs): `ForteBooksTuitionHub/PayFine.aspx.cs`

### Payments and reporting

- [Fee payments](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/PaymentAdd.aspx.cs): `ForteBooksTuitionHub/PaymentAdd.aspx.cs`
- [Business reports](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/RevenueReport.aspx.cs): `ForteBooksTuitionHub/RevenueReport.aspx.cs`

### Shared services

- [Role access checks](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/AuthHelper.cs): `ForteBooksTuitionHub/AuthHelper.cs`
- [Activity logging](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/ActivityLogHelper.cs): `ForteBooksTuitionHub/ActivityLogHelper.cs`
- [Notifications](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/NotificationHelper.cs): `ForteBooksTuitionHub/NotificationHelper.cs`
- [Navigation and reminders](https://github.com/mihlalimandoyi-hub/fortebookstuitionhub/blob/master/ForteBooksTuitionHub/Site.Master.cs): `ForteBooksTuitionHub/Site.Master.cs`

### Other components

- **Student**
- **Tutor**
- **Administrator**
- **SQL Server**

## Connections

- Student → Registration: registers
- Student → Role dashboards: uses
- Tutor → Role dashboards: uses
- Administrator → Role dashboards: uses
- Registration → SQL Server: writes records (evidence: `ForteBooksTuitionHub/Register.aspx.cs`)
- Role dashboards → Role access checks: checks roles (evidence: `ForteBooksTuitionHub/Default.aspx.cs`)
- Tutor profile → Role access checks: checks role (evidence: `ForteBooksTuitionHub/MyTutorProfile.aspx.cs`)
- Session management → Role access checks: checks roles (evidence: `ForteBooksTuitionHub/Sessions.aspx.cs`)
- Session ratings → Role access checks: checks role (evidence: `ForteBooksTuitionHub/RateSession.aspx.cs`)
- Session booking → SQL Server: queries and inserts (evidence: `ForteBooksTuitionHub/SessionAdd.aspx.cs`)
- Session management → SQL Server: queries and updates (evidence: `ForteBooksTuitionHub/Sessions.aspx.cs`)
- Session ratings → SQL Server: reads and updates (evidence: `ForteBooksTuitionHub/RateSession.aspx.cs`)
- Tutor profile → SQL Server: reads and updates (evidence: `ForteBooksTuitionHub/MyTutorProfile.aspx.cs`)
- Timesheets → SQL Server: reads and updates (evidence: `ForteBooksTuitionHub/Timesheets.aspx.cs`)
- Role dashboards → SQL Server: queries metrics (evidence: `ForteBooksTuitionHub/Default.aspx.cs`)
- Fine payment → SQL Server: reads and records payment (evidence: `ForteBooksTuitionHub/PayFine.aspx.cs`)
- Book catalogue → SQL Server: reads catalogue (evidence: `ForteBooksTuitionHub/BookCatalogue.aspx.cs`)
- Rental operations → SQL Server: manages rentals (evidence: `ForteBooksTuitionHub/BookRentals.aspx.cs`)
- Fee payments → SQL Server: records payments
- Business reports → SQL Server: queries reports
- Registration → Activity logging: logs action (evidence: `ForteBooksTuitionHub/Register.aspx.cs`)
- Session ratings → Activity logging: logs action (evidence: `ForteBooksTuitionHub/RateSession.aspx.cs`)
- Navigation and reminders → Notifications: creates reminders (evidence: `ForteBooksTuitionHub/Site.Master.cs`)
- Navigation and reminders → SQL Server: reads reminders (evidence: `ForteBooksTuitionHub/Site.Master.cs`)
