# mukeshroo/ne-app architecture

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

- Interactive diagram: https://gitdiagram.com/mukeshroo/ne-app
- Repository: https://github.com/mukeshroo/ne-app

## Overview

SARTHAK is a React prototype for cooperative-sector skills, training, credentialing, and employment. The principal journey spans PACS candidate registration, institute training and assessment, a trainee skill passport and job discovery, and employer recruitment; institute and national-admin dashboards provide operational oversight. Shared React context holds the app’s in-memory state, seeded by mock data. The shown code establishes UI and role navigation rather than a backend; connections reflect imports, rendered components, or documented setup, and unsampled internals are not inferred.

Main entry points: [`src/App.tsx`](https://github.com/mukeshroo/ne-app/blob/main/src/App.tsx) (Role-based application), [`src/context/AppContext.tsx`](https://github.com/mukeshroo/ne-app/blob/main/src/context/AppContext.tsx) (Shared app state), [`src/main.tsx`](https://github.com/mukeshroo/ne-app/blob/main/src/main.tsx) (React entry), [`src/components/Header.tsx`](https://github.com/mukeshroo/ne-app/blob/main/src/components/Header.tsx) (Role and language controls)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application Shell"]
  node_entry["React entry<br/>[main.tsx]"]
  node_app["Role-based application<br/>[App.tsx]"]
  node_header["Role and language controls<br/>[Header.tsx]"]
  node_guide["Demo guide<br/>[SihDemoGuide.tsx]"]
  node_voice["Voice assistant"]
end

subgraph group_training["Training &amp; Credentials"]
  node_trainee["Trainee dashboard"]
  node_attendance["Attendance"]
  node_assessment["Assessment"]
  node_lms["Learning modules"]
  node_passport["Skill passport"]
  node_verification["Public verification"]
end

subgraph group_employment["Skills &amp; Employment"]
  node_skillgap["AI skill-gap engine"]
  node_jobs["Job recommendations"]
  node_employer["Employer recruitment"]
  node_feedback["Employment feedback"]
end

subgraph group_operations["Cooperative Operations"]
  node_pacs["PACS operator"]
  node_institute["Institute dashboard"]
  node_ncct["NCCT dashboard<br/>[NcctDashboard.tsx]"]
end

subgraph group_shared["Shared State"]
  node_context["Shared app state<br/>[AppContext.tsx]"]
  node_mockdata["Seeded domain data<br/>[mockData.ts]"]
end

node_user(("Application users"))

node_user -->|"opens app"| node_entry
node_entry -->|"renders"| node_app
node_entry -->|"provides state"| node_context
node_app -->|"reads role"| node_context
node_app -->|"renders"| node_header
node_app -->|"renders"| node_guide
node_app -->|"renders"| node_voice
node_app -->|"routes trainee"| node_trainee
node_app -->|"renders"| node_attendance
node_app -->|"renders"| node_assessment
node_app -->|"renders"| node_lms
node_app -->|"renders"| node_skillgap
node_app -->|"renders"| node_jobs
node_app -->|"renders"| node_passport
node_app -->|"renders"| node_verification
node_app -->|"routes institute"| node_institute
node_app -->|"routes employer"| node_employer
node_app -->|"renders"| node_feedback
node_app -->|"routes NCCT"| node_ncct
node_app -->|"routes PACS"| node_pacs
node_header -->|"updates controls"| node_context
node_guide -->|"reads demo state"| node_context
node_voice -->|"reads language"| node_context
node_trainee -->|"reads trainee state"| node_context
node_attendance -->|"uses attendance state"| node_context
node_assessment -->|"uses assessment state"| node_context
node_lms -->|"updates learning state"| node_context
node_passport -->|"reads passport state"| node_context
node_verification -->|"reads verification state"| node_context
node_skillgap -->|"reads trainee state"| node_context
node_jobs -->|"updates job state"| node_context
node_employer -->|"reads candidate state"| node_context
node_feedback -->|"submits feedback"| node_context
node_pacs -->|"updates operator state"| node_context
node_institute -->|"uses institute state"| node_context
node_ncct -->|"reads analytics state"| node_context
node_context -->|"initializes state"| node_mockdata

click node_entry "https://github.com/mukeshroo/ne-app/blob/main/src/main.tsx"
click node_app "https://github.com/mukeshroo/ne-app/blob/main/src/App.tsx"
click node_header "https://github.com/mukeshroo/ne-app/blob/main/src/components/Header.tsx"
click node_guide "https://github.com/mukeshroo/ne-app/blob/main/src/components/SihDemoGuide.tsx"
click node_voice "https://github.com/mukeshroo/ne-app/blob/main/src/components/VoiceAssistantModal.tsx"
click node_trainee "https://github.com/mukeshroo/ne-app/blob/main/src/components/trainee/TraineeDashboard.tsx"
click node_attendance "https://github.com/mukeshroo/ne-app/blob/main/src/components/trainee/AttendanceModule.tsx"
click node_assessment "https://github.com/mukeshroo/ne-app/blob/main/src/components/trainee/AssessmentModule.tsx"
click node_lms "https://github.com/mukeshroo/ne-app/blob/main/src/components/trainee/LmsLearningModule.tsx"
click node_passport "https://github.com/mukeshroo/ne-app/blob/main/src/components/trainee/SkillPassportModal.tsx"
click node_verification "https://github.com/mukeshroo/ne-app/blob/main/src/components/trainee/PublicVerificationModal.tsx"
click node_skillgap "https://github.com/mukeshroo/ne-app/blob/main/src/components/trainee/AiSkillGapEngine.tsx"
click node_jobs "https://github.com/mukeshroo/ne-app/blob/main/src/components/trainee/JobRecommendations.tsx"
click node_employer "https://github.com/mukeshroo/ne-app/blob/main/src/components/employer/EmployerDashboard.tsx"
click node_feedback "https://github.com/mukeshroo/ne-app/blob/main/src/components/feedback/EmploymentFeedbackModule.tsx"
click node_pacs "https://github.com/mukeshroo/ne-app/blob/main/src/components/pacs/PacsOperatorView.tsx"
click node_institute "https://github.com/mukeshroo/ne-app/blob/main/src/components/admin/InstituteDashboard.tsx"
click node_ncct "https://github.com/mukeshroo/ne-app/blob/main/src/components/ncct/NcctDashboard.tsx"
click node_context "https://github.com/mukeshroo/ne-app/blob/main/src/context/AppContext.tsx"
click node_mockdata "https://github.com/mukeshroo/ne-app/blob/main/src/data/mockData.ts"

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_entry,node_app,node_header,node_guide,node_voice,node_user toneBlue
class node_trainee,node_attendance,node_assessment,node_lms,node_passport,node_verification toneAmber
class node_skillgap,node_jobs,node_employer,node_feedback toneMint
class node_pacs,node_institute,node_ncct toneRose
class node_context,node_mockdata toneIndigo
```

## Components

### Application Shell

- [React entry](https://github.com/mukeshroo/ne-app/blob/main/src/main.tsx): `src/main.tsx`
- [Role-based application](https://github.com/mukeshroo/ne-app/blob/main/src/App.tsx): `src/App.tsx`
- [Role and language controls](https://github.com/mukeshroo/ne-app/blob/main/src/components/Header.tsx): `src/components/Header.tsx`
- [Demo guide](https://github.com/mukeshroo/ne-app/blob/main/src/components/SihDemoGuide.tsx): `src/components/SihDemoGuide.tsx`
- [Voice assistant](https://github.com/mukeshroo/ne-app/blob/main/src/components/VoiceAssistantModal.tsx): `src/components/VoiceAssistantModal.tsx`

### Training & Credentials

- [Trainee dashboard](https://github.com/mukeshroo/ne-app/blob/main/src/components/trainee/TraineeDashboard.tsx): `src/components/trainee/TraineeDashboard.tsx`
- [Attendance](https://github.com/mukeshroo/ne-app/blob/main/src/components/trainee/AttendanceModule.tsx): `src/components/trainee/AttendanceModule.tsx`
- [Assessment](https://github.com/mukeshroo/ne-app/blob/main/src/components/trainee/AssessmentModule.tsx): `src/components/trainee/AssessmentModule.tsx`
- [Learning modules](https://github.com/mukeshroo/ne-app/blob/main/src/components/trainee/LmsLearningModule.tsx): `src/components/trainee/LmsLearningModule.tsx`
- [Skill passport](https://github.com/mukeshroo/ne-app/blob/main/src/components/trainee/SkillPassportModal.tsx): `src/components/trainee/SkillPassportModal.tsx`
- [Public verification](https://github.com/mukeshroo/ne-app/blob/main/src/components/trainee/PublicVerificationModal.tsx): `src/components/trainee/PublicVerificationModal.tsx`

### Skills & Employment

- [AI skill-gap engine](https://github.com/mukeshroo/ne-app/blob/main/src/components/trainee/AiSkillGapEngine.tsx): `src/components/trainee/AiSkillGapEngine.tsx`
- [Job recommendations](https://github.com/mukeshroo/ne-app/blob/main/src/components/trainee/JobRecommendations.tsx): `src/components/trainee/JobRecommendations.tsx`
- [Employer recruitment](https://github.com/mukeshroo/ne-app/blob/main/src/components/employer/EmployerDashboard.tsx): `src/components/employer/EmployerDashboard.tsx`
- [Employment feedback](https://github.com/mukeshroo/ne-app/blob/main/src/components/feedback/EmploymentFeedbackModule.tsx): `src/components/feedback/EmploymentFeedbackModule.tsx`

### Cooperative Operations

- [PACS operator](https://github.com/mukeshroo/ne-app/blob/main/src/components/pacs/PacsOperatorView.tsx): `src/components/pacs/PacsOperatorView.tsx`
- [Institute dashboard](https://github.com/mukeshroo/ne-app/blob/main/src/components/admin/InstituteDashboard.tsx): `src/components/admin/InstituteDashboard.tsx`
- [NCCT dashboard](https://github.com/mukeshroo/ne-app/blob/main/src/components/ncct/NcctDashboard.tsx): `src/components/ncct/NcctDashboard.tsx`

### Shared State

- [Shared app state](https://github.com/mukeshroo/ne-app/blob/main/src/context/AppContext.tsx): `src/context/AppContext.tsx`
- [Seeded domain data](https://github.com/mukeshroo/ne-app/blob/main/src/data/mockData.ts): `src/data/mockData.ts`

### Other components

- **Application users**

## Connections

- Application users → React entry: opens app (evidence: `src/main.tsx`)
- React entry → Role-based application: renders (evidence: `src/main.tsx`)
- React entry → Shared app state: provides state (evidence: `src/main.tsx`)
- Role-based application → Shared app state: reads role (evidence: `src/App.tsx`)
- Role-based application → Role and language controls: renders (evidence: `src/App.tsx`)
- Role-based application → Demo guide: renders (evidence: `src/App.tsx`)
- Role-based application → Voice assistant: renders (evidence: `src/App.tsx`)
- Role-based application → Trainee dashboard: routes trainee (evidence: `src/App.tsx`)
- Role-based application → Attendance: renders (evidence: `src/App.tsx`)
- Role-based application → Assessment: renders (evidence: `src/App.tsx`)
- Role-based application → Learning modules: renders (evidence: `src/App.tsx`)
- Role-based application → AI skill-gap engine: renders (evidence: `src/App.tsx`)
- Role-based application → Job recommendations: renders (evidence: `src/App.tsx`)
- Role-based application → Skill passport: renders (evidence: `src/App.tsx`)
- Role-based application → Public verification: renders (evidence: `src/App.tsx`)
- Role-based application → Institute dashboard: routes institute (evidence: `src/App.tsx`)
- Role-based application → Employer recruitment: routes employer (evidence: `src/App.tsx`)
- Role-based application → Employment feedback: renders (evidence: `src/App.tsx`)
- Role-based application → NCCT dashboard: routes NCCT (evidence: `src/App.tsx`)
- Role-based application → PACS operator: routes PACS (evidence: `src/App.tsx`)
- Role and language controls → Shared app state: updates controls (evidence: `src/components/Header.tsx`)
- Demo guide → Shared app state: reads demo state (evidence: `src/components/SihDemoGuide.tsx`)
- Voice assistant → Shared app state: reads language (evidence: `src/components/VoiceAssistantModal.tsx`)
- Trainee dashboard → Shared app state: reads trainee state (evidence: `src/components/trainee/TraineeDashboard.tsx`)
- Attendance → Shared app state: uses attendance state (evidence: `src/components/trainee/AttendanceModule.tsx`)
- Assessment → Shared app state: uses assessment state (evidence: `src/components/trainee/AssessmentModule.tsx`)
- Learning modules → Shared app state: updates learning state (evidence: `src/components/trainee/LmsLearningModule.tsx`)
- Skill passport → Shared app state: reads passport state (evidence: `src/components/trainee/SkillPassportModal.tsx`)
- Public verification → Shared app state: reads verification state (evidence: `src/components/trainee/PublicVerificationModal.tsx`)
- AI skill-gap engine → Shared app state: reads trainee state (evidence: `src/components/trainee/AiSkillGapEngine.tsx`)
- Job recommendations → Shared app state: updates job state (evidence: `src/components/trainee/JobRecommendations.tsx`)
- Employer recruitment → Shared app state: reads candidate state (evidence: `src/components/employer/EmployerDashboard.tsx`)
- Employment feedback → Shared app state: submits feedback (evidence: `src/components/feedback/EmploymentFeedbackModule.tsx`)
- PACS operator → Shared app state: updates operator state (evidence: `src/components/pacs/PacsOperatorView.tsx`)
- Institute dashboard → Shared app state: uses institute state (evidence: `src/components/admin/InstituteDashboard.tsx`)
- NCCT dashboard → Shared app state: reads analytics state (evidence: `src/components/ncct/NcctDashboard.tsx`)
- Shared app state → Seeded domain data: initializes state (evidence: `src/context/AppContext.tsx`)
