How crf1810/codequestpoo works
CodeQuest is a gamified programming-learning application: learners enter through account and dashboard pages, select maps and challenges, execute Python exercises, receive feedback, and accumulate progress. Its backend provides authentication, challenge and learner APIs, research-session tracking, and supporting social, reporting, and administration capabilities. The tree establishes those product areas, while sampled source confirms the exercise execution and research-event path. Many backend modules and frontend pages were not sampled, so their internal call relationships are not asserted here.
Main entry points: main.jsx App routes · Models Domain models · useCode.js Code execution flow · axios.js API client
Components 24
Learner experience
- App routes
Frontend-CodeQuestPOO/src/main.jsx - Account pages
Frontend-CodeQuestPOO/src/Pages/Auth/criarConta.jsx - Learning dashboard
Frontend-CodeQuestPOO/src/Pages/UserPage/dashBoard.jsx - Profile and rewards
Frontend-CodeQuestPOO/src/Pages/UserPage/Perfil.jsx - Leaderboard
Frontend-CodeQuestPOO/src/Pages/UserPage/leaderBoard.jsx
Challenge gameplay
- Learning maps
Frontend-CodeQuestPOO/src/Game/Mapas/FlorestaDosAlgoritmos-Mapa1/FlorestaDosAlgoritmos.jsx - Challenge interface
Frontend-CodeQuestPOO/src/Game/Components/Code/CodeComponent.jsx - Code execution flow
Frontend-CodeQuestPOO/src/Game/Hooks/useCode.js - Python runtime
Frontend-CodeQuestPOO/src/Python/pyodideEngine.js - AI feedback
Frontend-CodeQuestPOO/src/Services/gameplay/feedbackAiService.js - Research metrics client
Frontend-CodeQuestPOO/src/Services/gameplay/researchMetricsService.js
Backend services
- API client
Frontend-CodeQuestPOO/src/Services/api/axios.js - Authentication
Backend-CodeQuestPOO/src/Modules/auth/auth.service.ts - Learner management
Backend-CodeQuestPOO/src/Modules/alunos - Challenge services
Backend-CodeQuestPOO/src/Modules/desafio - Progress and performance
Backend-CodeQuestPOO/src/Modules/progressao - Research event API
Backend-CodeQuestPOO/src/Modules/research/research.routes.ts - Social and reporting
Backend-CodeQuestPOO/src/Modules - Administration
Backend-CodeQuestPOO/src/Modules/admin
Persistence and integrations
- Domain models
Backend-CodeQuestPOO/src/Models - Relational database
Backend-CodeQuestPOO/src/Config/sequelize.ts - Session storage
Frontend-CodeQuestPOO/src/Services/auth/authStorage.js
Other components
- Learner
- Backend API
Connections 21
- Learner → App routes: opens
Frontend-CodeQuestPOO/src/main.jsx - App routes → Account pages: routes to
Frontend-CodeQuestPOO/src/main.jsx - App routes → Learning dashboard: routes to
Frontend-CodeQuestPOO/src/main.jsx - App routes → Profile and rewards: routes to
Frontend-CodeQuestPOO/src/main.jsx - App routes → Leaderboard: routes to
Frontend-CodeQuestPOO/src/main.jsx - App routes → Learning maps: routes to
Frontend-CodeQuestPOO/src/main.jsx - Learning maps → Challenge interface: presents
- Challenge interface → Code execution flow: uses
- Code execution flow → Python runtime: loads runtime
Frontend-CodeQuestPOO/src/Game/Hooks/useCode.js - Code execution flow → AI feedback: requests feedback
Frontend-CodeQuestPOO/src/Game/Hooks/useCode.js - Code execution flow → Research metrics client: records events
Frontend-CodeQuestPOO/src/Game/Hooks/useCode.js - Research metrics client → API client: posts events
Frontend-CodeQuestPOO/src/Services/gameplay/researchMetricsService.js - API client → Session storage: reads token
Frontend-CodeQuestPOO/src/Services/api/axios.js - API client → Backend API: sends requests
Frontend-CodeQuestPOO/src/Services/api/axios.js - Backend API → Research event API: routes research calls
Backend-CodeQuestPOO/src/Modules/research/research.routes.ts - Research event API → Domain models: reads and writes
Backend-CodeQuestPOO/src/Modules/research/research.routes.ts - Authentication → Domain models: reads and writes
Backend-CodeQuestPOO/src/Modules/auth/auth.service.ts - Authentication → Relational database: persists sessions
- Learner management → Domain models: uses models
Backend-CodeQuestPOO/src/Modules/alunos/alunos.service.ts - Challenge services → Domain models: uses models
Backend-CodeQuestPOO/src/Modules/desafio/desafio.service.ts - Progress and performance → Domain models: uses models