# coe420-group8-f26/driving-test-booking-and-results-system architecture

> Architecture diagram of the GitHub repository coe420-group8-f26/driving-test-booking-and-results-system, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/coe420-group8-f26/driving-test-booking-and-results-system
- Repository: https://github.com/coe420-group8-f26/driving-test-booking-and-results-system

## Overview

This repository describes a planned driving-test booking and results system; application code has not started, and the frontend, backend, and database remain undecided. The main applicant workflow is account access, booking or managing a test, then viewing its result and history. Examiners handle assigned tests and record outcomes; administrators manage schedules, bookings, assignments, and test records. The graph reflects documented capabilities and relationships only, using the README as evidence; it does not imply an implemented runtime architecture.

Main entry points: [`Project/Requirements/Functional_Requirements.md`](https://github.com/coe420-group8-f26/driving-test-booking-and-results-system/blob/master/Project/Requirements/Functional_Requirements.md) (Result Submission)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_accounts["Accounts"]
  node_account_management["Account Management"]
end

subgraph group_booking["Booking Operations"]
  node_test_booking["Test Booking"]
  node_schedule_management["Schedule Management"]
  node_examiner_assignment["Examiner Assignment"]
end

subgraph group_exam["Exams and Results"]
  node_assigned_tests["Assigned Tests"]
  node_result_submission["Result Submission"]
  node_applicant_record[("Applicant Record")]
end

subgraph group_support["Notifications and Records"]
  node_result_history["Test History"]
  node_notifications["Notifications"]
end

node_applicant(("Applicant"))
node_examiner(("Driving Examiner"))
node_administrator(("Administrator"))

node_applicant -->|"registers or logs in"| node_account_management
node_examiner -->|"role-based login"| node_account_management
node_administrator -->|"role-based login"| node_account_management
node_applicant -->|"books or manages"| node_test_booking
node_administrator -->|"manages schedules"| node_schedule_management
node_administrator -->|"manages bookings"| node_test_booking
node_administrator -->|"assigns examiners"| node_examiner_assignment
node_examiner_assignment -->|"assigns tests"| node_assigned_tests
node_examiner -->|"views assigned tests"| node_assigned_tests
node_examiner -->|"submits outcome"| node_result_submission
node_result_submission -->|"updates record"| node_applicant_record
node_applicant -->|"accesses results"| node_applicant_record
node_applicant -->|"views history"| node_result_history
node_test_booking -->|"notifies changes"| node_notifications
node_result_submission -->|"notifies availability"| node_notifications

click node_account_management "https://github.com/coe420-group8-f26/driving-test-booking-and-results-system/blob/master/Project/Requirements/Functional_Requirements.md"
click node_test_booking "https://github.com/coe420-group8-f26/driving-test-booking-and-results-system/blob/master/Project/Requirements/Functional_Requirements.md"
click node_schedule_management "https://github.com/coe420-group8-f26/driving-test-booking-and-results-system/blob/master/Project/Requirements/Functional_Requirements.md"
click node_examiner_assignment "https://github.com/coe420-group8-f26/driving-test-booking-and-results-system/blob/master/Project/Requirements/Functional_Requirements.md"
click node_assigned_tests "https://github.com/coe420-group8-f26/driving-test-booking-and-results-system/blob/master/Project/Requirements/Functional_Requirements.md"
click node_result_submission "https://github.com/coe420-group8-f26/driving-test-booking-and-results-system/blob/master/Project/Requirements/Functional_Requirements.md"
click node_applicant_record "https://github.com/coe420-group8-f26/driving-test-booking-and-results-system/blob/master/Project/Requirements/Functional_Requirements.md"
click node_result_history "https://github.com/coe420-group8-f26/driving-test-booking-and-results-system/blob/master/Project/Requirements/Functional_Requirements.md"
click node_notifications "https://github.com/coe420-group8-f26/driving-test-booking-and-results-system/blob/master/Project/Requirements/Functional_Requirements.md"

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_account_management toneBlue
class node_test_booking,node_schedule_management,node_examiner_assignment toneAmber
class node_assigned_tests,node_result_submission,node_applicant_record toneMint
class node_result_history,node_notifications toneRose
class node_applicant,node_examiner,node_administrator toneIndigo
```

## Components

### Accounts

- [Account Management](https://github.com/coe420-group8-f26/driving-test-booking-and-results-system/blob/master/Project/Requirements/Functional_Requirements.md): `Project/Requirements/Functional_Requirements.md`

### Booking Operations

- [Test Booking](https://github.com/coe420-group8-f26/driving-test-booking-and-results-system/blob/master/Project/Requirements/Functional_Requirements.md): `Project/Requirements/Functional_Requirements.md`
- [Schedule Management](https://github.com/coe420-group8-f26/driving-test-booking-and-results-system/blob/master/Project/Requirements/Functional_Requirements.md): `Project/Requirements/Functional_Requirements.md`
- [Examiner Assignment](https://github.com/coe420-group8-f26/driving-test-booking-and-results-system/blob/master/Project/Requirements/Functional_Requirements.md): `Project/Requirements/Functional_Requirements.md`

### Exams and Results

- [Assigned Tests](https://github.com/coe420-group8-f26/driving-test-booking-and-results-system/blob/master/Project/Requirements/Functional_Requirements.md): `Project/Requirements/Functional_Requirements.md`
- [Result Submission](https://github.com/coe420-group8-f26/driving-test-booking-and-results-system/blob/master/Project/Requirements/Functional_Requirements.md): `Project/Requirements/Functional_Requirements.md`
- [Applicant Record](https://github.com/coe420-group8-f26/driving-test-booking-and-results-system/blob/master/Project/Requirements/Functional_Requirements.md): `Project/Requirements/Functional_Requirements.md`

### Notifications and Records

- [Test History](https://github.com/coe420-group8-f26/driving-test-booking-and-results-system/blob/master/Project/Requirements/Functional_Requirements.md): `Project/Requirements/Functional_Requirements.md`
- [Notifications](https://github.com/coe420-group8-f26/driving-test-booking-and-results-system/blob/master/Project/Requirements/Functional_Requirements.md): `Project/Requirements/Functional_Requirements.md`

### Other components

- **Applicant**
- **Driving Examiner**
- **Administrator**

## Connections

- Applicant → Account Management: registers or logs in (evidence: `README.md`)
- Driving Examiner → Account Management: role-based login (evidence: `README.md`)
- Administrator → Account Management: role-based login (evidence: `README.md`)
- Applicant → Test Booking: books or manages (evidence: `README.md`)
- Administrator → Schedule Management: manages schedules (evidence: `README.md`)
- Administrator → Test Booking: manages bookings (evidence: `README.md`)
- Administrator → Examiner Assignment: assigns examiners (evidence: `README.md`)
- Examiner Assignment → Assigned Tests: assigns tests (evidence: `README.md`)
- Driving Examiner → Assigned Tests: views assigned tests (evidence: `README.md`)
- Driving Examiner → Result Submission: submits outcome (evidence: `README.md`)
- Result Submission → Applicant Record: updates record (evidence: `README.md`)
- Applicant → Applicant Record: accesses results (evidence: `README.md`)
- Applicant → Test History: views history (evidence: `README.md`)
- Test Booking → Notifications: notifies changes (evidence: `README.md`)
- Result Submission → Notifications: notifies availability (evidence: `README.md`)
