How rajshekharbind/tnpaiplateform works
TnP AI is a college placement-management platform. Students enter through the React application to maintain profiles, discover jobs and companies, and track applications; coordinators manage recruiters, policies, readiness, and placement analytics. Interview practice, resume ATS analysis, and live coding extend the student workflow. The backend exposes REST APIs, with some documented/demo routes backed by in-memory data and separate service-based modules. Source excerpts establish only selected calls; many feature-to-API connections are therefore not asserted.
Main entry points: App.tsx Application shell · api.ts REST API client · CompaniesController.ts Company management · ResumeAtsAnalysis.tsx Resume analysis UI
Components 25
Student and admin app
- Application shell
frontend/src/app/App.tsx - Job discovery
frontend/src/app/components/Jobs.tsx - Company insights
frontend/src/app/components/CompanyDetail.tsx - Student profiles
frontend/src/app/components/Profile.tsx - Placement dashboards
frontend/src/app/components/Analytics.tsx - Authentication UI
frontend/src/app/components/Auth.tsx
Placement operations
- Admin policy tools
frontend/src/app/components/admin - Company management
backend/src/modules/companies/controllers/CompaniesController.ts - Job management
backend/src/modules/jobs/controllers/JobsController.ts - Recruiter management
backend/src/modules/recruiters/controllers/RecruitersController.ts - Student readiness
backend/src/modules/student-readiness/controllers/StudentReadinessController.ts - Offer and placement policies
backend/src/modules/one-offer-policy/controllers/OneOfferPolicyController.ts
Student preparation
- Resume analysis UI
frontend/src/app/components/ResumeAtsAnalysis.tsx - Resume ATS routes
backend/src/modules/resume-ats/controllers/ResumeAtsController.ts - Resume analysis service
backend/src/modules/resume-ats/services/ResumeAnalysisService.ts - Mock interview practice
frontend/src/app/components/MockInterview.tsx - Live coding rooms
backend/src/api/routes/live-coding.routes.ts
Backend APIs
- Authentication routes
backend/src/modules/auth/controllers/AuthController.ts - Profile management
backend/src/modules/user/controllers/UserProfileController.ts - Express API server
backend/server.js
Shared services
- Authentication state
frontend/src/services/auth.ts - REST API client
frontend/src/services/api.ts - Database and local storage
backend/src/core/database
Other components
- Student or coordinator
- Clerk authentication
Connections 18
- Student or coordinator → Application shell: uses
README.md - Application shell → Job discovery: routes to
frontend/src/app/App.tsx - Application shell → Company insights: routes to
frontend/src/app/App.tsx - Application shell → Placement dashboards: routes to
frontend/src/app/App.tsx - Company management → Job management: imports
backend/src/modules/companies/controllers/CompaniesController.ts - Application shell → Student profiles: routes to
frontend/src/app/App.tsx - Student or coordinator → Admin policy tools: manages placement
README.md - Student or coordinator → Resume analysis UI: analyzes resume
README.md - Student or coordinator → Mock interview practice: practices interviews
README.md - Student or coordinator → Live coding rooms: joins coding rooms
backend/src/api/routes/live-coding.routes.ts - Authentication state → REST API client: calls
frontend/src/services/auth.ts - Authentication routes → Authentication state: delegates to
backend/src/modules/auth/controllers/AuthController.ts - Resume ATS routes → Resume analysis service: saves analysis
backend/src/modules/resume-ats/controllers/ResumeAtsController.ts - Resume analysis UI → REST API client: uses API client
- REST API client → Express API server: requests REST APIs
- Profile management → Database and local storage: uses storage
- Clerk authentication → Application shell: provides sign-in
- Express API server → Company management: serves routes