# cartoonwithindian/career_wallah architecture

> Architecture diagram of the GitHub repository cartoonwithindian/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/cartoonwithindian/career_wallah
- Repository: https://github.com/cartoonwithindian/career_wallah
- Video tour (about a minute): https://gitdiagram.com/cartoonwithindian/career_wallah/video

## Overview

Career Wallah is a FastAPI backend for student career discovery and growth, with counsellor and industry-professional workflows. The main user journey is profile creation, opportunity discovery and recommendations, roadmap planning, project sharing, and feedback that can inform improvement. The graph also preserves the documented language, notification, booking, and privacy-scoped guidance capabilities. Relationships are limited to those shown by excerpts, the source index, or the README; some route internals are unsampled, so their downstream links are not inferred.

Main entry points: [`backend/app/api/router.py`](https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/api/router.py) (REST API), [`backend/app/repositories`](https://github.com/cartoonwithindian/career_wallah/tree/main/backend/app/repositories) (Domain repositories), [`backend/app/services/counsellor_service.py`](https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/services/counsellor_service.py) (Counselling and bookings), [`backend/app/api/routes/opportunities.py`](https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/api/routes/opportunities.py) (Opportunity discovery)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_api["API and access"]
  node_api["REST API<br/>[router.py]"]
  node_profiles["Profiles and auth<br/>[students.py]"]
  node_language["Language support<br/>[language.py]"]
  node_notifications["Notifications<br/>[notifications.py]"]
end

subgraph group_discovery["Discovery and growth"]
  node_opportunities["Opportunity discovery<br/>[opportunities.py]"]
  node_recommendations["Recommendations<br/>[recommendations.py]"]
  node_decision["Decision engine<br/>[decision_engine.py]"]
  node_roadmaps["Career roadmaps<br/>[roadmap_service.py]"]
end

subgraph group_community["Projects and guidance"]
  node_projects["Project showcase<br/>[projects.py]"]
  node_feedback["Professional feedback<br/>[feedback.py]"]
  node_matching["Professional matching"]
  node_counselling["Counselling and bookings"]
end

subgraph group_platform["Data and integrations"]
  node_repositories["Domain repositories"]
  node_database[("Relational database<br/>[database.py]")]
  node_sarvam["Sarvam AI"]
  node_schemas["API schemas"]
end

node_student(("Student"))
node_professional(("Industry professional"))
node_counsellor(("Career counsellor"))
node_frontend["React frontend"]

node_student -->|"uses"| node_frontend
node_professional -->|"uses"| node_frontend
node_counsellor -->|"uses"| node_frontend
node_frontend -->|"calls"| node_api
node_api -->|"routes to"| node_profiles
node_api -->|"routes to"| node_opportunities
node_api -->|"routes to"| node_recommendations
node_api -->|"routes to"| node_projects
node_api -->|"routes to"| node_feedback
node_api -->|"routes to"| node_counselling
node_api -->|"routes to"| node_language
node_api -->|"routes to"| node_notifications
node_profiles -->|"accesses"| node_repositories
node_opportunities -->|"accesses"| node_repositories
node_recommendations -.->|"uses"| node_decision
node_roadmaps -->|"reads and writes"| node_repositories
node_roadmaps -->|"reads source data"| node_opportunities
node_projects -->|"accesses"| node_repositories
node_feedback -->|"accesses"| node_repositories
node_matching -.->|"matches"| node_professional
node_counselling -->|"reads and writes"| node_repositories
node_counselling -->|"notifies"| node_notifications
node_repositories -.->|"persists"| node_database
node_sarvam -.->|"supports"| node_language
node_api -.->|"validates payloads"| node_schemas

click node_api "https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/api/router.py"
click node_profiles "https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/api/routes/students.py"
click node_opportunities "https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/api/routes/opportunities.py"
click node_recommendations "https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/api/routes/recommendations.py"
click node_decision "https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/services/decision_engine.py"
click node_roadmaps "https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/services/roadmap_service.py"
click node_projects "https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/api/routes/projects.py"
click node_feedback "https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/api/routes/feedback.py"
click node_matching "https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/services/professional_matching_service.py"
click node_counselling "https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/services/counsellor_service.py"
click node_language "https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/api/routes/language.py"
click node_notifications "https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/api/routes/notifications.py"
click node_repositories "https://github.com/cartoonwithindian/career_wallah/tree/main/backend/app/repositories"
click node_database "https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/core/database.py"
click node_schemas "https://github.com/cartoonwithindian/career_wallah/tree/main/backend/app/schemas"

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_api,node_profiles,node_language,node_notifications,node_frontend toneBlue
class node_opportunities,node_recommendations,node_decision,node_roadmaps toneAmber
class node_projects,node_feedback,node_matching,node_counselling toneMint
class node_repositories,node_database,node_sarvam,node_schemas toneRose
class node_student,node_professional,node_counsellor toneIndigo
```

## Components

### API and access

- [REST API](https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/api/router.py): `backend/app/api/router.py`
- [Profiles and auth](https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/api/routes/students.py): `backend/app/api/routes/students.py`
- [Language support](https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/api/routes/language.py): `backend/app/api/routes/language.py`
- [Notifications](https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/api/routes/notifications.py): `backend/app/api/routes/notifications.py`

### Discovery and growth

- [Opportunity discovery](https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/api/routes/opportunities.py): `backend/app/api/routes/opportunities.py`
- [Recommendations](https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/api/routes/recommendations.py): `backend/app/api/routes/recommendations.py`
- [Decision engine](https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/services/decision_engine.py): `backend/app/services/decision_engine.py`
- [Career roadmaps](https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/services/roadmap_service.py): `backend/app/services/roadmap_service.py`

### Projects and guidance

- [Project showcase](https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/api/routes/projects.py): `backend/app/api/routes/projects.py`
- [Professional feedback](https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/api/routes/feedback.py): `backend/app/api/routes/feedback.py`
- [Professional matching](https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/services/professional_matching_service.py): `backend/app/services/professional_matching_service.py`
- [Counselling and bookings](https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/services/counsellor_service.py): `backend/app/services/counsellor_service.py`

### Data and integrations

- [Domain repositories](https://github.com/cartoonwithindian/career_wallah/tree/main/backend/app/repositories): `backend/app/repositories`
- [Relational database](https://github.com/cartoonwithindian/career_wallah/blob/main/backend/app/core/database.py): `backend/app/core/database.py`
- **Sarvam AI**
- [API schemas](https://github.com/cartoonwithindian/career_wallah/tree/main/backend/app/schemas): `backend/app/schemas`

### Other components

- **Student**
- **Industry professional**
- **Career counsellor**
- **React frontend**

## Connections

- Student → React frontend: uses
- Industry professional → React frontend: uses
- Career counsellor → React frontend: uses
- React frontend → REST API: calls
- REST API → Profiles and auth: routes to (evidence: `backend/app/api/router.py`)
- REST API → Opportunity discovery: routes to (evidence: `backend/app/api/router.py`)
- REST API → Recommendations: routes to (evidence: `backend/app/api/router.py`)
- REST API → Project showcase: routes to (evidence: `backend/app/api/router.py`)
- REST API → Professional feedback: routes to (evidence: `backend/app/api/router.py`)
- REST API → Counselling and bookings: routes to (evidence: `backend/app/api/router.py`)
- REST API → Language support: routes to (evidence: `backend/app/api/router.py`)
- REST API → Notifications: routes to (evidence: `backend/app/api/router.py`)
- Profiles and auth → Domain repositories: accesses (evidence: `backend/app/api/routes/students.py`)
- Opportunity discovery → Domain repositories: accesses (evidence: `backend/app/repositories/opportunity_repository.py`)
- Recommendations → Decision engine: uses
- Career roadmaps → Domain repositories: reads and writes (evidence: `backend/app/services/roadmap_service.py`)
- Career roadmaps → Opportunity discovery: reads source data (evidence: `backend/app/services/roadmap_service.py`)
- Project showcase → Domain repositories: accesses (evidence: `backend/app/api/routes/projects.py`)
- Professional feedback → Domain repositories: accesses (evidence: `backend/app/api/routes/feedback.py`)
- Professional matching → Industry professional: matches
- Counselling and bookings → Domain repositories: reads and writes (evidence: `backend/app/services/counsellor_service.py`)
- Counselling and bookings → Notifications: notifies (evidence: `backend/app/services/counsellor_service.py`)
- Domain repositories → Relational database: persists
- Sarvam AI → Language support: supports
- REST API → API schemas: validates payloads
