# yaching04/coachtech-certify-lms architecture

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

- Interactive diagram: https://gitdiagram.com/yaching04/coachtech-certify-lms
- Repository: https://github.com/yaching04/coachtech-certify-lms

## Overview

Certify LMS is an invitation-only, multi-certification learning platform. Its central learner journey is enrollment in a certification, progressing through published materials and practice, taking mock exams, and receiving a certificate; coaching meetings, chat, and progress tracking support that journey. The graph also includes staff management and invitation onboarding. The source excerpts chiefly establish enrollment, content hierarchy, and authorization; other feature relationships are documented in the README and are shown only where that documentation supports them.

Main entry points: [`app/Http/Controllers/EnrollmentController.php`](https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Http/Controllers/EnrollmentController.php) (HTTP controllers), [`app/Models/Section.php`](https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/Section.php) (Section materials), [`app/Models/Certification.php`](https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/Certification.php) (Certification catalog), [`app/Models/Enrollment.php`](https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/Enrollment.php) (Enrollment lifecycle)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Access &amp; enrollment"]
  node_onboarding["Invitation onboarding"]
  node_enrollment[("Enrollment lifecycle<br/>[Enrollment.php]")]
end

subgraph group_learning["Learning &amp; practice"]
  node_curriculum[("Course content hierarchy<br/>[Part.php]")]
  node_section[("Section materials<br/>[Section.php]")]
  node_progress[("Progress &amp; study time")]
  node_practice["Practice &amp; weak drills"]
end

subgraph group_assessment["Exams &amp; completion"]
  node_mockexams[("Mock exam sessions")]
  node_certificate[("Certificate issuance<br/>[Certificate.php]")]
end

subgraph group_coaching["Coaching support"]
  node_meeting[("Mentoring meetings<br/>[Meeting.php]")]
  node_availability[("Coach availability")]
  node_chat[("Learner-coach chat<br/>[ChatRoom.php]")]
end

subgraph group_operations["Staff operations"]
  node_certification[("Certification catalog<br/>[Certification.php]")]
  node_staff["User &amp; certification management<br/>[UserController.php]"]
  node_dashboard["Role dashboards"]
end

node_admins(("Admin / coach"))
node_students(("Student"))
node_web["Web application"]
node_requests["HTTP controllers"]
node_database[("MySQL application data")]

node_students -->|"uses"| node_web
node_admins -->|"uses"| node_web
node_web -.->|"routes requests"| node_requests
node_requests -->|"creates enrollment"| node_enrollment
node_requests -->|"onboards invitee"| node_onboarding
node_enrollment -->|"references"| node_certification
node_certification -->|"organizes content"| node_curriculum
node_curriculum -->|"contains sections"| node_section
node_section -.->|"tracks completion"| node_progress
node_students -->|"studies materials"| node_section
node_students -->|"answers exercises"| node_practice
node_students -->|"takes exams"| node_mockexams
node_students -->|"books meeting"| node_meeting
node_availability -.->|"sets availability"| node_meeting
node_students -->|"chats with coach"| node_chat
node_admins -->|"manages users"| node_staff
node_staff -->|"manages catalog"| node_certification
node_admins -->|"views overview"| node_dashboard
node_students -->|"views progress"| node_dashboard
node_students -->|"receives certificate"| node_certificate
node_requests -.->|"reads and writes"| node_database

click node_onboarding "https://github.com/yaching04/coachtech-certify-lms/tree/main/app/UseCases/Auth"
click node_enrollment "https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/Enrollment.php"
click node_certification "https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/Certification.php"
click node_curriculum "https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/Part.php"
click node_section "https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/Section.php"
click node_progress "https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/SectionProgress.php"
click node_practice "https://github.com/yaching04/coachtech-certify-lms/tree/main/app/UseCases/SectionQuestionAnswer"
click node_mockexams "https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/MockExamSession.php"
click node_certificate "https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/Certificate.php"
click node_meeting "https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/Meeting.php"
click node_availability "https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/CoachAvailability.php"
click node_chat "https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/ChatRoom.php"
click node_staff "https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Http/Controllers/UserController.php"
click node_dashboard "https://github.com/yaching04/coachtech-certify-lms/tree/main/app/UseCases/Dashboard"
click node_requests "https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Http/Controllers/EnrollmentController.php"
click node_database "https://github.com/yaching04/coachtech-certify-lms/tree/main/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_onboarding,node_enrollment toneBlue
class node_curriculum,node_section,node_progress,node_practice,node_database toneAmber
class node_mockexams,node_certificate toneMint
class node_meeting,node_availability,node_chat toneRose
class node_certification,node_staff,node_dashboard,node_admins,node_students,node_web toneIndigo
class node_requests toneTeal
```

## Components

### Access & enrollment

- [Invitation onboarding](https://github.com/yaching04/coachtech-certify-lms/tree/main/app/UseCases/Auth): `app/UseCases/Auth`
- [Enrollment lifecycle](https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/Enrollment.php): `app/Models/Enrollment.php`

### Learning & practice

- [Course content hierarchy](https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/Part.php): `app/Models/Part.php`
- [Section materials](https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/Section.php): `app/Models/Section.php`
- [Progress & study time](https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/SectionProgress.php): `app/Models/SectionProgress.php`
- [Practice & weak drills](https://github.com/yaching04/coachtech-certify-lms/tree/main/app/UseCases/SectionQuestionAnswer): `app/UseCases/SectionQuestionAnswer`

### Exams & completion

- [Mock exam sessions](https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/MockExamSession.php): `app/Models/MockExamSession.php`
- [Certificate issuance](https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/Certificate.php): `app/Models/Certificate.php`

### Coaching support

- [Mentoring meetings](https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/Meeting.php): `app/Models/Meeting.php`
- [Coach availability](https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/CoachAvailability.php): `app/Models/CoachAvailability.php`
- [Learner-coach chat](https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/ChatRoom.php): `app/Models/ChatRoom.php`

### Staff operations

- [Certification catalog](https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Models/Certification.php): `app/Models/Certification.php`
- [User & certification management](https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Http/Controllers/UserController.php): `app/Http/Controllers/UserController.php`
- [Role dashboards](https://github.com/yaching04/coachtech-certify-lms/tree/main/app/UseCases/Dashboard): `app/UseCases/Dashboard`

### Other components

- **Admin / coach**
- **Student**
- **Web application**
- [HTTP controllers](https://github.com/yaching04/coachtech-certify-lms/blob/main/app/Http/Controllers/EnrollmentController.php): `app/Http/Controllers/EnrollmentController.php`
- [MySQL application data](https://github.com/yaching04/coachtech-certify-lms/tree/main/app/Models): `app/Models`

## Connections

- Student → Web application: uses (evidence: `README.md`)
- Admin / coach → Web application: uses (evidence: `README.md`)
- Web application → HTTP controllers: routes requests
- HTTP controllers → Enrollment lifecycle: creates enrollment (evidence: `app/Http/Controllers/EnrollmentController.php`)
- HTTP controllers → Invitation onboarding: onboards invitee
- Enrollment lifecycle → Certification catalog: references (evidence: `app/Models/Enrollment.php`)
- Certification catalog → Course content hierarchy: organizes content (evidence: `app/Models/Certification.php`)
- Course content hierarchy → Section materials: contains sections (evidence: `app/Models/Chapter.php`)
- Section materials → Progress & study time: tracks completion (evidence: `app/Models/Section.php`)
- Student → Section materials: studies materials (evidence: `README.md`)
- Student → Practice & weak drills: answers exercises (evidence: `README.md`)
- Student → Mock exam sessions: takes exams (evidence: `README.md`)
- Student → Mentoring meetings: books meeting (evidence: `README.md`)
- Coach availability → Mentoring meetings: sets availability
- Student → Learner-coach chat: chats with coach (evidence: `README.md`)
- Admin / coach → User & certification management: manages users (evidence: `README.md`)
- User & certification management → Certification catalog: manages catalog (evidence: `README.md`)
- Admin / coach → Role dashboards: views overview (evidence: `README.md`)
- Student → Role dashboards: views progress (evidence: `README.md`)
- Student → Certificate issuance: receives certificate (evidence: `README.md`)
- HTTP controllers → MySQL application data: reads and writes (evidence: `app/Http/Controllers/EnrollmentController.php`)
