How lakshay3605/kaushalai works
SAHAKAR-SETU is a cooperative training, attendance, credentialing, and employment platform. Its principal journey runs from trainee-facing portals through training and assessments, attendance capture, certificates, and PACS job matching; institute administration and AI guidance are supporting capabilities. The frontend routes users and makes API requests; FastAPI routes own domain operations, backed by shared models and persistence. The README documents additional hardware, offline, and external-service capabilities not fully verifiable in sampled implementation, so those links are identified as documented rather than inferred from unseen code.
Main entry points: main.py FastAPI application · App.jsx Portal router · database.py Relational database · attendance_routes.py Attendance processing
Components 26
Web experience
- Portal router
frontend/src/App.jsx - Session and UI state
frontend/src/context/AppContext.jsx - API and offline queue
frontend/src/api.js - Learning portal
frontend/src/pages/LmsMyLearning.jsx - Assessments
frontend/src/pages/AssessmentsPage.jsx - Certificates and verification
frontend/src/pages/CertificatesPage.jsx - Kiosk operations
frontend/src/pages/KioskOperatorPortalPage.jsx - Recruiter portal
frontend/src/pages/RecruiterPortalPage.jsx - Institute administration
frontend/src/pages/AdminDashboardPage.jsx
API foundation
- FastAPI application
backend/main.py - Authentication and roles
backend/auth.py - Domain data models
backend/models.py - Relational database
backend/database.py
Training and attendance
- Training ERP
backend/routers/erp_routes.py - Courses and quizzes
backend/routers/lms_routes.py - Attendance processing
backend/routers/attendance_routes.py - Kiosk hardware support
backend/hardware.py
Credentials and careers
- Credential issuance
backend/routers/certificate_routes.py - Ed25519 signing
backend/crypto.py - Job exchange
backend/routers/job_routes.py - Candidate matching
backend/matcher.py
Guidance and oversight
- AI guidance and recommendations
backend/routers/ai_routes.py - Grounded RAG pipeline
backend/rag.py - Analytics
backend/routers/analytics_routes.py
Other components
- Trainees and staff
- DigiLocker and national services
Connections 33
- Trainees and staff → Portal router: use portals
README.md - Portal router → Session and UI state: provides state
frontend/src/App.jsx - Portal router → Learning portal: routes learning
frontend/src/App.jsx - Portal router → Assessments: routes exams
frontend/src/App.jsx - Portal router → Certificates and verification: routes credentials
frontend/src/App.jsx - Portal router → Kiosk operations: routes kiosk
frontend/src/App.jsx - Portal router → Recruiter portal: routes recruiting
frontend/src/App.jsx - Portal router → Institute administration: routes administration
frontend/src/App.jsx - Session and UI state → API and offline queue: calls API
frontend/src/context/AppContext.jsx - Kiosk operations → API and offline queue: uses requests
frontend/src/pages/KioskOperatorPortalPage.jsx - API and offline queue → Attendance processing: syncs events
frontend/src/api.js - FastAPI application → Authentication and roles: registers routes
backend/main.py - FastAPI application → Training ERP: registers routes
backend/main.py - FastAPI application → Courses and quizzes: registers routes
backend/main.py - FastAPI application → Attendance processing: registers routes
backend/main.py - FastAPI application → Credential issuance: registers routes
backend/main.py - FastAPI application → Job exchange: registers routes
backend/main.py - FastAPI application → AI guidance and recommendations: registers routes
backend/main.py - FastAPI application → Analytics: registers routes
backend/main.py - FastAPI application → Relational database: initializes schema
backend/main.py - Courses and quizzes → Relational database: queries records
backend/routers/lms_routes.py - Attendance processing → Relational database: stores events
backend/routers/attendance_routes.py - Job exchange → Relational database: queries records
backend/routers/job_routes.py - AI guidance and recommendations → Grounded RAG pipeline: calls pipeline
backend/routers/ai_routes.py - AI guidance and recommendations → Candidate matching: uses ranking
backend/routers/ai_routes.py - Job exchange → Candidate matching: scores candidates
backend/routers/job_routes.py - Credential issuance → Ed25519 signing: signs credentials
backend/routers/certificate_routes.py - Courses and quizzes → Ed25519 signing: creates credentials
backend/routers/lms_routes.py - Training ERP → Relational database: queries records
backend/routers/erp_routes.py - Analytics → Relational database: queries records
backend/routers/analytics_routes.py - Attendance processing → Kiosk hardware support: verifies events
backend/routers/attendance_routes.py - Credential issuance → DigiLocker and national services: pushes credentials
README.md - Trainees and staff → Kiosk hardware support: check in offline
README.md