# akshaykrishnan-eng/launchpad architecture

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

- Interactive diagram: https://gitdiagram.com/akshaykrishnan-eng/launchpad
- Repository: https://github.com/akshaykrishnan-eng/launchpad

## Overview

Ellow Launchpad is a candidate career-launch platform, currently centered on account access, candidate onboarding/profile readiness, and manual resume and LinkedIn reviews. Candidates use the Next.js app; its server-side handlers and proxy call FastAPI, which applies domain services and persists records in PostgreSQL. Review requests debit credits and preserve the reviewed resume or LinkedIn URL context; staff administer review queues and other documented platform functions. README capabilities and routing provide links for unsampled areas; arrows without direct source evidence are omitted.

Main entry points: [`apps/api/app/db/session.py`](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/db/session.py) (PostgreSQL), [`apps/web/app/api/candidate/[...path]/route.ts`](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/web/app/api/candidate/%5B...path%5D/route.ts) (Server route handlers), [`apps/api/app/api/router.py`](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/api/router.py) (API router), [`apps/api/app/api/candidate.py`](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/api/candidate.py) (Candidate API)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Candidate web app"]
  node_webui["Next.js pages<br/>[page.tsx]"]
  node_webproxy["Server route handlers<br/>[route.ts]"]
  node_authroutes["Auth handlers<br/>[route.ts]"]
end

subgraph group_api["API and identity"]
  node_authapi["Authentication API<br/>[auth.py]"]
  node_candidateapi["Candidate API<br/>[candidate.py]"]
  node_adminapi["Admin API<br/>[admin.py]"]
  node_database[("PostgreSQL<br/>[session.py]")]
  node_router["API router<br/>[router.py]"]
  node_application["FastAPI application<br/>[main.py]"]
end

subgraph group_candidate["Candidate journey"]
  node_onboarding["Onboarding flow"]
  node_profile[("Candidate profile")]
  node_dashboard["Readiness dashboard<br/>[dashboard.py]"]
  node_events["Events and registration<br/>[event.py]"]
  node_interviews["Mock interviews<br/>[mock_interview.py]"]
  node_notifications["Notifications<br/>[notification.py]"]
end

subgraph group_reviews["Reviews and credits"]
  node_resumeui["Resume Centre<br/>[ResumeCentre.tsx]"]
  node_resumestorage[("Resume file storage<br/>[resume_storage.py]")]
  node_resumereview["Resume review workflow<br/>[resume_review.py]"]
  node_linkedinui["LinkedIn Centre<br/>[LinkedInCentre.tsx]"]
  node_linkedinreview["LinkedIn review workflow<br/>[linkedin_review.py]"]
  node_credits[("Credit ledger<br/>[credits.py]")]
end

subgraph group_operations["Platform operations"]
  node_adminui["Admin workspace<br/>[AdminShell.tsx]"]
end

node_browser(("Candidate / staff"))

node_browser -->|"uses"| node_webui
node_browser -->|"completes"| node_onboarding
node_webui -.->|"requests"| node_webproxy
node_onboarding -.->|"submits"| node_webproxy
node_browser -->|"authenticates"| node_authroutes
node_authroutes -->|"calls server-side"| node_authapi
node_webproxy -->|"calls server-side"| node_candidateapi
node_application -->|"mounts"| node_router
node_router -->|"routes"| node_authapi
node_router -->|"routes"| node_candidateapi
node_router -->|"routes"| node_adminapi
node_candidateapi -->|"requests data"| node_dashboard
node_candidateapi -->|"reads / writes"| node_profile
node_dashboard -.->|"derives readiness"| node_profile
node_browser -->|"manages resumes"| node_resumeui
node_resumeui -.->|"submits requests"| node_webproxy
node_resumereview -->|"checks and debits"| node_credits
node_resumereview -.->|"persists review"| node_database
node_browser -->|"manages profile"| node_linkedinui
node_linkedinui -.->|"submits requests"| node_webproxy
node_linkedinreview -->|"checks and debits"| node_credits
node_linkedinreview -.->|"persists review"| node_database
node_resumestorage -.->|"stores file bytes"| node_database
node_browser -.->|"administers"| node_adminui
node_adminui -.->|"requests admin actions"| node_adminapi
node_adminapi -.->|"reads / writes"| node_database
node_events -.->|"persists event data"| node_database
node_interviews -.->|"persists bookings"| node_database
node_notifications -.->|"persists notifications"| node_database

click node_webui "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/web/app/app/page.tsx"
click node_onboarding "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/web/features/onboarding/OnboardingJourney.tsx"
click node_webproxy "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/web/app/api/candidate/%5B...path%5D/route.ts"
click node_authroutes "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/web/app/api/auth/login/route.ts"
click node_authapi "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/api/auth.py"
click node_candidateapi "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/api/candidate.py"
click node_profile "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/models/candidate_profile.py"
click node_dashboard "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/services/dashboard.py"
click node_resumeui "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/web/features/resume/ResumeCentre.tsx"
click node_resumestorage "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/services/resume_storage.py"
click node_resumereview "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/services/resume_review.py"
click node_linkedinui "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/web/features/linkedin/LinkedInCentre.tsx"
click node_linkedinreview "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/services/linkedin_review.py"
click node_credits "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/services/credits.py"
click node_events "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/services/event.py"
click node_interviews "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/services/mock_interview.py"
click node_notifications "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/services/notification.py"
click node_adminui "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/web/features/admin/AdminShell.tsx"
click node_adminapi "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/api/admin.py"
click node_database "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/db/session.py"
click node_router "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/api/router.py"
click node_application "https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/main.py"

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_webui,node_webproxy,node_authroutes toneBlue
class node_authapi,node_candidateapi,node_adminapi,node_database,node_router,node_application toneAmber
class node_onboarding,node_profile,node_dashboard,node_events,node_interviews,node_notifications toneMint
class node_resumeui,node_resumestorage,node_resumereview,node_linkedinui,node_linkedinreview,node_credits toneRose
class node_adminui,node_browser toneIndigo
```

## Components

### Candidate web app

- [Next.js pages](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/web/app/app/page.tsx): `apps/web/app/app/page.tsx`
- [Server route handlers](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/web/app/api/candidate/%5B...path%5D/route.ts): `apps/web/app/api/candidate/[...path]/route.ts`
- [Auth handlers](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/web/app/api/auth/login/route.ts): `apps/web/app/api/auth/login/route.ts`

### API and identity

- [Authentication API](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/api/auth.py): `apps/api/app/api/auth.py`
- [Candidate API](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/api/candidate.py): `apps/api/app/api/candidate.py`
- [Admin API](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/api/admin.py): `apps/api/app/api/admin.py`
- [PostgreSQL](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/db/session.py): `apps/api/app/db/session.py`
- [API router](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/api/router.py): `apps/api/app/api/router.py`
- [FastAPI application](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/main.py): `apps/api/app/main.py`

### Candidate journey

- [Onboarding flow](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/web/features/onboarding/OnboardingJourney.tsx): `apps/web/features/onboarding/OnboardingJourney.tsx`
- [Candidate profile](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/models/candidate_profile.py): `apps/api/app/models/candidate_profile.py`
- [Readiness dashboard](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/services/dashboard.py): `apps/api/app/services/dashboard.py`
- [Events and registration](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/services/event.py): `apps/api/app/services/event.py`
- [Mock interviews](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/services/mock_interview.py): `apps/api/app/services/mock_interview.py`
- [Notifications](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/services/notification.py): `apps/api/app/services/notification.py`

### Reviews and credits

- [Resume Centre](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/web/features/resume/ResumeCentre.tsx): `apps/web/features/resume/ResumeCentre.tsx`
- [Resume file storage](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/services/resume_storage.py): `apps/api/app/services/resume_storage.py`
- [Resume review workflow](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/services/resume_review.py): `apps/api/app/services/resume_review.py`
- [LinkedIn Centre](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/web/features/linkedin/LinkedInCentre.tsx): `apps/web/features/linkedin/LinkedInCentre.tsx`
- [LinkedIn review workflow](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/services/linkedin_review.py): `apps/api/app/services/linkedin_review.py`
- [Credit ledger](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/api/app/services/credits.py): `apps/api/app/services/credits.py`

### Platform operations

- [Admin workspace](https://github.com/akshaykrishnan-eng/launchpad/blob/main/apps/web/features/admin/AdminShell.tsx): `apps/web/features/admin/AdminShell.tsx`

### Other components

- **Candidate / staff**

## Connections

- Candidate / staff → Next.js pages: uses
- Candidate / staff → Onboarding flow: completes
- Next.js pages → Server route handlers: requests
- Onboarding flow → Server route handlers: submits
- Candidate / staff → Auth handlers: authenticates
- Auth handlers → Authentication API: calls server-side
- Server route handlers → Candidate API: calls server-side
- FastAPI application → API router: mounts (evidence: `apps/api/app/main.py`)
- API router → Authentication API: routes (evidence: `apps/api/app/api/router.py`)
- API router → Candidate API: routes (evidence: `apps/api/app/api/router.py`)
- API router → Admin API: routes (evidence: `apps/api/app/api/router.py`)
- Candidate API → Readiness dashboard: requests data (evidence: `apps/api/app/api/candidate.py`)
- Candidate API → Candidate profile: reads / writes (evidence: `apps/api/app/api/candidate.py`)
- Readiness dashboard → Candidate profile: derives readiness
- Candidate / staff → Resume Centre: manages resumes
- Resume Centre → Server route handlers: submits requests
- Resume review workflow → Credit ledger: checks and debits (evidence: `apps/api/app/services/resume_review.py`)
- Resume review workflow → PostgreSQL: persists review
- Candidate / staff → LinkedIn Centre: manages profile
- LinkedIn Centre → Server route handlers: submits requests
- LinkedIn review workflow → Credit ledger: checks and debits (evidence: `apps/api/app/services/linkedin_review.py`)
- LinkedIn review workflow → PostgreSQL: persists review
- Resume file storage → PostgreSQL: stores file bytes
- Candidate / staff → Admin workspace: administers
- Admin workspace → Admin API: requests admin actions
- Admin API → PostgreSQL: reads / writes (evidence: `apps/api/app/api/admin.py`)
- Events and registration → PostgreSQL: persists event data
- Mock interviews → PostgreSQL: persists bookings
- Notifications → PostgreSQL: persists notifications
