How faisal-albaba/graduationproject works
Quiz AI is a quiz and exam platform: users authenticate, upload study material to generate quizzes, manage or share exams, and submit answers. The React app coordinates authentication and exam state through a centralized API client; the repository also contains a Python extraction and generation service and an ASP.NET backend. The README documents product capabilities and frontend API routes, but the sampled backend excerpts do not establish how its controller, business, and data layers call one another. Those internal links are therefore omitted.
Main entry points: App.jsx Routes and health gate · service.js API client · ExamsProvider.jsx Exam actions and state · APIFile.py File generation API
Components 21
Web interface
- Routes and health gate
4-SourceCode/Interface/src/App.jsx - Sign-in and signup
4-SourceCode/Interface/src/components/Authform.jsx - Auth state
4-SourceCode/Interface/src/context/AuthContext.jsx - Account verification
4-SourceCode/Interface/src/components/Verifyaccount.jsx - Exam library
4-SourceCode/Interface/src/components/Side_bar.jsx - Quiz workspace
4-SourceCode/Interface/src/components/Quiz_main_page.jsx - Shared exam route
4-SourceCode/Interface/src/components/Shared_exam_route.jsx - Exam actions and state
4-SourceCode/Interface/src/context/ExamsProvider.jsx - API client
4-SourceCode/Interface/src/util/service.js
ASP.NET backend
- Quiz API
4-SourceCode/Backend/API's Layer/QuizAI API Layer/Controllers/QuizAIController.cs - Quiz business logic
4-SourceCode/Backend/Business Layer/QuizAI Business Layer/BusinessLayer.cs - Quiz data access
4-SourceCode/Backend/DataBack Layer/QuizAI DataBack Layer/DataBackLayer.cs
Quiz generation
- File generation API
4-SourceCode/Python_Files_Extraction/APIFile.py - Document text extraction
4-SourceCode/Python_Files_Extraction/Extractors/content_extractor_all.py - Format extractors
4-SourceCode/Python_Files_Extraction/Extractors - Quiz content creation
4-SourceCode/Python_Files_Extraction/content_creation_json.py
Identity demo
- JWT demo frontend
5-Testing/him-login-testing-stuff/testing codes1/frontend/src/App.js - JWT demo API
5-Testing/him-login-testing-stuff/testing codes1/backend/main.py - Demo user database
5-Testing/him-login-testing-stuff/testing codes1/backend/db.py
Other components
- Learner
- AI model service
Connections 22
- Learner → Routes and health gate: uses
4-SourceCode/Interface/src/App.jsx - Routes and health gate → Sign-in and signup: routes to
4-SourceCode/Interface/src/App.jsx - Routes and health gate → Exam library: renders
4-SourceCode/Interface/src/App.jsx - Routes and health gate → Quiz workspace: renders
4-SourceCode/Interface/src/App.jsx - Routes and health gate → Shared exam route: routes to
4-SourceCode/Interface/src/App.jsx - Sign-in and signup → API client: calls
4-SourceCode/Interface/src/components/Authform.jsx - Sign-in and signup → Auth state: uses
4-SourceCode/Interface/src/components/Authform.jsx - Routes and health gate → API client: checks health
4-SourceCode/Interface/src/App.jsx - Exam library → Exam actions and state: uses
4-SourceCode/Interface/src/components/Side_bar.jsx - Quiz workspace → Exam actions and state: uses
4-SourceCode/Interface/src/components/Quiz_main_page.jsx - Shared exam route → Exam actions and state: uses
4-SourceCode/Interface/src/components/Shared_exam_route.jsx - Exam actions and state → API client: calls
4-SourceCode/Interface/src/context/ExamsProvider.jsx - Account verification → API client: verifies with
4-SourceCode/Interface/src/components/Verifyaccount.jsx - API client → Quiz API: sends API requests
README.md - Quiz API → Quiz business logic
- Quiz business logic → Quiz data access
- File generation API → Document text extraction: extracts text
4-SourceCode/Python_Files_Extraction/APIFile.py - Document text extraction → Format extractors: dispatches by format
4-SourceCode/Python_Files_Extraction/Extractors/content_extractor_all.py - File generation API → Quiz content creation: generates quiz content
4-SourceCode/Python_Files_Extraction/APIFile.py - File generation API → AI model service: requests completion
4-SourceCode/Python_Files_Extraction/APIFile.py - JWT demo frontend → JWT demo API
- JWT demo API → Demo user database: uses database
5-Testing/him-login-testing-stuff/testing codes1/backend/main.py