# akankshk08/placeprep architecture

> Architecture diagram of the GitHub repository akankshk08/placeprep, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/akankshk08/placeprep
- Repository: https://github.com/akankshk08/placeprep

## Overview

PlacePrep is a browser-based placement-preparation app: students select a company, explore company-specific preparation material, practice interviews and assessments, and use standalone learning, resume, and planning tools. The app keeps user data in browser storage and sends AI requests directly to Gemini with the user-provided key. The graph preserves the documented feature areas; some section-to-app routing is not visible in the excerpts, so those links are marked unverified rather than inferred as calls.

Main entry points: [`src/App.jsx`](https://github.com/akankshk08/placeprep/blob/main/src/App.jsx) (App shell), [`src/components/sections/AILearningHub.jsx`](https://github.com/akankshk08/placeprep/blob/main/src/components/sections/AILearningHub.jsx) (AI learning hub), [`src/context/AppContext.jsx`](https://github.com/akankshk08/placeprep/blob/main/src/context/AppContext.jsx) (App state), [`src/api/gemini.js`](https://github.com/akankshk08/placeprep/blob/main/src/api/gemini.js) (Gemini client)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_company["Company preparation"]
  node_company_search["Company search<br/>[CompanySearch.jsx]"]
  node_company_overview["Company overview"]
  node_products["Products and services"]
  node_hiring["Hiring process<br/>[HiringProcess.jsx]"]
  node_role_guide["Role guide<br/>[RoleGuide.jsx]"]
  node_important_subjects["Important subjects"]
end

subgraph group_learning["Learning and practice"]
  node_topic_learning["Topic learning"]
  node_ai_learning["AI learning hub<br/>[AILearningHub.jsx]"]
  node_coding["Coding practice"]
  node_aptitude["Aptitude practice"]
  node_interviews["Interview questions"]
  node_mock_tests["Mock tests"]
end

subgraph group_career["Career tools and planning"]
  node_resume_builder["Resume builder<br/>[ResumeBuilder.jsx]"]
  node_ats["ATS analysis<br/>[ATSAnalysis.jsx]"]
  node_roadmap["Preparation roadmap<br/>[Roadmap.jsx]"]
  node_resources["Learning resources<br/>[Resources.jsx]"]
  node_videos["YouTube resources<br/>[YouTubeVideos.jsx]"]
  node_tracker["Placement tracker"]
  node_bookmarks["Bookmarks<br/>[Bookmarks.jsx]"]
end

subgraph group_platform["App and services"]
  node_home["Home<br/>[HomePage.jsx]"]
  node_app["App shell<br/>[App.jsx]"]
  node_context["App state<br/>[AppContext.jsx]"]
  node_gemini_client["Gemini client<br/>[gemini.js]"]
  node_topic_api["Topic learning API<br/>[topicLearning.js]"]
  node_browser_storage[("Browser storage")]
  node_curated_videos["Curated video index"]
end

node_student(("Student"))
node_gemini{{"Google Gemini"}}

node_student -->|"opens"| node_home
node_home -->|"offers search"| node_company_search
node_company_search -->|"sets company"| node_context
node_context -->|"fetches sections"| node_gemini_client
node_gemini_client -->|"requests content"| node_gemini
node_app -->|"provides state"| node_context
node_app -->|"renders"| node_home
node_app -.->|"routes to"| node_company_overview
node_app -.->|"routes to"| node_products
node_app -.->|"routes to"| node_hiring
node_app -.->|"routes to"| node_role_guide
node_app -.->|"routes to"| node_important_subjects
node_app -.->|"routes to"| node_topic_learning
node_app -.->|"routes to"| node_ai_learning
node_app -.->|"routes to"| node_coding
node_app -.->|"routes to"| node_aptitude
node_app -.->|"routes to"| node_interviews
node_app -.->|"routes to"| node_mock_tests
node_app -.->|"routes to"| node_resume_builder
node_app -.->|"routes to"| node_ats
node_app -.->|"routes to"| node_roadmap
node_app -.->|"routes to"| node_resources
node_app -.->|"routes to"| node_videos
node_app -.->|"routes to"| node_tracker
node_app -.->|"routes to"| node_bookmarks
node_topic_learning -->|"requests lessons"| node_topic_api
node_topic_api -->|"uses client"| node_gemini_client
node_ai_learning -->|"requests AI"| node_gemini_client
node_ai_learning -->|"shows videos"| node_videos
node_ai_learning -->|"reads index"| node_curated_videos
node_context -->|"persists state"| node_browser_storage
node_gemini -.->|"returns generated content"| node_student

click node_home "https://github.com/akankshk08/placeprep/blob/main/src/components/HomePage.jsx"
click node_company_search "https://github.com/akankshk08/placeprep/blob/main/src/components/search/CompanySearch.jsx"
click node_app "https://github.com/akankshk08/placeprep/blob/main/src/App.jsx"
click node_context "https://github.com/akankshk08/placeprep/blob/main/src/context/AppContext.jsx"
click node_company_overview "https://github.com/akankshk08/placeprep/blob/main/src/components/sections/CompanyOverview.jsx"
click node_products "https://github.com/akankshk08/placeprep/blob/main/src/components/sections/ProductsServices.jsx"
click node_hiring "https://github.com/akankshk08/placeprep/blob/main/src/components/sections/HiringProcess.jsx"
click node_role_guide "https://github.com/akankshk08/placeprep/blob/main/src/components/sections/RoleGuide.jsx"
click node_important_subjects "https://github.com/akankshk08/placeprep/blob/main/src/components/sections/ImportantSubjects.jsx"
click node_topic_learning "https://github.com/akankshk08/placeprep/blob/main/src/components/sections/TopicLearningPage.jsx"
click node_ai_learning "https://github.com/akankshk08/placeprep/blob/main/src/components/sections/AILearningHub.jsx"
click node_coding "https://github.com/akankshk08/placeprep/blob/main/src/components/sections/CodingQuestions.jsx"
click node_aptitude "https://github.com/akankshk08/placeprep/blob/main/src/components/sections/AptitudeSection.jsx"
click node_interviews "https://github.com/akankshk08/placeprep/blob/main/src/components/sections/InterviewQuestions.jsx"
click node_mock_tests "https://github.com/akankshk08/placeprep/blob/main/src/components/sections/MockTestSection.jsx"
click node_resume_builder "https://github.com/akankshk08/placeprep/blob/main/src/components/sections/ResumeBuilder.jsx"
click node_ats "https://github.com/akankshk08/placeprep/blob/main/src/components/sections/ATSAnalysis.jsx"
click node_roadmap "https://github.com/akankshk08/placeprep/blob/main/src/components/sections/Roadmap.jsx"
click node_resources "https://github.com/akankshk08/placeprep/blob/main/src/components/sections/Resources.jsx"
click node_videos "https://github.com/akankshk08/placeprep/blob/main/src/components/sections/YouTubeVideos.jsx"
click node_tracker "https://github.com/akankshk08/placeprep/blob/main/src/components/sections/PlacementTracker.jsx"
click node_bookmarks "https://github.com/akankshk08/placeprep/blob/main/src/components/sections/Bookmarks.jsx"
click node_gemini_client "https://github.com/akankshk08/placeprep/blob/main/src/api/gemini.js"
click node_topic_api "https://github.com/akankshk08/placeprep/blob/main/src/api/topicLearning.js"
click node_curated_videos "https://github.com/akankshk08/placeprep/blob/main/src/data/curatedVideoIndex.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_company_search,node_company_overview,node_products,node_hiring,node_role_guide,node_important_subjects toneBlue
class node_topic_learning,node_ai_learning,node_coding,node_aptitude,node_interviews,node_mock_tests toneAmber
class node_resume_builder,node_ats,node_roadmap,node_resources,node_videos,node_tracker,node_bookmarks toneMint
class node_home,node_app,node_context,node_gemini_client,node_topic_api,node_browser_storage,node_curated_videos toneRose
class node_student,node_gemini toneIndigo
```

## Components

### Company preparation

- [Company search](https://github.com/akankshk08/placeprep/blob/main/src/components/search/CompanySearch.jsx): `src/components/search/CompanySearch.jsx`
- [Company overview](https://github.com/akankshk08/placeprep/blob/main/src/components/sections/CompanyOverview.jsx): `src/components/sections/CompanyOverview.jsx`
- [Products and services](https://github.com/akankshk08/placeprep/blob/main/src/components/sections/ProductsServices.jsx): `src/components/sections/ProductsServices.jsx`
- [Hiring process](https://github.com/akankshk08/placeprep/blob/main/src/components/sections/HiringProcess.jsx): `src/components/sections/HiringProcess.jsx`
- [Role guide](https://github.com/akankshk08/placeprep/blob/main/src/components/sections/RoleGuide.jsx): `src/components/sections/RoleGuide.jsx`
- [Important subjects](https://github.com/akankshk08/placeprep/blob/main/src/components/sections/ImportantSubjects.jsx): `src/components/sections/ImportantSubjects.jsx`

### Learning and practice

- [Topic learning](https://github.com/akankshk08/placeprep/blob/main/src/components/sections/TopicLearningPage.jsx): `src/components/sections/TopicLearningPage.jsx`
- [AI learning hub](https://github.com/akankshk08/placeprep/blob/main/src/components/sections/AILearningHub.jsx): `src/components/sections/AILearningHub.jsx`
- [Coding practice](https://github.com/akankshk08/placeprep/blob/main/src/components/sections/CodingQuestions.jsx): `src/components/sections/CodingQuestions.jsx`
- [Aptitude practice](https://github.com/akankshk08/placeprep/blob/main/src/components/sections/AptitudeSection.jsx): `src/components/sections/AptitudeSection.jsx`
- [Interview questions](https://github.com/akankshk08/placeprep/blob/main/src/components/sections/InterviewQuestions.jsx): `src/components/sections/InterviewQuestions.jsx`
- [Mock tests](https://github.com/akankshk08/placeprep/blob/main/src/components/sections/MockTestSection.jsx): `src/components/sections/MockTestSection.jsx`

### Career tools and planning

- [Resume builder](https://github.com/akankshk08/placeprep/blob/main/src/components/sections/ResumeBuilder.jsx): `src/components/sections/ResumeBuilder.jsx`
- [ATS analysis](https://github.com/akankshk08/placeprep/blob/main/src/components/sections/ATSAnalysis.jsx): `src/components/sections/ATSAnalysis.jsx`
- [Preparation roadmap](https://github.com/akankshk08/placeprep/blob/main/src/components/sections/Roadmap.jsx): `src/components/sections/Roadmap.jsx`
- [Learning resources](https://github.com/akankshk08/placeprep/blob/main/src/components/sections/Resources.jsx): `src/components/sections/Resources.jsx`
- [YouTube resources](https://github.com/akankshk08/placeprep/blob/main/src/components/sections/YouTubeVideos.jsx): `src/components/sections/YouTubeVideos.jsx`
- [Placement tracker](https://github.com/akankshk08/placeprep/blob/main/src/components/sections/PlacementTracker.jsx): `src/components/sections/PlacementTracker.jsx`
- [Bookmarks](https://github.com/akankshk08/placeprep/blob/main/src/components/sections/Bookmarks.jsx): `src/components/sections/Bookmarks.jsx`

### App and services

- [Home](https://github.com/akankshk08/placeprep/blob/main/src/components/HomePage.jsx): `src/components/HomePage.jsx`
- [App shell](https://github.com/akankshk08/placeprep/blob/main/src/App.jsx): `src/App.jsx`
- [App state](https://github.com/akankshk08/placeprep/blob/main/src/context/AppContext.jsx): `src/context/AppContext.jsx`
- [Gemini client](https://github.com/akankshk08/placeprep/blob/main/src/api/gemini.js): `src/api/gemini.js`
- [Topic learning API](https://github.com/akankshk08/placeprep/blob/main/src/api/topicLearning.js): `src/api/topicLearning.js`
- **Browser storage**
- [Curated video index](https://github.com/akankshk08/placeprep/blob/main/src/data/curatedVideoIndex.js): `src/data/curatedVideoIndex.js`

### Other components

- **Student**
- **Google Gemini**

## Connections

- Student → Home: opens (evidence: `README.md`)
- Home → Company search: offers search (evidence: `src/components/HomePage.jsx`)
- Company search → App state: sets company (evidence: `src/components/search/CompanySearch.jsx`)
- App state → Gemini client: fetches sections (evidence: `src/context/AppContext.jsx`)
- Gemini client → Google Gemini: requests content (evidence: `README.md`)
- App shell → App state: provides state (evidence: `src/App.jsx`)
- App shell → Home: renders (evidence: `src/App.jsx`)
- App shell → Company overview: routes to
- App shell → Products and services: routes to (evidence: `src/App.jsx`)
- App shell → Hiring process: routes to (evidence: `src/App.jsx`)
- App shell → Role guide: routes to (evidence: `src/App.jsx`)
- App shell → Important subjects: routes to (evidence: `src/App.jsx`)
- App shell → Topic learning: routes to
- App shell → AI learning hub: routes to (evidence: `src/App.jsx`)
- App shell → Coding practice: routes to
- App shell → Aptitude practice: routes to
- App shell → Interview questions: routes to
- App shell → Mock tests: routes to
- App shell → Resume builder: routes to (evidence: `src/App.jsx`)
- App shell → ATS analysis: routes to
- App shell → Preparation roadmap: routes to (evidence: `src/App.jsx`)
- App shell → Learning resources: routes to (evidence: `src/App.jsx`)
- App shell → YouTube resources: routes to (evidence: `src/App.jsx`)
- App shell → Placement tracker: routes to (evidence: `src/App.jsx`)
- App shell → Bookmarks: routes to (evidence: `src/App.jsx`)
- Topic learning → Topic learning API: requests lessons (evidence: `src/components/sections/TopicLearningPage.jsx`)
- Topic learning API → Gemini client: uses client (evidence: `src/api/topicLearning.js`)
- AI learning hub → Gemini client: requests AI (evidence: `src/components/sections/AILearningHub.jsx`)
- AI learning hub → YouTube resources: shows videos (evidence: `src/components/sections/AILearningHub.jsx`)
- AI learning hub → Curated video index: reads index (evidence: `src/components/sections/AILearningHub.jsx`)
- App state → Browser storage: persists state (evidence: `README.md`)
- Google Gemini → Student: returns generated content
