# ashokkumarboya93/coskillhub architecture

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

- Interactive diagram: https://gitdiagram.com/ashokkumarboya93/coskillhub
- Repository: https://github.com/ashokkumarboya93/coskillhub

## Overview

CO SKILL HUB is a Salesforce Experience Cloud learning portal. Learners browse and enroll from Home, inspect course modules, study lessons, mark progress, submit quizzes, and return to My Learning or Profile to review results. LWC pages use Salesforce GraphQL/UI Record API for learner data and mutations; a record-triggered Flow grades quiz attempts and updates learning progress. Experience Cloud metadata defines the portal pages, while shared navigation and enrollment deduplication support the learner-facing components. Connections reflect the README and shown source excerpts; unsampled component internals are not assumed.

Main entry points: [`force-app/main/default/digitalExperiences/site/CO_SKILL_HUB1`](https://github.com/ashokkumarboya93/coskillhub/tree/main/force-app/main/default/digitalExperiences/site/CO_SKILL_HUB1) (Experience pages), [`force-app/main/default/lwc/coSkillHubEnrollmentUtils/coSkillHubEnrollmentUtils.js`](https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubEnrollmentUtils/coSkillHubEnrollmentUtils.js) (Enrollment dedupe), [`force-app/main/default/lwc/coSkillHubHome/coSkillHubHome.js`](https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubHome/coSkillHubHome.js) (Course catalog), [`force-app/main/default/lwc/coSkillHubCourseDetail/coSkillHubCourseDetail.js`](https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubCourseDetail/coSkillHubCourseDetail.js) (Course details)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Portal experience"]
  node_site["Experience pages"]
end

subgraph group_learning["Learning journey"]
  node_home["Course catalog<br/>[coSkillHubHome.js]"]
  node_detail["Course details"]
  node_player["Module player"]
  node_mylearning["My Learning"]
  node_profile["Learner profile"]
  node_portal["Combined portal"]
end

subgraph group_platform["Salesforce platform"]
  node_flow["Quiz grading"]
  node_api["Salesforce data APIs"]
  node_records[("LMS learner records")]
end

subgraph group_shared["Shared UI"]
  node_enrollmentutils["Enrollment dedupe"]
  node_navbar["Learner navigation"]
  node_footer["Portal footer"]
end

node_learner(("Learner"))
node_youtube["YouTube video"]

node_learner -->|"browses"| node_home
node_learner -->|"selects course"| node_detail
node_learner -->|"studies lesson"| node_player
node_learner -->|"reviews progress"| node_mylearning
node_learner -->|"reviews history"| node_profile
node_site -->|"hosts page"| node_home
node_site -->|"hosts page"| node_detail
node_site -->|"hosts page"| node_player
node_site -->|"hosts page"| node_mylearning
node_site -->|"hosts page"| node_profile
node_home -->|"queries and enrolls"| node_api
node_detail -->|"queries and edits notes"| node_api
node_player -->|"loads and updates learning"| node_api
node_mylearning -->|"queries courses"| node_api
node_profile -->|"queries history"| node_api
node_portal -->|"queries and updates"| node_api
node_api -->|"reads and writes"| node_records
node_home -->|"deduplicates"| node_enrollmentutils
node_detail -->|"deduplicates"| node_enrollmentutils
node_mylearning -->|"deduplicates"| node_enrollmentutils
node_profile -->|"deduplicates"| node_enrollmentutils
node_portal -->|"deduplicates"| node_enrollmentutils
node_flow -->|"grades and updates"| node_records
node_player -->|"embeds lesson video"| node_youtube

click node_site "https://github.com/ashokkumarboya93/coskillhub/tree/main/force-app/main/default/digitalExperiences/site/CO_SKILL_HUB1"
click node_home "https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubHome/coSkillHubHome.js"
click node_detail "https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubCourseDetail/coSkillHubCourseDetail.js"
click node_player "https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubModulePlayer/coSkillHubModulePlayer.js"
click node_mylearning "https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubMyLearning/coSkillHubMyLearning.js"
click node_profile "https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubProfile/coSkillHubProfile.js"
click node_portal "https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubPortal/coSkillHubPortal.js"
click node_enrollmentutils "https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubEnrollmentUtils/coSkillHubEnrollmentUtils.js"
click node_navbar "https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubNavbar/coSkillHubNavbar.js"
click node_footer "https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubFooter/coSkillHubFooter.js"
click node_flow "https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/flows/Grade_LMS_Quiz_Attempt.flow-meta.xml"

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_site toneBlue
class node_home,node_detail,node_player,node_mylearning,node_profile,node_portal toneAmber
class node_flow,node_api,node_records toneMint
class node_enrollmentutils,node_navbar,node_footer toneRose
class node_learner,node_youtube toneIndigo
```

## Components

### Portal experience

- [Experience pages](https://github.com/ashokkumarboya93/coskillhub/tree/main/force-app/main/default/digitalExperiences/site/CO_SKILL_HUB1): `force-app/main/default/digitalExperiences/site/CO_SKILL_HUB1`

### Learning journey

- [Course catalog](https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubHome/coSkillHubHome.js): `force-app/main/default/lwc/coSkillHubHome/coSkillHubHome.js`
- [Course details](https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubCourseDetail/coSkillHubCourseDetail.js): `force-app/main/default/lwc/coSkillHubCourseDetail/coSkillHubCourseDetail.js`
- [Module player](https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubModulePlayer/coSkillHubModulePlayer.js): `force-app/main/default/lwc/coSkillHubModulePlayer/coSkillHubModulePlayer.js`
- [My Learning](https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubMyLearning/coSkillHubMyLearning.js): `force-app/main/default/lwc/coSkillHubMyLearning/coSkillHubMyLearning.js`
- [Learner profile](https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubProfile/coSkillHubProfile.js): `force-app/main/default/lwc/coSkillHubProfile/coSkillHubProfile.js`
- [Combined portal](https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubPortal/coSkillHubPortal.js): `force-app/main/default/lwc/coSkillHubPortal/coSkillHubPortal.js`

### Salesforce platform

- [Quiz grading](https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/flows/Grade_LMS_Quiz_Attempt.flow-meta.xml): `force-app/main/default/flows/Grade_LMS_Quiz_Attempt.flow-meta.xml`
- **Salesforce data APIs**
- **LMS learner records**

### Shared UI

- [Enrollment dedupe](https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubEnrollmentUtils/coSkillHubEnrollmentUtils.js): `force-app/main/default/lwc/coSkillHubEnrollmentUtils/coSkillHubEnrollmentUtils.js`
- [Learner navigation](https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubNavbar/coSkillHubNavbar.js): `force-app/main/default/lwc/coSkillHubNavbar/coSkillHubNavbar.js`
- [Portal footer](https://github.com/ashokkumarboya93/coskillhub/blob/main/force-app/main/default/lwc/coSkillHubFooter/coSkillHubFooter.js): `force-app/main/default/lwc/coSkillHubFooter/coSkillHubFooter.js`

### Other components

- **Learner**
- **YouTube video**

## Connections

- Learner → Course catalog: browses (evidence: `README.md`)
- Learner → Course details: selects course (evidence: `README.md`)
- Learner → Module player: studies lesson (evidence: `README.md`)
- Learner → My Learning: reviews progress (evidence: `README.md`)
- Learner → Learner profile: reviews history (evidence: `README.md`)
- Experience pages → Course catalog: hosts page (evidence: `README.md`)
- Experience pages → Course details: hosts page (evidence: `README.md`)
- Experience pages → Module player: hosts page (evidence: `README.md`)
- Experience pages → My Learning: hosts page (evidence: `README.md`)
- Experience pages → Learner profile: hosts page (evidence: `README.md`)
- Course catalog → Salesforce data APIs: queries and enrolls (evidence: `force-app/main/default/lwc/coSkillHubHome/coSkillHubHome.js`)
- Course details → Salesforce data APIs: queries and edits notes (evidence: `force-app/main/default/lwc/coSkillHubCourseDetail/coSkillHubCourseDetail.js`)
- Module player → Salesforce data APIs: loads and updates learning (evidence: `force-app/main/default/lwc/coSkillHubModulePlayer/coSkillHubModulePlayer.js`)
- My Learning → Salesforce data APIs: queries courses (evidence: `force-app/main/default/lwc/coSkillHubMyLearning/coSkillHubMyLearning.js`)
- Learner profile → Salesforce data APIs: queries history (evidence: `force-app/main/default/lwc/coSkillHubProfile/coSkillHubProfile.js`)
- Combined portal → Salesforce data APIs: queries and updates (evidence: `force-app/main/default/lwc/coSkillHubPortal/coSkillHubPortal.js`)
- Salesforce data APIs → LMS learner records: reads and writes (evidence: `README.md`)
- Course catalog → Enrollment dedupe: deduplicates (evidence: `force-app/main/default/lwc/coSkillHubHome/coSkillHubHome.js`)
- Course details → Enrollment dedupe: deduplicates (evidence: `force-app/main/default/lwc/coSkillHubCourseDetail/coSkillHubCourseDetail.js`)
- My Learning → Enrollment dedupe: deduplicates (evidence: `force-app/main/default/lwc/coSkillHubMyLearning/coSkillHubMyLearning.js`)
- Learner profile → Enrollment dedupe: deduplicates (evidence: `force-app/main/default/lwc/coSkillHubProfile/coSkillHubProfile.js`)
- Combined portal → Enrollment dedupe: deduplicates (evidence: `force-app/main/default/lwc/coSkillHubPortal/coSkillHubPortal.js`)
- Quiz grading → LMS learner records: grades and updates (evidence: `README.md`)
- Module player → YouTube video: embeds lesson video (evidence: `force-app/main/default/lwc/coSkillHubModulePlayer/coSkillHubModulePlayer.js`)
