# seunoseya44-tech/boorite-learning-lms architecture

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

- Interactive diagram: https://gitdiagram.com/seunoseya44-tech/boorite-learning-lms
- Repository: https://github.com/seunoseya44-tech/boorite-learning-lms

## Overview

Boorite Learning is a professional-skills LMS combining course discovery, learning, assessment, certificates, and commerce. The principal student journey is to find a course, enrol, complete lessons and assessments, then receive a verifiable certificate; paid access can be purchased through checkout. The graph includes the major documented capabilities, including programmes, books, events, administration, and CMS. Source excerpts confirm key catalogue, lesson-progress, and payment-fulfilment responsibilities; some subsystem links rely on the README because their implementations were not sampled.

Main entry points: [`app/Http/Controllers/Admin/CourseController.php`](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Http/Controllers/Admin/CourseController.php) (Administration), [`app/Services/OrderService.php`](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Services/OrderService.php) (Order fulfilment), [`app/Http/Controllers/CourseController.php`](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Http/Controllers/CourseController.php) (Course catalogue), [`app/Http/Controllers/LearnController.php`](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Http/Controllers/LearnController.php) (Lesson player)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_learning["Learning"]
  node_catalogue["Course catalogue"]
  node_course["Course &amp; curriculum<br/>[Course.php]"]
  node_enrol["Enrolment"]
  node_programme["Programmes<br/>[Programme.php]"]
  node_lesson["Lesson player"]
  node_progress["Learning progress"]
end

subgraph group_assessment["Assessment &amp; credentials"]
  node_assessment["Quizzes<br/>[QuizService.php]"]
  node_completion["Course completion"]
  node_certificate["Certificates"]
  node_issuer["Certificate listener"]
  node_verify["Public verification"]
end

subgraph group_commerce["Commerce"]
  node_cart["Cart &amp; checkout"]
  node_orders["Order fulfilment<br/>[OrderService.php]"]
  node_gateway["Payment gateway<br/>[PaymentGateway.php]"]
  node_paystack["Paystack"]
  node_books["Books &amp; resources<br/>[Book.php]"]
end

subgraph group_platform["Platform &amp; content"]
  node_events["Events<br/>[Event.php]"]
  node_cms["CMS &amp; site content<br/>[Page.php]"]
  node_identity["Accounts &amp; access<br/>[User.php]"]
end

subgraph group_operations["Administration"]
  node_admin["Administration"]
  node_database[("Application database<br/>[database.php]")]
end

node_student(("Student"))
node_employer(("Employer"))

node_student -->|"browses"| node_catalogue
node_catalogue -->|"queries"| node_course
node_catalogue -->|"checks enrolment"| node_enrol
node_student -->|"studies"| node_lesson
node_lesson -->|"checks access"| node_enrol
node_lesson -->|"updates progress"| node_progress
node_student -->|"takes quiz"| node_assessment
node_assessment -->|"checks completion"| node_progress
node_progress -->|"signals completion"| node_completion
node_completion -->|"dispatches"| node_issuer
node_issuer -.->|"issues"| node_certificate
node_student -->|"checks out"| node_cart
node_cart -->|"creates order"| node_orders
node_orders -->|"grants access"| node_enrol
node_orders -->|"verifies payment"| node_gateway
node_gateway -->|"implemented by"| node_paystack
node_paystack -.->|"confirms payment"| node_orders
node_student -->|"buys bundle"| node_programme
node_student -->|"buys resources"| node_books
node_student -->|"finds events"| node_events
node_employer -->|"verifies certificate"| node_verify
node_verify -.->|"checks record"| node_certificate
node_admin -->|"manages courses"| node_course
node_admin -->|"manages events"| node_events
node_admin -.->|"manages pages"| node_cms
node_admin -.->|"manages users"| node_identity

click node_catalogue "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Http/Controllers/CourseController.php"
click node_course "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Models/Course.php"
click node_enrol "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Services/EnrolmentService.php"
click node_programme "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Models/Programme.php"
click node_lesson "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Http/Controllers/LearnController.php"
click node_progress "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Services/ProgressService.php"
click node_assessment "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Services/QuizService.php"
click node_completion "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Events/CourseCompleted.php"
click node_certificate "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Services/CertificateService.php"
click node_issuer "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Listeners/IssueCertificate.php"
click node_verify "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Http/Controllers/CertificateController.php"
click node_cart "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Http/Controllers/CheckoutController.php"
click node_orders "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Services/OrderService.php"
click node_gateway "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Payments/PaymentGateway.php"
click node_paystack "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Payments/PaystackGateway.php"
click node_books "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Models/Book.php"
click node_events "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Models/Event.php"
click node_cms "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Models/Page.php"
click node_identity "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Models/User.php"
click node_admin "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Http/Controllers/Admin/CourseController.php"
click node_database "https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/config/database.php"

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_catalogue,node_course,node_enrol,node_programme,node_lesson,node_progress toneBlue
class node_assessment,node_completion,node_certificate,node_issuer,node_verify toneAmber
class node_cart,node_orders,node_gateway,node_paystack,node_books toneMint
class node_events,node_cms,node_identity toneRose
class node_admin,node_database,node_student,node_employer toneIndigo
```

## Components

### Learning

- [Course catalogue](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Http/Controllers/CourseController.php): `app/Http/Controllers/CourseController.php`
- [Course & curriculum](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Models/Course.php): `app/Models/Course.php`
- [Enrolment](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Services/EnrolmentService.php): `app/Services/EnrolmentService.php`
- [Programmes](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Models/Programme.php): `app/Models/Programme.php`
- [Lesson player](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Http/Controllers/LearnController.php): `app/Http/Controllers/LearnController.php`
- [Learning progress](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Services/ProgressService.php): `app/Services/ProgressService.php`

### Assessment & credentials

- [Quizzes](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Services/QuizService.php): `app/Services/QuizService.php`
- [Course completion](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Events/CourseCompleted.php): `app/Events/CourseCompleted.php`
- [Certificates](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Services/CertificateService.php): `app/Services/CertificateService.php`
- [Certificate listener](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Listeners/IssueCertificate.php): `app/Listeners/IssueCertificate.php`
- [Public verification](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Http/Controllers/CertificateController.php): `app/Http/Controllers/CertificateController.php`

### Commerce

- [Cart & checkout](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Http/Controllers/CheckoutController.php): `app/Http/Controllers/CheckoutController.php`
- [Order fulfilment](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Services/OrderService.php): `app/Services/OrderService.php`
- [Payment gateway](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Payments/PaymentGateway.php): `app/Payments/PaymentGateway.php`
- [Paystack](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Payments/PaystackGateway.php): `app/Payments/PaystackGateway.php`
- [Books & resources](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Models/Book.php): `app/Models/Book.php`

### Platform & content

- [Events](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Models/Event.php): `app/Models/Event.php`
- [CMS & site content](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Models/Page.php): `app/Models/Page.php`
- [Accounts & access](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Models/User.php): `app/Models/User.php`

### Administration

- [Administration](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/app/Http/Controllers/Admin/CourseController.php): `app/Http/Controllers/Admin/CourseController.php`
- [Application database](https://github.com/seunoseya44-tech/boorite-learning-lms/blob/main/config/database.php): `config/database.php`

### Other components

- **Student**
- **Employer**

## Connections

- Student → Course catalogue: browses
- Course catalogue → Course & curriculum: queries (evidence: `app/Http/Controllers/CourseController.php`)
- Course catalogue → Enrolment: checks enrolment (evidence: `app/Http/Controllers/CourseController.php`)
- Student → Lesson player: studies
- Lesson player → Enrolment: checks access (evidence: `app/Http/Controllers/LearnController.php`)
- Lesson player → Learning progress: updates progress (evidence: `app/Http/Controllers/LearnController.php`)
- Student → Quizzes: takes quiz
- Quizzes → Learning progress: checks completion (evidence: `app/Services/QuizService.php`)
- Learning progress → Course completion: signals completion (evidence: `app/Services/ProgressService.php`)
- Course completion → Certificate listener: dispatches (evidence: `app/Providers/AppServiceProvider.php`)
- Certificate listener → Certificates: issues
- Student → Cart & checkout: checks out
- Cart & checkout → Order fulfilment: creates order
- Order fulfilment → Enrolment: grants access (evidence: `app/Services/OrderService.php`)
- Order fulfilment → Payment gateway: verifies payment (evidence: `app/Services/OrderService.php`)
- Payment gateway → Paystack: implemented by (evidence: `app/Providers/AppServiceProvider.php`)
- Paystack → Order fulfilment: confirms payment
- Student → Programmes: buys bundle
- Student → Books & resources: buys resources
- Student → Events: finds events
- Employer → Public verification: verifies certificate
- Public verification → Certificates: checks record
- Administration → Course & curriculum: manages courses (evidence: `app/Http/Controllers/Admin/CourseController.php`)
- Administration → Events: manages events
- Administration → CMS & site content: manages pages
- Administration → Accounts & access: manages users (evidence: `app/Http/Controllers/Admin/CourseController.php`)
