How sridhar636146591/ai-mentor- works
AI Mentor+ is a student career and academic platform. Students enter through account access and onboarding, then use a dashboard to reach interview practice, resume analysis, learning roadmaps, progress tracking, and other growth tools. The frontend’s shared state coordinates API requests; the Express API authenticates requests, serves feature routes, and uses Prisma-backed storage. The README documents voice features and configurable AI providers, while unsampled pages and route implementations limit certainty about some feature-specific connections.
Main entry points: useStore.ts Client state and API · App.tsx App routing · db.ts Prisma client · ai.ts AI feature routes
Components 23
Student experience
- App routing
src/App.tsx - Dashboard shell
src/components/layout/AppShell.tsx - Home dashboard
src/pages/HomeDashboard.tsx - Module navigation
src/lib/modules.ts - Sign-in and signup
src/pages/Login.tsx - Profile setup
src/pages/ProfileSetup.tsx - Client state and API
src/store/useStore.ts
Learning and career tools
- Mock interview
src/pages/MockInterview.tsx - Resume analysis
src/pages/ResumeAnalyzer.tsx - Learning roadmap
src/pages/Roadmap.tsx - Practice and growth tools
src/pages/Modules.tsx - Progress dashboard
src/pages/ProgressDashboard.tsx
Backend services
- AI feature routes
server/src/routes/ai.ts - Account routes
server/src/routes/auth.ts - Profile routes
server/src/routes/profile.ts - Application tracker
server/src/routes/tracker.ts - AI service
server/src/services/aiService.ts - Token authentication
server/src/middleware/auth.ts
Persistence and identity
- Prisma client
server/src/db.ts - Platform database
server/prisma/schema.prisma
External capabilities
- Browser speech APIs
- AI providers
Other components
- Student
Connections 34
- Student → App routing: uses
README.md - App routing → Sign-in and signup: routes to
src/App.tsx - App routing → Profile setup: routes to
src/App.tsx - App routing → Home dashboard: routes to
src/App.tsx - App routing → Mock interview: routes to
src/App.tsx - App routing → Resume analysis: routes to
src/App.tsx - App routing → Learning roadmap: routes to
src/App.tsx - App routing → Progress dashboard: routes to
src/App.tsx - App routing → Practice and growth tools: routes to
src/App.tsx - Home dashboard → Dashboard shell: renders within
- Dashboard shell → Module navigation: uses navigation
src/components/layout/AppShell.tsx - Home dashboard → Client state and API: reads dashboard data
src/pages/HomeDashboard.tsx - Sign-in and signup → Client state and API: requests sign-in
src/pages/Login.tsx - Profile setup → Client state and API: updates profile
src/pages/ProfileSetup.tsx - Mock interview → Client state and API: requests AI features
src/pages/MockInterview.tsx - Resume analysis → Client state and API: requests analysis
src/pages/ResumeAnalyzer.tsx - Learning roadmap → Client state and API: requests roadmap
src/pages/Roadmap.tsx - Practice and growth tools → Client state and API: uses shared state
src/pages/Modules.tsx - Progress dashboard → Client state and API: reads progress
src/pages/ProgressDashboard.tsx - Client state and API → Account routes: calls account API
src/store/useStore.ts - Client state and API → AI feature routes: calls feature API
- Client state and API → Application tracker: calls tracker API
src/store/useStore.ts - AI feature routes → AI service: calls
server/src/routes/ai.ts - AI feature routes → Token authentication: authenticates
server/src/routes/ai.ts - Account routes → Token authentication: authenticates
server/src/routes/auth.ts - Profile routes → Token authentication: authenticates
server/src/routes/profile.ts - Application tracker → Token authentication: authenticates
server/src/routes/tracker.ts - Account routes → Prisma client: reads and writes
server/src/routes/auth.ts - Profile routes → Prisma client: reads and writes
server/src/routes/profile.ts - Application tracker → Prisma client: reads and writes
server/src/routes/tracker.ts - AI feature routes → Prisma client: records progress
server/src/routes/ai.ts - Prisma client → Platform database: accesses
- Mock interview → Browser speech APIs: uses speech
README.md - AI service → AI providers: selects provider
README.md