How mohamed6seddiki/algo-nova works
AlgoNova is an algorithm-learning platform: students browse lessons and exercises, practice MyAlgo programs, and review learning metrics; administrators manage learning content and users. The React app routes users into these experiences, while the ASP.NET API handles authentication and domain operations backed by Supabase. Code execution is a distinct path from the editor through the API to the MyAlgo compiler/runtime. The graph preserves these documented product branches; unsampled controller, frontend API, and service implementations limit some finer-grained links.
Main entry points: Controllers API Controllers · App.tsx Route App · main.cpp Engine CLI · LessonsBrowser.tsx Lessons UI
Components 28
Student and Admin App
- Route App
frontend/src/App.tsx - Lessons UI
frontend/src/pages/student/LessonsBrowser.tsx - Lesson Detail
frontend/src/pages/student/LessonDetail.tsx - Exercises UI
frontend/src/pages/student/ExercisesPage.tsx - Code Workspace
frontend/src/pages/student/CodeEditorWorkspace.tsx - Student Dashboard
frontend/src/pages/student/Dashboard.tsx - Progress and Rankings
frontend/src/pages/student/Progress.tsx - Study Assistant
frontend/src/pages/student/AIAssistant.tsx - Admin Screens
frontend/src/pages/admin/ManageLessons.tsx - Auth Context
frontend/src/context/AuthContext.jsx
Backend API
- API Controllers
backend/Controllers - Authentication
backend/Services/AuthService.cs - Lesson Services
backend/Services/LessonService.cs - Exercise Services
backend/Services/ExerciseService.cs - Dashboard Metrics
backend/Services/StudentDashboardService.cs - Progress and Leaderboard
backend/Services/ProgressService.cs - Admin Services
backend/Services/AdminLessonService.cs - Code Execution
backend/Services/CodeExecutionService.cs
MyAlgo Engine
- Engine CLI
myalgo-engine/src/main.cpp - Lexer
myalgo-engine/src/lexer/lexer.cpp - Parser
myalgo-engine/src/parser/parser.cpp - Semantic Analysis
myalgo-engine/src/semantic/SemanticAnalyzer.hpp - Code Generation
myalgo-engine/src/codegen/CodeGenerator.hpp - Generated Program Runtime
myalgo-engine/src/main.cpp
External Services
- Supabase Data and Auth
- AI-Style Assistant
Other components
- Student
- Administrator
Connections 38
- Student → Route App: uses
README.md - Administrator → Route App: uses
README.md - Route App → Lessons UI: routes
frontend/src/App.tsx - Route App → Lesson Detail: routes
frontend/src/App.tsx - Route App → Exercises UI: routes
frontend/src/App.tsx - Route App → Code Workspace: routes
frontend/src/App.tsx - Route App → Student Dashboard: routes
frontend/src/App.tsx - Route App → Progress and Rankings: routes
frontend/src/App.tsx - Route App → Study Assistant: routes
frontend/src/App.tsx - Route App → Admin Screens: routes
frontend/src/App.tsx - Route App → Auth Context: uses
frontend/src/App.tsx - Lessons UI → API Controllers: requests lessons
- Lesson Detail → API Controllers: requests detail
- Exercises UI → API Controllers: requests exercises
- Code Workspace → API Controllers: submits code
- Student Dashboard → API Controllers: requests metrics
- Progress and Rankings → API Controllers: requests progress
- Admin Screens → API Controllers: admin requests
- API Controllers → Authentication: delegates auth
backend/Controllers/AuthController.cs - API Controllers → Lesson Services: delegates lessons
- API Controllers → Exercise Services: delegates exercises
backend/Controllers/ExercisesController.cs - API Controllers → Dashboard Metrics: delegates metrics
- API Controllers → Progress and Leaderboard: delegates progress
- API Controllers → Admin Services: delegates admin
backend/Controllers/AdminLessonsController.cs - API Controllers → Code Execution: delegates execution
- Authentication → Supabase Data and Auth: auth and profiles
backend/Services/AuthService.cs - Lesson Services → Supabase Data and Auth: reads lessons
- Exercise Services → Supabase Data and Auth: reads and submits
backend/Services/ExerciseService.cs - Dashboard Metrics → Supabase Data and Auth: reads activity
backend/Services/StudentDashboardService.cs - Progress and Leaderboard → Supabase Data and Auth: reads progress
- Admin Services → Supabase Data and Auth: manages content
backend/Services/AdminLessonService.cs - Code Execution → Engine CLI: runs CLI
README.md - Engine CLI → Lexer: tokenizes
myalgo-engine/src/main.cpp - Engine CLI → Parser: parses
myalgo-engine/src/main.cpp - Engine CLI → Semantic Analysis: analyzes
myalgo-engine/src/main.cpp - Engine CLI → Code Generation: generates code
myalgo-engine/src/main.cpp - Engine CLI → Generated Program Runtime: compiles and runs
README.md - Study Assistant → AI-Style Assistant: assistant interaction