How mukeshroo/ne-app works
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: App.tsx Role-based application · AppContext.tsx Shared app state · main.tsx React entry · Header.tsx Role and language controls
Components 21
Application Shell
- React entry
src/main.tsx - Role-based application
src/App.tsx - Role and language controls
src/components/Header.tsx - Demo guide
src/components/SihDemoGuide.tsx - Voice assistant
src/components/VoiceAssistantModal.tsx
Training & Credentials
- Trainee dashboard
src/components/trainee/TraineeDashboard.tsx - Attendance
src/components/trainee/AttendanceModule.tsx - Assessment
src/components/trainee/AssessmentModule.tsx - Learning modules
src/components/trainee/LmsLearningModule.tsx - Skill passport
src/components/trainee/SkillPassportModal.tsx - Public verification
src/components/trainee/PublicVerificationModal.tsx
Skills & Employment
- AI skill-gap engine
src/components/trainee/AiSkillGapEngine.tsx - Job recommendations
src/components/trainee/JobRecommendations.tsx - Employer recruitment
src/components/employer/EmployerDashboard.tsx - Employment feedback
src/components/feedback/EmploymentFeedbackModule.tsx
Cooperative Operations
- PACS operator
src/components/pacs/PacsOperatorView.tsx - Institute dashboard
src/components/admin/InstituteDashboard.tsx - NCCT dashboard
src/components/ncct/NcctDashboard.tsx
Shared State
- Shared app state
src/context/AppContext.tsx - Seeded domain data
src/data/mockData.ts
Other components
- Application users
Connections 37
- Application users → React entry: opens app
src/main.tsx - React entry → Role-based application: renders
src/main.tsx - React entry → Shared app state: provides state
src/main.tsx - Role-based application → Shared app state: reads role
src/App.tsx - Role-based application → Role and language controls: renders
src/App.tsx - Role-based application → Demo guide: renders
src/App.tsx - Role-based application → Voice assistant: renders
src/App.tsx - Role-based application → Trainee dashboard: routes trainee
src/App.tsx - Role-based application → Attendance: renders
src/App.tsx - Role-based application → Assessment: renders
src/App.tsx - Role-based application → Learning modules: renders
src/App.tsx - Role-based application → AI skill-gap engine: renders
src/App.tsx - Role-based application → Job recommendations: renders
src/App.tsx - Role-based application → Skill passport: renders
src/App.tsx - Role-based application → Public verification: renders
src/App.tsx - Role-based application → Institute dashboard: routes institute
src/App.tsx - Role-based application → Employer recruitment: routes employer
src/App.tsx - Role-based application → Employment feedback: renders
src/App.tsx - Role-based application → NCCT dashboard: routes NCCT
src/App.tsx - Role-based application → PACS operator: routes PACS
src/App.tsx - Role and language controls → Shared app state: updates controls
src/components/Header.tsx - Demo guide → Shared app state: reads demo state
src/components/SihDemoGuide.tsx - Voice assistant → Shared app state: reads language
src/components/VoiceAssistantModal.tsx - Trainee dashboard → Shared app state: reads trainee state
src/components/trainee/TraineeDashboard.tsx - Attendance → Shared app state: uses attendance state
src/components/trainee/AttendanceModule.tsx - Assessment → Shared app state: uses assessment state
src/components/trainee/AssessmentModule.tsx - Learning modules → Shared app state: updates learning state
src/components/trainee/LmsLearningModule.tsx - Skill passport → Shared app state: reads passport state
src/components/trainee/SkillPassportModal.tsx - Public verification → Shared app state: reads verification state
src/components/trainee/PublicVerificationModal.tsx - AI skill-gap engine → Shared app state: reads trainee state
src/components/trainee/AiSkillGapEngine.tsx - Job recommendations → Shared app state: updates job state
src/components/trainee/JobRecommendations.tsx - Employer recruitment → Shared app state: reads candidate state
src/components/employer/EmployerDashboard.tsx - Employment feedback → Shared app state: submits feedback
src/components/feedback/EmploymentFeedbackModule.tsx - PACS operator → Shared app state: updates operator state
src/components/pacs/PacsOperatorView.tsx - Institute dashboard → Shared app state: uses institute state
src/components/admin/InstituteDashboard.tsx - NCCT dashboard → Shared app state: reads analytics state
src/components/ncct/NcctDashboard.tsx - Shared app state → Seeded domain data: initializes state
src/context/AppContext.tsx