# marcopogi123/rics_enrollment architecture

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

- Interactive diagram: https://gitdiagram.com/marcopogi123/rics_enrollment
- Repository: https://github.com/marcopogi123/rics_enrollment

## Overview

This is a school enrollment and student-payment web application. The visible backend handles enrollment registration, student portal records, and staff enrollment and payment operations through action branches in one PHP API; the schema file indicates a database layer. The tree also includes enrollment, requirements, and student/staff pages, but their contents and their connections to the API were not sampled. The README is empty, so those frontend relationships and other capabilities cannot be verified here.

Main entry points: [`schema.sql`](https://github.com/marcopogi123/rics_enrollment/blob/main/schema.sql) (Enrollment database), [`api.php`](https://github.com/marcopogi123/rics_enrollment/blob/main/api.php) (Enrollment registration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web pages"]
  node_home["Home page<br/>[index.html]"]
  node_enrollment["Enrollment form<br/>[enrollment.html]"]
  node_requirements["Requirements page<br/>[requirements.html]"]
  node_student_ui["Student dashboard"]
  node_staff_ui["Staff dashboard"]
end

subgraph group_operations["Enrollment and payments"]
  node_registration["Enrollment registration<br/>[api.php]"]
  node_student_records["Student records<br/>[api.php]"]
  node_staff_enrollment["Staff enrollment lookup<br/>[api.php]"]
  node_payment_reporting["Payment reporting<br/>[api.php]"]
  node_payment_processing["Payment processing<br/>[api.php]"]
end

subgraph group_data["Data storage"]
  node_database[("Enrollment database<br/>[schema.sql]")]
end

node_registration -->|"writes enrollment"| node_database
node_student_records -->|"reads records"| node_database
node_staff_enrollment -->|"reads enrollments"| node_database
node_payment_reporting -->|"reads payment data"| node_database
node_payment_processing -->|"updates payments"| node_database

click node_home "https://github.com/marcopogi123/rics_enrollment/blob/main/index.html"
click node_enrollment "https://github.com/marcopogi123/rics_enrollment/blob/main/enrollment.html"
click node_requirements "https://github.com/marcopogi123/rics_enrollment/blob/main/requirements.html"
click node_student_ui "https://github.com/marcopogi123/rics_enrollment/blob/main/student-dashboard.html"
click node_staff_ui "https://github.com/marcopogi123/rics_enrollment/blob/main/staff-dashboard.html"
click node_registration "https://github.com/marcopogi123/rics_enrollment/blob/main/api.php"
click node_student_records "https://github.com/marcopogi123/rics_enrollment/blob/main/api.php"
click node_staff_enrollment "https://github.com/marcopogi123/rics_enrollment/blob/main/api.php"
click node_payment_reporting "https://github.com/marcopogi123/rics_enrollment/blob/main/api.php"
click node_payment_processing "https://github.com/marcopogi123/rics_enrollment/blob/main/api.php"
click node_database "https://github.com/marcopogi123/rics_enrollment/blob/main/schema.sql"

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_home,node_enrollment,node_requirements,node_student_ui,node_staff_ui toneBlue
class node_registration,node_student_records,node_staff_enrollment,node_payment_reporting,node_payment_processing toneAmber
class node_database toneMint
```

## Components

### Web pages

- [Home page](https://github.com/marcopogi123/rics_enrollment/blob/main/index.html): `index.html`
- [Enrollment form](https://github.com/marcopogi123/rics_enrollment/blob/main/enrollment.html): `enrollment.html`
- [Requirements page](https://github.com/marcopogi123/rics_enrollment/blob/main/requirements.html): `requirements.html`
- [Student dashboard](https://github.com/marcopogi123/rics_enrollment/blob/main/student-dashboard.html): `student-dashboard.html`
- [Staff dashboard](https://github.com/marcopogi123/rics_enrollment/blob/main/staff-dashboard.html): `staff-dashboard.html`

### Enrollment and payments

- [Enrollment registration](https://github.com/marcopogi123/rics_enrollment/blob/main/api.php): `api.php`
- [Student records](https://github.com/marcopogi123/rics_enrollment/blob/main/api.php): `api.php`
- [Staff enrollment lookup](https://github.com/marcopogi123/rics_enrollment/blob/main/api.php): `api.php`
- [Payment reporting](https://github.com/marcopogi123/rics_enrollment/blob/main/api.php): `api.php`
- [Payment processing](https://github.com/marcopogi123/rics_enrollment/blob/main/api.php): `api.php`

### Data storage

- [Enrollment database](https://github.com/marcopogi123/rics_enrollment/blob/main/schema.sql): `schema.sql`

## Connections

- Enrollment registration → Enrollment database: writes enrollment (evidence: `api.php`)
- Student records → Enrollment database: reads records (evidence: `api.php`)
- Staff enrollment lookup → Enrollment database: reads enrollments (evidence: `api.php`)
- Payment reporting → Enrollment database: reads payment data (evidence: `api.php`)
- Payment processing → Enrollment database: updates payments (evidence: `api.php`)
