How adam-a-i/aiexamify works
Main Components Identification
a) Frontend Layer (React.js)
• Main components:
• Quiz Generation Interface
• Performance Analytics Dashboard
• Recommendation Display
• Video Resource Integration
b) Backend Layer (Node.js/Express)
• This in the middle
• API handling components:
• Quiz Generation Service
• Recommendation Engine
• Performance Analytics Service
c) External Services Layer
• At the bottom
• Include:
• Groq AI (LLama LLM API)
• YouTube Data API
Component Relationships
a) User Flow (Top to Bottom):
• User Input → Frontend → Backend → External APIs
• Response Flow: External APIs → Backend → Frontend → User Display
b) Data Flow:
• Text Input → Quiz Generation
• User Responses → Analytics Processing
• Performance Data → Recommendation Generation
• Topic Keywords → YouTube Video Fetching
Specific Implementation Details
Frontend Components (React):
src/components/main/
• Dropzone.jsx (File Input)
• Modal.jsx (UI Overlays)
• quiz/
• QuizPage.jsx (Quiz Interface)
• Result.jsx (Performance Display)
• Circle.jsx (UI Elements)
Backend Services:
src/backend/
• apiPrompt.js (API Integration)
Key Processes to Highlight
a) Quiz Generation Flow:
Text Input → LLM Processing → Quiz Structure → Frontend Rendering
b) Recommendation Flow:
User Performance → Analysis → Topic Identification → YouTube API → Video Suggestions
Technical Integration Points
Specific integration points:
• Vite build process
• Environment variable configuration
• API key management
• Response caching mechanisms