How azimullah-6430/learnsphere-ai works
LearnSphere AI is an education platform for students and teachers, combining class and syllabus setup with AI-assisted assessment, personalized learning, and reporting. The main workflow runs from the learner or teacher through the web app and API to backend evaluation and persistence; users can also manage validated curricula and access learning activities and opportunities. The excerpts show several frontend imports and backend module references, but not the full HTTP routing or all feature implementations, so those connections are omitted or marked unverified.
Main entry points: server.py HTTP backend · api.js API client · App.jsx Web routes · db.py Application database
Components 23
Web application
- Web routes
learnsphere-ai/src/App.jsx - Account and app state
learnsphere-ai/src/context/AppContext.jsx - API client
learnsphere-ai/src/services/api.js - Class management
learnsphere-ai/src/components/ClassManagerModal.jsx - Evaluation screen
learnsphere-ai/src/pages/Evaluate.jsx
Curriculum and learning
- Learning activities
learnsphere-ai/src/pages/LearnAnywhere.jsx - Trainer
learnsphere-ai/src/pages/Trainer.jsx - Syllabus management
learnsphere-ai/src/components/SyllabusModal.jsx - Curriculum status
learnsphere-ai/src/components/CurriculumReviewNotice.jsx - Syllabus content
learnsphere-ai/src/data/syllabusData.js - Opportunities
learnsphere-ai/src/pages/CurrentOpportunities.jsx
Assessment services
- Assessment evaluation
backend/app/evaluation/evaluator.py - PDF reports
backend/app/evaluation/pdf_report.py - Evaluation repair
backend/app/evaluation/repair.py - Evaluation storage
backend/app/evaluation/store.py
Backend services
- HTTP backend
backend/server.py - AI services
backend/app/gemini_service.py - Curriculum validation
backend/app/curriculum_validator.py - Trainer validation
backend/app/trainer_validator.py - Plagiarism detection
backend/app/plagiarism/detector.py - Opportunity service
backend/app/opportunities_service.py
Persistence
- Application database
backend/app/db.py
Other components
- Student or teacher
Connections 30
- Student or teacher → Web routes: uses
learnsphere-ai/src/App.jsx - Web routes → Evaluation screen: routes to
learnsphere-ai/src/App.jsx - Web routes → Learning activities: routes to
learnsphere-ai/src/App.jsx - Web routes → Trainer: routes to
learnsphere-ai/src/App.jsx - Web routes → Opportunities: routes to
learnsphere-ai/src/App.jsx - Evaluation screen → API client: requests evaluation
learnsphere-ai/src/services/api.js - Learning activities → API client: requests activities
learnsphere-ai/src/pages/LearnAnywhere.jsx - Opportunities → API client: requests opportunities
learnsphere-ai/src/services/api.js - Trainer → API client: uses
learnsphere-ai/src/pages/Trainer.jsx - Trainer → Syllabus content: reads content
learnsphere-ai/src/pages/Trainer.jsx - Learning activities → Syllabus management: renders
learnsphere-ai/src/pages/LearnAnywhere.jsx - Learning activities → Curriculum status: renders
learnsphere-ai/src/pages/LearnAnywhere.jsx - Syllabus management → API client: requests syllabus
learnsphere-ai/src/components/SyllabusModal.jsx - Account and app state → API client: requests account data
learnsphere-ai/src/context/AppContext.jsx - Account and app state → Syllabus content: uses data
learnsphere-ai/src/context/AppContext.jsx - Class management → Account and app state: updates state
learnsphere-ai/src/components/ClassManagerModal.jsx - API client → HTTP backend: sends HTTP requests
- HTTP backend → Assessment evaluation: invokes
backend/server.py - HTTP backend → PDF reports: uses
backend/server.py - HTTP backend → Evaluation storage: uses
backend/server.py - HTTP backend → Curriculum validation: uses
backend/server.py - HTTP backend → Plagiarism detection: uses
backend/server.py - HTTP backend → Opportunity service: uses
backend/server.py - Assessment evaluation → AI services: requests AI analysis
backend/app/evaluation/evaluator.py - Evaluation repair → Application database: reads and writes
backend/app/evaluation/repair.py - Evaluation storage → Application database: persists evaluations
backend/app/evaluation/store.py - HTTP backend → Application database: reads and writes
backend/server.py - Opportunity service → Application database: syncs items
backend/app/opportunities_service.py - Plagiarism detection → Application database: uses storage
backend/app/plagiarism/detector.py - Trainer → Trainer validation: validation link unverified