How voxcodeai3/voxcodeai works
VoxCode is an AI-assisted learning and coding platform. Learners use its web app to choose a learning path, assess their skills, study with AI teaching and quizzes, practice in a code workspace, and track progress; the backend exposes these capabilities through authenticated APIs backed by MongoDB. The tree also shows interview practice, voice interaction, and project/version management. The README is empty, so feature coverage comes from the tree and source index; several route and frontend integrations are not sampled, and their internal links are omitted where unverified.
Main entry points: aiController.js AI tutor handling · teachingService.js Teaching service · App.jsx App and routes · contextBuilder.js Context builder
Components 27
Learner web app
- App and routes
frontend/src/App.jsx - Learning experience
frontend/src/components/learn/ai-first/LearnPage.jsx - Voice interaction
frontend/src/context/VoiceContext.jsx - API client
frontend/src/services/api.js
Learning journeys
- Learning endpoints
backend/routes/learningRoutes.js - Assessment endpoints
backend/routes/assessmentRoutes.js - Assessment handling
backend/controllers/assessmentController.js - Curriculum structure
backend/models/LearningPath.js - Stages and topics
backend/models/Stage.js
AI and coaching
- Learner memory
backend/models/LearningMemory.js - AI tutor handling
backend/controllers/aiController.js - Context builder
backend/services/ai/contextBuilder.js - AI generation
backend/services/aiService.js - Model failover
backend/services/modelManager.js - Teaching service
backend/services/teachingService.js - Conversation data
backend/models/Conversation.js
Practice and projects
- Interview practice
backend/controllers/interviewController.js - Project workspace
backend/controllers/projectController.js - Project data
backend/models/Project.js - File path validation
backend/utils/pathValidator.js - Interview service
backend/services/interviewService.js
Platform services
- API server
backend/server.js - Authentication
backend/middleware/authMiddleware.js - Auth endpoints
backend/routes/authRoutes.js - User account
backend/models/User.js - Analytics service
backend/services/analyticsService.js
Other components
- Learner
Connections 28
- Learner → App and routes: uses
frontend/src/App.jsx - App and routes → Learning experience: routes to
frontend/src/App.jsx - App and routes → API client: configures
frontend/src/App.jsx - App and routes → Voice interaction: provides
frontend/src/App.jsx - API client → API server: sends requests
- API server → Auth endpoints: mounts
backend/server.js - API server → Learning endpoints: mounts
backend/server.js - API server → Assessment endpoints: mounts
backend/server.js - Assessment endpoints → Authentication: guards
backend/routes/assessmentRoutes.js - Assessment endpoints → Assessment handling: dispatches to
backend/routes/assessmentRoutes.js - Authentication → User account: loads account
backend/middleware/authMiddleware.js - AI tutor handling → AI generation: calls
backend/controllers/aiController.js - AI tutor handling → Model failover: selects model
backend/controllers/aiController.js - AI tutor handling → Context builder: builds context
backend/controllers/aiController.js - AI tutor handling → Learner memory: reads and updates
backend/controllers/aiController.js - AI tutor handling → Conversation data: uses
backend/controllers/aiController.js - AI generation → Model failover: uses pool
backend/services/aiService.js - Context builder → Learner memory: reads
backend/services/ai/contextBuilder.js - Context builder → Curriculum structure: reads
backend/services/ai/contextBuilder.js - Context builder → Stages and topics: reads
backend/services/ai/contextBuilder.js - Teaching service → AI generation: calls
backend/services/teachingService.js - Teaching service → Learner memory: uses
backend/services/teachingService.js - Teaching service → Curriculum structure: uses
backend/services/teachingService.js - Teaching service → Stages and topics: uses
backend/services/teachingService.js - Interview practice → Interview service: calls
backend/controllers/interviewController.js - Interview practice → Analytics service: records analytics
backend/controllers/interviewController.js - Project workspace → Project data: reads and writes
backend/controllers/projectController.js - Project workspace → File path validation: validates paths
backend/controllers/projectController.js