How vishesh-0406/sarathi works
Sarathi is a campus-placement preparation platform: students browse company-specific DSA, aptitude, and interview material, practice or take assessments, and track preparation; the backend supplies questions, runs code, and stores user progress. Its content pipeline gathers candidate recollections, matches canonical problems, and maintains question banks. The graph reflects documented features and source-index references; several frontend components and ingestion collectors were not excerpted, so their internal calls are not asserted.
Main entry points: App.jsx Application shell · server.js HTTP API server · mockTestController.js Mock assessments · experienceParser.js Experience parser
Components 24
Student experience
- Application shell
frontend/src/App.jsx - Authentication UI
frontend/src/components/AuthModal.jsx - Authentication state
frontend/src/context/AuthContext.jsx
Preparation areas
- DSA arena
frontend/src/components/DSA.jsx - Code workspace
frontend/src/components/IDE.jsx - Aptitude arena
frontend/src/components/Aptitude.jsx - Interview navigator
frontend/src/components/Interviews.jsx - Company directory
frontend/src/components/Companies.jsx - Preparation roadmap
frontend/src/components/Roadmap.jsx - Progress tracker
frontend/src/components/Tracker.jsx
Platform services
- HTTP API server
backend/server.js - Accounts and profiles
backend/controllers/authController.js - Mock assessments
backend/controllers/mockTestController.js - Code execution
backend/services/codeExecutionService.js - Readiness analysis
backend/services/aiReadinessService.js - User records
backend/models/User.js
Question intelligence
- Question records
backend/models/Question.js - Hiring-cycle sync
backend/services/pipelineSyncService.js
Content pipeline
- Experience parser
data/processors/experienceParser.js - Experience collectors
data/raw - LeetCode matching
data/matchers/leetcodeMatcher.js - Company question banks
data/banks - Test-case templates
data/banks/testCaseTemplates.js
Other components
- Student
Connections 25
- Student → Application shell: uses
README.md - Application shell → DSA arena: opens
frontend/src/App.jsx - Application shell → Code workspace: opens
frontend/src/App.jsx - Application shell → Authentication UI: renders
frontend/src/App.jsx - Application shell → Aptitude arena: renders
frontend/src/App.jsx - Application shell → Interview navigator: renders
frontend/src/App.jsx - Application shell → Company directory: renders
frontend/src/App.jsx - Application shell → Preparation roadmap: renders
frontend/src/App.jsx - Application shell → Progress tracker: renders
frontend/src/App.jsx - Authentication UI → Authentication state: uses
frontend/src/components/AuthModal.jsx - Authentication state → HTTP API server: requests auth
frontend/src/context/AuthContext.jsx - HTTP API server → Accounts and profiles: routes auth
backend/server.js - HTTP API server → Mock assessments: routes assessments
backend/server.js - Accounts and profiles → User records: reads/writes
backend/controllers/authController.js - Mock assessments → Question records: selects questions
backend/controllers/mockTestController.js - Mock assessments → User records: records results
backend/controllers/mockTestController.js - Mock assessments → Code execution: executes submissions
backend/controllers/mockTestController.js - Readiness analysis → Question records: analyzes
backend/services/aiReadinessService.js - HTTP API server → Hiring-cycle sync: starts scheduler
backend/server.js - Hiring-cycle sync → Question records: syncs records
backend/services/pipelineSyncService.js - Experience collectors → Experience parser: provides experiences
README.md - Experience parser → LeetCode matching: matches problems
data/processors/experienceParser.js - Experience parser → Test-case templates: uses templates
data/processors/experienceParser.js - Experience parser → Company question banks: builds content
data/processors/experienceParser.js - Student → Company question banks: prepares with
README.md