# rounak-56/career-wallah architecture

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

- Interactive diagram: https://gitdiagram.com/rounak-56/career-wallah
- Repository: https://github.com/rounak-56/career-wallah

## Overview

CareerWallah is a multilingual career-guidance app with separate learner and hiring entry paths. The visible learner journey runs from role selection and profile onboarding through profile parsing and into learner tools for mentoring, work exposure, goal planning, and questions. LearnerApp coordinates those tools and keeps profile and booked-session state in the UI. The source index documents the major screens and their imports; because the README is empty and server implementation details were not excerpted, backend behavior beyond the shown parse request is not mapped.

Main entry points: [`src/components/learner/LearnerApp.tsx`](https://github.com/rounak-56/career-wallah/blob/main/src/components/learner/LearnerApp.tsx) (Learner coordinator), [`src/App.tsx`](https://github.com/rounak-56/career-wallah/blob/main/src/App.tsx) (Role selection), [`src/components/OnboardingPrompt.tsx`](https://github.com/rounak-56/career-wallah/blob/main/src/components/OnboardingPrompt.tsx) (Profile onboarding), [`src/components/learner/CounsellorsTab.tsx`](https://github.com/rounak-56/career-wallah/blob/main/src/components/learner/CounsellorsTab.tsx) (Mentor directory)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Entry and onboarding"]
  node_app["Role selection<br/>[App.tsx]"]
  node_onboarding["Profile onboarding"]
  node_parse{{"Profile parse API"}}
  node_result["Parsed profile"]
end

subgraph group_learner["Learner workspace"]
  node_learnerapp["Learner coordinator<br/>[LearnerApp.tsx]"]
  node_navbar["Learner navigation<br/>[LearnerNavbar.tsx]"]
  node_counsellors["Mentor directory<br/>[CounsellorsTab.tsx]"]
  node_booking["Session booking<br/>[BookingModal.tsx]"]
  node_work["Work exposure<br/>[WorkTab.tsx]"]
  node_roadmap["Goals and roadmap"]
  node_doubts["Ask a doubt<br/>[AskDoubtTab.tsx]"]
  node_practice["Practice arena"]
end

subgraph group_shared["Shared UI and domain"]
  node_voice["Voice input"]
  node_languageprompt["Language prompt"]
  node_languagesettings["Language settings"]
  node_translations["Translations<br/>[translations.ts]"]
  node_learnerdomain["Learner data types<br/>[learner.ts]"]
end

node_user(("Visitor"))

node_user -->|"starts"| node_app
node_app -->|"opens"| node_onboarding
node_app -->|"shows"| node_result
node_app -->|"opens"| node_learnerapp
node_onboarding -->|"requests parsing"| node_parse
node_onboarding -->|"passes parsed data"| node_result
node_onboarding -->|"uses"| node_voice
node_learnerapp -->|"renders"| node_navbar
node_learnerapp -->|"routes tab"| node_counsellors
node_learnerapp -->|"routes tab"| node_work
node_learnerapp -->|"routes tab"| node_roadmap
node_learnerapp -->|"routes tab"| node_doubts
node_counsellors -->|"opens"| node_booking
node_doubts -->|"uses"| node_voice
node_practice -->|"uses"| node_voice
node_app -->|"renders"| node_languageprompt
node_app -->|"renders"| node_languagesettings
node_learnerapp -->|"renders"| node_languagesettings
node_onboarding -->|"uses"| node_translations
node_learnerapp -->|"uses"| node_translations
node_roadmap -->|"uses types"| node_learnerdomain
node_counsellors -->|"uses types"| node_learnerdomain

click node_app "https://github.com/rounak-56/career-wallah/blob/main/src/App.tsx"
click node_onboarding "https://github.com/rounak-56/career-wallah/blob/main/src/components/OnboardingPrompt.tsx"
click node_result "https://github.com/rounak-56/career-wallah/blob/main/src/components/ParsedResultCard.tsx"
click node_learnerapp "https://github.com/rounak-56/career-wallah/blob/main/src/components/learner/LearnerApp.tsx"
click node_navbar "https://github.com/rounak-56/career-wallah/blob/main/src/components/learner/LearnerNavbar.tsx"
click node_counsellors "https://github.com/rounak-56/career-wallah/blob/main/src/components/learner/CounsellorsTab.tsx"
click node_booking "https://github.com/rounak-56/career-wallah/blob/main/src/components/learner/BookingModal.tsx"
click node_work "https://github.com/rounak-56/career-wallah/blob/main/src/components/learner/WorkTab.tsx"
click node_roadmap "https://github.com/rounak-56/career-wallah/blob/main/src/components/learner/RoadmapProfileTab.tsx"
click node_doubts "https://github.com/rounak-56/career-wallah/blob/main/src/components/learner/AskDoubtTab.tsx"
click node_practice "https://github.com/rounak-56/career-wallah/blob/main/src/components/learner/PracticeArenaTab.tsx"
click node_voice "https://github.com/rounak-56/career-wallah/blob/main/src/components/VoiceInputButton.tsx"
click node_languageprompt "https://github.com/rounak-56/career-wallah/blob/main/src/components/LanguagePromptModal.tsx"
click node_languagesettings "https://github.com/rounak-56/career-wallah/blob/main/src/components/LanguageSettingsModal.tsx"
click node_translations "https://github.com/rounak-56/career-wallah/blob/main/src/utils/translations.ts"
click node_learnerdomain "https://github.com/rounak-56/career-wallah/blob/main/src/types/learner.ts"

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_app,node_onboarding,node_parse,node_result toneBlue
class node_learnerapp,node_navbar,node_counsellors,node_booking,node_work,node_roadmap,node_doubts,node_practice toneAmber
class node_voice,node_languageprompt,node_languagesettings,node_translations,node_learnerdomain toneMint
class node_user toneIndigo
```

## Components

### Entry and onboarding

- [Role selection](https://github.com/rounak-56/career-wallah/blob/main/src/App.tsx): `src/App.tsx`
- [Profile onboarding](https://github.com/rounak-56/career-wallah/blob/main/src/components/OnboardingPrompt.tsx): `src/components/OnboardingPrompt.tsx`
- **Profile parse API**
- [Parsed profile](https://github.com/rounak-56/career-wallah/blob/main/src/components/ParsedResultCard.tsx): `src/components/ParsedResultCard.tsx`

### Learner workspace

- [Learner coordinator](https://github.com/rounak-56/career-wallah/blob/main/src/components/learner/LearnerApp.tsx): `src/components/learner/LearnerApp.tsx`
- [Learner navigation](https://github.com/rounak-56/career-wallah/blob/main/src/components/learner/LearnerNavbar.tsx): `src/components/learner/LearnerNavbar.tsx`
- [Mentor directory](https://github.com/rounak-56/career-wallah/blob/main/src/components/learner/CounsellorsTab.tsx): `src/components/learner/CounsellorsTab.tsx`
- [Session booking](https://github.com/rounak-56/career-wallah/blob/main/src/components/learner/BookingModal.tsx): `src/components/learner/BookingModal.tsx`
- [Work exposure](https://github.com/rounak-56/career-wallah/blob/main/src/components/learner/WorkTab.tsx): `src/components/learner/WorkTab.tsx`
- [Goals and roadmap](https://github.com/rounak-56/career-wallah/blob/main/src/components/learner/RoadmapProfileTab.tsx): `src/components/learner/RoadmapProfileTab.tsx`
- [Ask a doubt](https://github.com/rounak-56/career-wallah/blob/main/src/components/learner/AskDoubtTab.tsx): `src/components/learner/AskDoubtTab.tsx`
- [Practice arena](https://github.com/rounak-56/career-wallah/blob/main/src/components/learner/PracticeArenaTab.tsx): `src/components/learner/PracticeArenaTab.tsx`

### Shared UI and domain

- [Voice input](https://github.com/rounak-56/career-wallah/blob/main/src/components/VoiceInputButton.tsx): `src/components/VoiceInputButton.tsx`
- [Language prompt](https://github.com/rounak-56/career-wallah/blob/main/src/components/LanguagePromptModal.tsx): `src/components/LanguagePromptModal.tsx`
- [Language settings](https://github.com/rounak-56/career-wallah/blob/main/src/components/LanguageSettingsModal.tsx): `src/components/LanguageSettingsModal.tsx`
- [Translations](https://github.com/rounak-56/career-wallah/blob/main/src/utils/translations.ts): `src/utils/translations.ts`
- [Learner data types](https://github.com/rounak-56/career-wallah/blob/main/src/types/learner.ts): `src/types/learner.ts`

### Other components

- **Visitor**

## Connections

- Visitor → Role selection: starts
- Role selection → Profile onboarding: opens (evidence: `src/App.tsx`)
- Role selection → Parsed profile: shows (evidence: `src/App.tsx`)
- Role selection → Learner coordinator: opens (evidence: `src/App.tsx`)
- Profile onboarding → Profile parse API: requests parsing (evidence: `src/components/OnboardingPrompt.tsx`)
- Profile onboarding → Parsed profile: passes parsed data (evidence: `src/components/OnboardingPrompt.tsx`)
- Profile onboarding → Voice input: uses (evidence: `src/components/OnboardingPrompt.tsx`)
- Learner coordinator → Learner navigation: renders (evidence: `src/components/learner/LearnerApp.tsx`)
- Learner coordinator → Mentor directory: routes tab (evidence: `src/components/learner/LearnerApp.tsx`)
- Learner coordinator → Work exposure: routes tab (evidence: `src/components/learner/LearnerApp.tsx`)
- Learner coordinator → Goals and roadmap: routes tab (evidence: `src/components/learner/LearnerApp.tsx`)
- Learner coordinator → Ask a doubt: routes tab (evidence: `src/components/learner/LearnerApp.tsx`)
- Mentor directory → Session booking: opens (evidence: `src/components/learner/CounsellorsTab.tsx`)
- Ask a doubt → Voice input: uses (evidence: `src/components/learner/AskDoubtTab.tsx`)
- Practice arena → Voice input: uses (evidence: `src/components/learner/PracticeArenaTab.tsx`)
- Role selection → Language prompt: renders (evidence: `src/App.tsx`)
- Role selection → Language settings: renders (evidence: `src/App.tsx`)
- Learner coordinator → Language settings: renders (evidence: `src/components/learner/LearnerApp.tsx`)
- Profile onboarding → Translations: uses (evidence: `src/components/OnboardingPrompt.tsx`)
- Learner coordinator → Translations: uses (evidence: `src/components/learner/LearnerApp.tsx`)
- Goals and roadmap → Learner data types: uses types (evidence: `src/types/learner.ts`)
- Mentor directory → Learner data types: uses types (evidence: `src/types/learner.ts`)
