How andycheng0224/radiographer-exam-bank works
This is a React-based radiographer exam question bank. The main learner workflow is to choose a subject and year range, load matching questions, take a timed quiz, review the result, and continue with saved wrong or bookmarked questions. Browser storage supports drafts and study records; growth and recommendations provide a separate progress-tracking branch. The excerpts and source index establish the main route, data, scoring, and storage links; some unsampled page internals are represented at page level.
Main entry points: App.jsx SPA router · storageUtils.js Study record storage · questionDataLoader.js Question data loader · QuizPage.jsx Timed quiz
Components 29
Application routes
- SPA router
src/App.jsx - Question bank home
src/pages/HomePage.jsx - Exam catalog
src/pages/ExamCatalogPage.jsx - Public info pages
src/pages/PublicInfoPage.jsx - Settings
src/pages/SettingsPage.jsx
Exam practice
- Timed quiz
src/pages/QuizPage.jsx - Quiz draft state
src/utils/quizSessionUtils.js - Scoring and answers
src/utils/quizUtils.js - Quiz results
src/pages/ResultPage.jsx - Question detail
src/pages/QuestionDetailPage.jsx - Question rendering
src/components/QuestionContent.jsx
Review and progress
- Wrong book
src/pages/WrongBookPage.jsx - Bookmarked questions
src/pages/BookmarkPage.jsx - Review selection
src/pages/WrongReviewSelectPage.jsx - Wrong-question quiz
src/pages/WrongReviewQuizPage.jsx - Review results
src/pages/WrongReviewResultPage.jsx - Review question logic
src/utils/wrongReviewUtils.js - Growth dashboard
src/pages/GrowthPage.jsx - Study analytics
src/utils/growthUtils.js - Study recommendations
src/utils/recommendationUtils.js
Question data
- Question data loader
src/utils/questionDataLoader.js - Static question files
- Subject definitions
src/constants/subjects.js - Subject normalization
src/utils/subjectUtils.js
Shared services
- Study record storage
src/utils/storageUtils.js - Browser localStorage
src/utils/browserStorage.js - Shared navigation UI
src/components/Navbar.jsx - Back navigation
src/components/BackLink.jsx
Other components
- Learner
Connections 45
- Learner → SPA router: opens routes
src/App.jsx - SPA router → Question bank home: routes to
src/App.jsx - SPA router → Exam catalog: routes to
src/App.jsx - SPA router → Public info pages: routes to
src/App.jsx - SPA router → Settings: routes to
src/App.jsx - SPA router → Timed quiz: routes to
src/App.jsx - SPA router → Quiz results: routes to
src/App.jsx - SPA router → Question detail: routes to
src/App.jsx - SPA router → Wrong book: routes to
src/App.jsx - SPA router → Bookmarked questions: routes to
src/App.jsx - SPA router → Review selection: routes to
src/App.jsx - SPA router → Wrong-question quiz: routes to
src/App.jsx - SPA router → Review results: routes to
src/App.jsx - SPA router → Growth dashboard: routes to
src/App.jsx - Question bank home → Question data loader: loads metadata
src/pages/HomePage.jsx - Question bank home → Study record storage: reads study stats
src/pages/HomePage.jsx - Timed quiz → Question data loader: loads questions
src/pages/QuizPage.jsx - Timed quiz → Scoring and answers: calculates results
src/pages/QuizPage.jsx - Timed quiz → Quiz draft state: saves draft
src/pages/QuizPage.jsx - Timed quiz → Study record storage: records answers
src/pages/QuizPage.jsx - Quiz results → Scoring and answers: uses scoring
src/pages/ResultPage.jsx - Quiz results → Study record storage: reads records
src/pages/ResultPage.jsx - Question detail → Question data loader: loads question
src/pages/QuestionDetailPage.jsx - Question detail → Question rendering: renders question
src/pages/QuestionDetailPage.jsx - Wrong book → Question data loader: resolves questions
src/pages/WrongBookPage.jsx - Wrong book → Study record storage: reads wrong records
src/pages/WrongBookPage.jsx - Bookmarked questions → Question data loader: resolves questions
src/pages/BookmarkPage.jsx - Bookmarked questions → Study record storage: reads bookmarks
src/pages/BookmarkPage.jsx - Review selection → Review question logic: selects questions
src/pages/WrongReviewSelectPage.jsx - Wrong-question quiz → Review question logic: builds review set
src/pages/WrongReviewQuizPage.jsx - Wrong-question quiz → Question data loader: loads questions
src/pages/WrongReviewQuizPage.jsx - Wrong-question quiz → Scoring and answers: calculates results
src/pages/WrongReviewQuizPage.jsx - Wrong-question quiz → Study record storage: records answers
src/pages/WrongReviewQuizPage.jsx - Review results → Study record storage: reads records
src/pages/WrongReviewResultPage.jsx - Growth dashboard → Study analytics: summarizes activity
src/pages/GrowthPage.jsx - Growth dashboard → Study recommendations: gets guidance
src/pages/GrowthPage.jsx - Study analytics → Study record storage: reads study history
src/utils/growthUtils.js - Question data loader → Static question files: fetches JSON
README.md - Question data loader → Subject definitions: normalizes subjects
src/utils/questionDataLoader.js - Question data loader → Subject normalization: normalizes keys
src/utils/questionDataLoader.js - Study record storage → Browser localStorage: reads and writes
src/utils/storageUtils.js - Timed quiz → Question rendering: renders questions
src/pages/QuizPage.jsx - Timed quiz → Shared navigation UI: uses navigation
src/pages/QuizPage.jsx - Question bank home → Shared navigation UI: uses navigation
src/pages/HomePage.jsx - Review question logic → Study record storage: reads review data
src/utils/wrongReviewUtils.js