# jctuiza/ssis_project architecture

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

- Interactive diagram: https://gitdiagram.com/jctuiza/ssis_project
- Repository: https://github.com/jctuiza/ssis_project

## Overview

SSIS replaces in-person queues with student self-service and staff workflows for enrollment, clearance, grades, documents and payments. Students and office staff use role-specific React portals; requests pass through frontend services to the Laravel JSON API, which applies academic rules and persists records. The graph highlights enrollment review and confirmation as a multi-stage workflow, alongside other documented capabilities. The README and source index establish the frontend/backend boundary and route/controller structure; several domain links are limited to sampled source, so unsampled relationships are omitted.

Main entry points: [`backend/app/Support/AcademicEnrollment.php`](https://github.com/jctuiza/ssis_project/blob/main/backend/app/Support/AcademicEnrollment.php) (Enrollment rules), [`backend/routes/api.php`](https://github.com/jctuiza/ssis_project/blob/main/backend/routes/api.php) (JSON API routes), [`backend/app/Support/StudentStanding.php`](https://github.com/jctuiza/ssis_project/blob/main/backend/app/Support/StudentStanding.php) (Student standing), [`backend/app/Support/Rules.php`](https://github.com/jctuiza/ssis_project/blob/main/backend/app/Support/Rules.php) (Shared rules)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_portal["Web portals"]
  node_portal_pages["Student and staff pages"]
  node_app_routes["Role-based routes<br/>[AppRoutes.jsx]"]
end

subgraph group_client["Frontend access"]
  node_frontend_services["API services"]
  node_api_client["API client<br/>[apiClient.js]"]
end

subgraph group_api["API workflows"]
  node_api_routes["JSON API routes<br/>[api.php]"]
  node_api_controller["API controller base<br/>[ApiController.php]"]
  node_admissions["Admission workflows"]
  node_enrollment["Enrollment workflows"]
  node_enrollment_requests["Enrollment requests"]
  node_other_workflows["Office workflows"]
end

subgraph group_domain["Academic rules"]
  node_academic_enrollment["Enrollment rules"]
  node_student_standing["Student standing"]
  node_academic_assignments["Academic assignments"]
  node_business_rules["Shared rules<br/>[Rules.php]"]
  node_resources["API resources<br/>[Resources.php]"]
end

subgraph group_records["System records"]
  node_user_records[("Users and profiles")]
  node_academic_records[("Academic records")]
  node_service_records[("Service records")]
end

node_student(("Student"))
node_staff(("Office staff"))
node_mysql[("MySQL database")]

node_student -->|"uses portal"| node_app_routes
node_staff -->|"uses portal"| node_app_routes
node_app_routes -->|"routes to"| node_portal_pages
node_portal_pages -.->|"requests data"| node_frontend_services
node_frontend_services -->|"uses client"| node_api_client
node_api_client -->|"calls JSON API"| node_api_routes
node_api_routes -->|"dispatches"| node_admissions
node_api_routes -->|"dispatches"| node_enrollment
node_api_routes -->|"dispatches"| node_enrollment_requests
node_api_routes -->|"dispatches"| node_other_workflows
node_enrollment -->|"checks enrollment"| node_academic_enrollment
node_enrollment_requests -->|"uses rules"| node_academic_enrollment
node_academic_enrollment -->|"checks standing"| node_student_standing
node_academic_enrollment -->|"uses assignments"| node_academic_assignments
node_academic_enrollment -->|"reads rules"| node_business_rules
node_enrollment -->|"computes eligibility"| node_student_standing
node_student_standing -->|"reads term rules"| node_business_rules
node_student_standing -->|"formats grades"| node_resources
node_academic_enrollment -->|"updates enrollment records"| node_academic_records
node_academic_enrollment -->|"creates clearances"| node_service_records
node_business_rules -->|"reads academic data"| node_academic_records
node_business_rules -.->|"persists records"| node_mysql
node_api_controller -->|"authenticates users"| node_user_records

click node_portal_pages "https://github.com/jctuiza/ssis_project/tree/main/frontend/src/pages"
click node_app_routes "https://github.com/jctuiza/ssis_project/blob/main/frontend/src/routes/AppRoutes.jsx"
click node_frontend_services "https://github.com/jctuiza/ssis_project/tree/main/frontend/src/services"
click node_api_client "https://github.com/jctuiza/ssis_project/blob/main/frontend/src/api/apiClient.js"
click node_api_routes "https://github.com/jctuiza/ssis_project/blob/main/backend/routes/api.php"
click node_api_controller "https://github.com/jctuiza/ssis_project/blob/main/backend/app/Http/Controllers/ApiController.php"
click node_admissions "https://github.com/jctuiza/ssis_project/blob/main/backend/app/Http/Controllers/AdmissionController.php"
click node_enrollment "https://github.com/jctuiza/ssis_project/blob/main/backend/app/Http/Controllers/EnrollmentController.php"
click node_enrollment_requests "https://github.com/jctuiza/ssis_project/blob/main/backend/app/Http/Controllers/EnrollmentRequestController.php"
click node_other_workflows "https://github.com/jctuiza/ssis_project/tree/main/backend/app/Http/Controllers"
click node_academic_enrollment "https://github.com/jctuiza/ssis_project/blob/main/backend/app/Support/AcademicEnrollment.php"
click node_student_standing "https://github.com/jctuiza/ssis_project/blob/main/backend/app/Support/StudentStanding.php"
click node_academic_assignments "https://github.com/jctuiza/ssis_project/blob/main/backend/app/Support/AcademicAssignments.php"
click node_business_rules "https://github.com/jctuiza/ssis_project/blob/main/backend/app/Support/Rules.php"
click node_resources "https://github.com/jctuiza/ssis_project/blob/main/backend/app/Support/Resources.php"
click node_user_records "https://github.com/jctuiza/ssis_project/tree/main/backend/app/Models"
click node_academic_records "https://github.com/jctuiza/ssis_project/tree/main/backend/app/Models"
click node_service_records "https://github.com/jctuiza/ssis_project/tree/main/backend/app/Models"

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_portal_pages,node_app_routes toneBlue
class node_frontend_services,node_api_client,node_mysql toneAmber
class node_api_routes,node_api_controller,node_admissions,node_enrollment,node_enrollment_requests,node_other_workflows toneMint
class node_academic_enrollment,node_student_standing,node_academic_assignments,node_business_rules,node_resources toneRose
class node_user_records,node_academic_records,node_service_records,node_student,node_staff toneIndigo
```

## Components

### Web portals

- [Student and staff pages](https://github.com/jctuiza/ssis_project/tree/main/frontend/src/pages): `frontend/src/pages`
- [Role-based routes](https://github.com/jctuiza/ssis_project/blob/main/frontend/src/routes/AppRoutes.jsx): `frontend/src/routes/AppRoutes.jsx`

### Frontend access

- [API services](https://github.com/jctuiza/ssis_project/tree/main/frontend/src/services): `frontend/src/services`
- [API client](https://github.com/jctuiza/ssis_project/blob/main/frontend/src/api/apiClient.js): `frontend/src/api/apiClient.js`

### API workflows

- [JSON API routes](https://github.com/jctuiza/ssis_project/blob/main/backend/routes/api.php): `backend/routes/api.php`
- [API controller base](https://github.com/jctuiza/ssis_project/blob/main/backend/app/Http/Controllers/ApiController.php): `backend/app/Http/Controllers/ApiController.php`
- [Admission workflows](https://github.com/jctuiza/ssis_project/blob/main/backend/app/Http/Controllers/AdmissionController.php): `backend/app/Http/Controllers/AdmissionController.php`
- [Enrollment workflows](https://github.com/jctuiza/ssis_project/blob/main/backend/app/Http/Controllers/EnrollmentController.php): `backend/app/Http/Controllers/EnrollmentController.php`
- [Enrollment requests](https://github.com/jctuiza/ssis_project/blob/main/backend/app/Http/Controllers/EnrollmentRequestController.php): `backend/app/Http/Controllers/EnrollmentRequestController.php`
- [Office workflows](https://github.com/jctuiza/ssis_project/tree/main/backend/app/Http/Controllers): `backend/app/Http/Controllers`

### Academic rules

- [Enrollment rules](https://github.com/jctuiza/ssis_project/blob/main/backend/app/Support/AcademicEnrollment.php): `backend/app/Support/AcademicEnrollment.php`
- [Student standing](https://github.com/jctuiza/ssis_project/blob/main/backend/app/Support/StudentStanding.php): `backend/app/Support/StudentStanding.php`
- [Academic assignments](https://github.com/jctuiza/ssis_project/blob/main/backend/app/Support/AcademicAssignments.php): `backend/app/Support/AcademicAssignments.php`
- [Shared rules](https://github.com/jctuiza/ssis_project/blob/main/backend/app/Support/Rules.php): `backend/app/Support/Rules.php`
- [API resources](https://github.com/jctuiza/ssis_project/blob/main/backend/app/Support/Resources.php): `backend/app/Support/Resources.php`

### System records

- [Users and profiles](https://github.com/jctuiza/ssis_project/tree/main/backend/app/Models): `backend/app/Models`
- [Academic records](https://github.com/jctuiza/ssis_project/tree/main/backend/app/Models): `backend/app/Models`
- [Service records](https://github.com/jctuiza/ssis_project/tree/main/backend/app/Models): `backend/app/Models`

### Other components

- **Student**
- **Office staff**
- **MySQL database**

## Connections

- Student → Role-based routes: uses portal (evidence: `README.md`)
- Office staff → Role-based routes: uses portal (evidence: `README.md`)
- Role-based routes → Student and staff pages: routes to (evidence: `frontend/src/routes/AppRoutes.jsx`)
- Student and staff pages → API services: requests data
- API services → API client: uses client (evidence: `frontend/src/services/auth/authService.js`)
- API client → JSON API routes: calls JSON API (evidence: `README.md`)
- JSON API routes → Admission workflows: dispatches (evidence: `backend/routes/api.php`)
- JSON API routes → Enrollment workflows: dispatches (evidence: `backend/routes/api.php`)
- JSON API routes → Enrollment requests: dispatches (evidence: `backend/routes/api.php`)
- JSON API routes → Office workflows: dispatches (evidence: `backend/routes/api.php`)
- Enrollment workflows → Enrollment rules: checks enrollment (evidence: `backend/app/Http/Controllers/EnrollmentController.php`)
- Enrollment requests → Enrollment rules: uses rules (evidence: `backend/app/Http/Controllers/EnrollmentRequestController.php`)
- Enrollment rules → Student standing: checks standing (evidence: `backend/app/Support/AcademicEnrollment.php`)
- Enrollment rules → Academic assignments: uses assignments (evidence: `backend/app/Support/AcademicEnrollment.php`)
- Enrollment rules → Shared rules: reads rules (evidence: `backend/app/Support/AcademicEnrollment.php`)
- Enrollment workflows → Student standing: computes eligibility (evidence: `backend/app/Http/Controllers/EnrollmentController.php`)
- Student standing → Shared rules: reads term rules (evidence: `backend/app/Support/StudentStanding.php`)
- Student standing → API resources: formats grades (evidence: `backend/app/Support/StudentStanding.php`)
- Enrollment rules → Academic records: updates enrollment records (evidence: `backend/app/Support/AcademicEnrollment.php`)
- Enrollment rules → Service records: creates clearances (evidence: `backend/app/Support/AcademicEnrollment.php`)
- Shared rules → Academic records: reads academic data (evidence: `backend/app/Support/Rules.php`)
- Shared rules → MySQL database: persists records
- API controller base → Users and profiles: authenticates users (evidence: `backend/app/Http/Controllers/ApiController.php`)
