How abhishekanandam-epam/gh-certifications-mock-drill works
GH Certifications Mock Drill is a browser-based certification study app. A learner selects a certification, then starts either an instant-feedback, resumable practice session or a timed mock exam; completed attempts are saved locally and surfaced as score history and weak-domain analytics. The client retrieves certification metadata, domains, and question sets from an Express API backed by per-certification JSON banks. The graph covers the main user workflow and its storage, grading, and question-delivery layers; unexcerpted internals are included only where the README documents their role.
Main entry points: Exam.tsx Mock Exam · App.tsx App Routes · Practice.tsx Practice Session · storage.ts Browser Progress Store
Components 21
Client Application
- App Routes
client/src/App.tsx - Certification Nav
client/src/components/NavBar.tsx - Certification Context
client/src/lib/certification.tsx - Client Data Types
client/src/types.ts
Study Sessions
- Practice Session
client/src/pages/Practice.tsx - Mock Exam
client/src/pages/Exam.tsx - Question Card
client/src/components/QuestionCard.tsx - Session Progress
client/src/components/ProgressBar.tsx - Exam Timer
client/src/components/Timer.tsx - Attempt Grading
client/src/lib/grading.ts - Score Summary
client/src/components/ScoreSummary.tsx
Progress Tracking
- Dashboard Analytics
client/src/pages/Dashboard.tsx - Attempt History
client/src/pages/History.tsx - Attempt Detail
client/src/pages/AttemptDetail.tsx - Browser Progress Store
client/src/lib/storage.ts
Question Delivery
- API Client
client/src/lib/api.ts - Question API
server/src/index.ts - Question Selection
server/src/shuffle.ts - Certification Data Loader
server/src/data.ts - Question Banks
server/data
Other components
- Learner
Connections 31
- Learner → App Routes: opens app
README.md - App Routes → Certification Context: provides context
client/src/App.tsx - App Routes → Practice Session: routes to
client/src/App.tsx - App Routes → Mock Exam: routes to
client/src/App.tsx - App Routes → Dashboard Analytics: routes to
client/src/App.tsx - App Routes → Attempt History: routes to
client/src/App.tsx - App Routes → Attempt Detail: routes to
client/src/App.tsx - Certification Nav → Certification Context: reads selection
client/src/components/NavBar.tsx - Certification Context → API Client: fetches certifications
client/src/lib/certification.tsx - Certification Context → Browser Progress Store: loads and saves choice
client/src/lib/certification.tsx - Practice Session → API Client: fetches domains and questions
client/src/pages/Practice.tsx - Mock Exam → API Client: fetches domains and questions
client/src/pages/Exam.tsx - Practice Session → Browser Progress Store: saves session and attempt
client/src/pages/Practice.tsx - Mock Exam → Browser Progress Store: saves attempt
client/src/pages/Exam.tsx - Practice Session → Attempt Grading: builds attempt
client/src/pages/Practice.tsx - Mock Exam → Attempt Grading: builds attempt
client/src/pages/Exam.tsx - Practice Session → Question Card: renders question
client/src/pages/Practice.tsx - Mock Exam → Question Card: renders question
client/src/pages/Exam.tsx - Practice Session → Session Progress: renders progress
client/src/pages/Practice.tsx - Mock Exam → Session Progress: renders progress
client/src/pages/Exam.tsx - Mock Exam → Exam Timer: starts countdown
client/src/pages/Exam.tsx - Practice Session → Score Summary: shows result
client/src/pages/Practice.tsx - Mock Exam → Score Summary: shows result
client/src/pages/Exam.tsx - Dashboard Analytics → API Client: fetches domains
client/src/pages/Dashboard.tsx - Dashboard Analytics → Browser Progress Store: reads progress
client/src/pages/Dashboard.tsx - Attempt History → Browser Progress Store: reads attempts
client/src/pages/History.tsx - Attempt Detail → Browser Progress Store: loads attempt
client/src/pages/AttemptDetail.tsx - API Client → Question API: requests API
client/src/lib/api.ts - Question API → Certification Data Loader: loads certification content
server/src/index.ts - Question API → Question Selection: shuffles and draws
server/src/index.ts - Certification Data Loader → Question Banks: reads JSON banks
server/src/data.ts