How jlakkineni25/quizzify works
Quizzify is a role-based quiz platform: teachers create and manage quizzes, while students browse or join, take assessments, and view results. The React client routes these workflows through a shared API client to an Express/MongoDB backend; authentication and user profiles support both roles. The graph also preserves subject organization, quiz repository, and performance/profile capabilities. Some frontend-to-API links are dashed because the excerpts show client requests but not their matching backend endpoint calls; analytics details are documented but their implementation was not sampled.
Main entry points: App.jsx Routes and pages · axiosConfig.js API client · server.js Express server · Profile.jsx Profile
Components 34
React client
- Routes and pages
frontend/src/App.jsx - API client
frontend/src/api/axiosConfig.js - Landing page
frontend/src/pages/LandingPage.jsx
Identity and profiles
- Session context
frontend/src/context/AuthContext.jsx - Login
frontend/src/pages/auth/Login.jsx - Registration
frontend/src/pages/auth/Register.jsx - Profile
frontend/src/pages/Profile.jsx - Student profile
frontend/src/pages/StudentProfileView.jsx - Teacher profile
frontend/src/pages/TeacherProfileView.jsx
Quiz workflows
- Teacher dashboard
frontend/src/pages/teacher/TeacherHome.jsx - Quiz details
frontend/src/pages/teacher/CreateQuizDetails.jsx - Question authoring
frontend/src/pages/teacher/AddQuizQuestions.jsx - Quiz editing
frontend/src/pages/teacher/EditQuizDetails.jsx - Question editor
frontend/src/components/EditQuestionModal.jsx - Quiz repository
frontend/src/pages/Repository.jsx - Quiz join
frontend/src/pages/student/StudentJoinQuiz.jsx - Quiz attempt
frontend/src/pages/student/StudentAttemptQuiz.jsx - Attempt results
frontend/src/pages/student/StudentQuizResults.jsx - Subject manager
frontend/src/components/SubjectsModal.jsx
API and access
- Express server
backend/server.js - Quiz routes
backend/routes/quizRoutes.js - Auth routes
backend/routes/authRoutes.js - User routes
backend/routes/userRoutes.js - Attempt routes
backend/routes/attemptRoutes.js - Subject routes
backend/routes/subjectRoutes.js - JWT protection
backend/middleware/authMiddleware.js - Quiz operations
backend/controllers/quizController.js - Authentication
backend/controllers/authController.js - User profiles
backend/controllers/userController.js - Attempt history
backend/controllers/attemptController.js - Subject operations
backend/controllers/subjectController.js
Persistent data
- Quiz records
backend/models/Quiz.js
Other components
- Teacher
- Student
Connections 48
- Routes and pages → Landing page: routes to
frontend/src/App.jsx - Routes and pages → Login: routes to
frontend/src/App.jsx - Routes and pages → Registration: routes to
frontend/src/App.jsx - Routes and pages → Teacher dashboard: routes to
frontend/src/App.jsx - Routes and pages → Quiz details: routes to
frontend/src/App.jsx - Routes and pages → Question authoring: routes to
frontend/src/App.jsx - Routes and pages → Quiz editing: routes to
frontend/src/App.jsx - Routes and pages → Quiz repository: routes to
frontend/src/App.jsx - Routes and pages → Quiz join: routes to
frontend/src/App.jsx - Routes and pages → Quiz attempt: routes to
frontend/src/App.jsx - Routes and pages → Attempt results: routes to
frontend/src/App.jsx - Routes and pages → Profile: routes to
frontend/src/App.jsx - Teacher → Teacher dashboard: uses
- Teacher → Quiz details: creates
- Teacher → Question authoring: authors
- Teacher → Quiz editing: manages
- Student → Quiz repository: browses
- Student → Quiz join: joins
- Student → Quiz attempt: takes
- Quiz editing → Question editor: uses
frontend/src/components/EditQuestionModal.jsx - Teacher dashboard → Subject manager: uses
frontend/src/pages/teacher/TeacherHome.jsx - Quiz repository → API client: requests repository
frontend/src/pages/Repository.jsx - Quiz details → API client: sends quiz data
frontend/src/pages/teacher/CreateQuizDetails.jsx - Question authoring → API client: sends questions
frontend/src/pages/teacher/AddQuizQuestions.jsx - Quiz attempt → API client: submits attempt
frontend/src/pages/student/StudentAttemptQuiz.jsx - Login → API client: requests login
frontend/src/pages/auth/Login.jsx - Registration → API client: requests registration
frontend/src/pages/auth/Register.jsx - Login → Session context: sets session
frontend/src/pages/auth/Login.jsx - Profile → Session context: reads session
frontend/src/pages/Profile.jsx - Profile → Student profile: renders role view
frontend/src/pages/Profile.jsx - Profile → Teacher profile: renders role view
frontend/src/pages/Profile.jsx - Student profile → API client: requests profile data
frontend/src/pages/StudentProfileView.jsx - Teacher profile → API client: requests profile data
frontend/src/pages/TeacherProfileView.jsx - API client → Express server: sends HTTP requests
- Express server → Quiz routes: mounts
backend/server.js - Express server → Auth routes: mounts
backend/server.js - Express server → User routes: mounts
backend/server.js - Express server → Attempt routes: mounts
backend/server.js - Express server → Subject routes: mounts
backend/server.js - Quiz routes → Quiz operations: dispatches
backend/routes/quizRoutes.js - Auth routes → Authentication: dispatches
backend/routes/authRoutes.js - User routes → User profiles: dispatches
backend/routes/userRoutes.js - Attempt routes → Attempt history: dispatches
backend/routes/attemptRoutes.js - Subject routes → Subject operations: dispatches
backend/routes/subjectRoutes.js - Quiz routes → JWT protection: protects routes
backend/routes/quizRoutes.js - User routes → JWT protection: protects routes
backend/routes/userRoutes.js - Subject routes → JWT protection: protects routes
backend/routes/subjectRoutes.js - Quiz operations → Quiz records: reads and writes
backend/controllers/quizController.js