How deeparajasabeson/claude-code works
The Interview Companion is a book-style interview-practice app: users browse chapters, attempt a question, reveal and compare a model answer, then track their rating or search the index. The React client fetches question content from an ASP.NET Core API, whose question-bank implementation reads the bundled JSON. Browser-local storage keeps practice progress and study mode. The README documents API routes, deployment, and observability; sampled source supports the client/API and question-bank flow, but does not show telemetry wiring.
Main entry points: App.tsx React app and routes · QuestionPage.tsx Question practice · api.ts API client and cache · ContentsPage.tsx Contents and progress
Components 18
Practice interface
- React app and routes
src/interview-prep-web/src/App.tsx - Chapter browsing
src/interview-prep-web/src/pages/ChapterPage.tsx - Contents and progress
src/interview-prep-web/src/pages/ContentsPage.tsx - Question practice
src/interview-prep-web/src/pages/QuestionPage.tsx - Index search
src/interview-prep-web/src/pages/SearchPage.tsx - Book presentation
src/interview-prep-web/src/components/Book.tsx - Timer and status UI
src/interview-prep-web/src/components/Bits.tsx - Navigation controls
src/interview-prep-web/src/components/TopBar.tsx - API client and cache
src/interview-prep-web/src/api.ts
Question API
- Minimal API routes
src/InterviewPrep.Api/Endpoints/QuestionEndpoints.cs - API configuration
src/InterviewPrep.Api/Program.cs
Question content
- Question-bank contract
src/InterviewPrep.Api/Services/IQuestionBank.cs - JSON question bank
src/InterviewPrep.Api/Services/JsonQuestionBank.cs - Questions and answers
src/InterviewPrep.Api/Data/questions.json
Practice state
- Progress and study mode
src/interview-prep-web/src/store.ts
Other components
- Learner
- Browser
- Browser localStorage
Connections 25
- Learner → Browser: uses
README.md - Browser → React app and routes: opens
README.md - React app and routes → Chapter browsing: routes to
src/interview-prep-web/src/App.tsx - React app and routes → Contents and progress: routes to
src/interview-prep-web/src/App.tsx - React app and routes → Question practice: routes to
src/interview-prep-web/src/App.tsx - React app and routes → Index search: routes to
src/interview-prep-web/src/App.tsx - Chapter browsing → API client and cache: fetches chapter
src/interview-prep-web/src/pages/ChapterPage.tsx - Contents and progress → API client and cache: fetches categories
src/interview-prep-web/src/pages/ContentsPage.tsx - Question practice → API client and cache: fetches questions
src/interview-prep-web/src/pages/QuestionPage.tsx - Index search → API client and cache: searches questions
src/interview-prep-web/src/pages/SearchPage.tsx - Chapter browsing → Book presentation: renders spread
src/interview-prep-web/src/pages/ChapterPage.tsx - Contents and progress → Book presentation: renders spread
src/interview-prep-web/src/pages/ContentsPage.tsx - Question practice → Book presentation: renders spread
src/interview-prep-web/src/pages/QuestionPage.tsx - Index search → Book presentation: renders spread
src/interview-prep-web/src/pages/SearchPage.tsx - Question practice → Timer and status UI: renders timer
src/interview-prep-web/src/pages/QuestionPage.tsx - Question practice → Progress and study mode: reads and marks
src/interview-prep-web/src/pages/QuestionPage.tsx - Contents and progress → Progress and study mode: reads progress
src/interview-prep-web/src/pages/ContentsPage.tsx - Navigation controls → Progress and study mode: controls study mode
src/interview-prep-web/src/components/TopBar.tsx - Progress and study mode → Browser localStorage: persists state
src/interview-prep-web/src/store.ts - API client and cache → Minimal API routes: requests API
README.md - API configuration → Minimal API routes: maps routes
README.md - API configuration → JSON question bank: registers implementation
src/InterviewPrep.Api/Program.cs - Minimal API routes → Question-bank contract: queries bank
src/InterviewPrep.Api/Endpoints/QuestionEndpoints.cs - JSON question bank → Question-bank contract: implements
src/InterviewPrep.Api/Services/JsonQuestionBank.cs - JSON question bank → Questions and answers: reads content
README.md