# devanshutripathi/skillrush architecture

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

- Interactive diagram: https://gitdiagram.com/devanshutripathi/skillrush
- Repository: https://github.com/devanshutripathi/skillrush

## Overview

MakAI is a career-growth application whose evidenced core path is profile onboarding followed by industry-insight generation and a personalized dashboard. Users can also submit professional information by resume, LinkedIn URL, or manual skills, and the repository includes a separate FastAPI parsing service; the excerpts do not establish that service’s connection to the Next.js app. The README is only the default Next.js template, so additional career features are included only where the tree or sampled code supports them. Several routes and integrations are unsampled, limiting the relationships shown.

Main entry points: [`actions/user.js`](https://github.com/devanshutripathi/skillrush/blob/main/actions/user.js) (User Profile Actions), [`actions/dashboard.js`](https://github.com/devanshutripathi/skillrush/blob/main/actions/dashboard.js) (Industry Insight Actions), [`app/(main)/onboarding/page.jsx`](https://github.com/devanshutripathi/skillrush/blob/main/app/(main)/onboarding/page.jsx) (Onboarding Route), [`app/(main)/dashboard/page.jsx`](https://github.com/devanshutripathi/skillrush/blob/main/app/(main)/dashboard/page.jsx) (Dashboard Route)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["User Experience"]
  node_home["Landing Page<br/>[page.js]"]
  node_header["Navigation and Auth<br/>[Header.jsx]"]
  node_authroutes["Sign-in and Sign-up<br/>[page.jsx]"]
  node_ui["UI Primitives"]
end

subgraph group_career["Career Workflows"]
  node_onboardingroute["Onboarding Route<br/>[page.jsx]"]
  node_onboardingform["Profile Form"]
  node_inputpage["Professional Info Input<br/>[page.jsx]"]
  node_uploads["Resume and LinkedIn<br/>[ResumeUpload.jsx]"]
  node_linkedinaction["LinkedIn Action<br/>[linkedin.js]"]
  node_roadmap["Career Roadmap<br/>[page.jsx]"]
  node_dashboardroute["Dashboard Route<br/>[page.jsx]"]
  node_dashboardview["Insights Dashboard<br/>[dashboard-view.jsx]"]
end

subgraph group_services["Application Services"]
  node_useractions["User Profile Actions<br/>[user.js]"]
  node_dashboardactions["Industry Insight Actions<br/>[dashboard.js]"]
end

subgraph group_data["Persistence and AI"]
  node_database[("Prisma Database<br/>[prisma.js]")]
  node_industrydata["Industry Catalog<br/>[industries.js]"]
end

subgraph group_parser["Parsing Service"]
  node_fastapi["FastAPI Entry<br/>[main.py]"]
  node_parserlogic["Resume Parser<br/>[parser.py]"]
end

node_visitor(("Visitor"))
node_authuser(("Signed-in User"))
node_gemini["Google Gemini"]
node_clerk["Clerk Auth"]

node_visitor -->|"views"| node_home
node_authuser -->|"uses navigation"| node_header
node_header -->|"checks identity"| node_clerk
node_authuser -->|"opens profile setup"| node_onboardingroute
node_onboardingroute -->|"checks status"| node_useractions
node_onboardingroute -->|"renders form"| node_onboardingform
node_onboardingroute -->|"supplies choices"| node_industrydata
node_onboardingform -->|"updates profile"| node_useractions
node_useractions -->|"gets user identity"| node_clerk
node_useractions -->|"reads and updates"| node_database
node_useractions -->|"generates missing insights"| node_dashboardactions
node_authuser -->|"opens dashboard"| node_dashboardroute
node_dashboardroute -->|"checks onboarding"| node_useractions
node_dashboardroute -->|"loads insights"| node_dashboardactions
node_dashboardroute -->|"renders insights"| node_dashboardview
node_dashboardactions -->|"gets user identity"| node_clerk
node_dashboardactions -->|"reads and upserts"| node_database
node_dashboardactions -->|"generates insights"| node_gemini
node_authuser -->|"submits professional info"| node_inputpage
node_inputpage -->|"renders upload options"| node_uploads
node_uploads -->|"uses LinkedIn action"| node_linkedinaction
node_fastapi -->|"calls parser"| node_parserlogic
node_home -->|"renders components"| node_ui
node_header -->|"uses controls"| node_ui
node_inputpage -->|"uses controls"| node_ui

click node_home "https://github.com/devanshutripathi/skillrush/blob/main/app/page.js"
click node_header "https://github.com/devanshutripathi/skillrush/blob/main/components/Header.jsx"
click node_authroutes "https://github.com/devanshutripathi/skillrush/blob/main/app/(auth)/Sign-in/%5B%5B...sign-in%5D%5D/page.jsx"
click node_onboardingroute "https://github.com/devanshutripathi/skillrush/blob/main/app/(main)/onboarding/page.jsx"
click node_onboardingform "https://github.com/devanshutripathi/skillrush/blob/main/app/(main)/onboarding/_component/onboarding-form.jsx"
click node_inputpage "https://github.com/devanshutripathi/skillrush/blob/main/app/(main)/input/page.jsx"
click node_uploads "https://github.com/devanshutripathi/skillrush/blob/main/components/upload/ResumeUpload.jsx"
click node_linkedinaction "https://github.com/devanshutripathi/skillrush/blob/main/lib/actions/linkedin.js"
click node_roadmap "https://github.com/devanshutripathi/skillrush/blob/main/app/(main)/Roadmap/page.jsx"
click node_dashboardroute "https://github.com/devanshutripathi/skillrush/blob/main/app/(main)/dashboard/page.jsx"
click node_dashboardview "https://github.com/devanshutripathi/skillrush/blob/main/app/(main)/dashboard/_components/dashboard-view.jsx"
click node_useractions "https://github.com/devanshutripathi/skillrush/blob/main/actions/user.js"
click node_dashboardactions "https://github.com/devanshutripathi/skillrush/blob/main/actions/dashboard.js"
click node_database "https://github.com/devanshutripathi/skillrush/blob/main/lib/prisma.js"
click node_industrydata "https://github.com/devanshutripathi/skillrush/blob/main/data/industries.js"
click node_ui "https://github.com/devanshutripathi/skillrush/tree/main/components/ui"
click node_fastapi "https://github.com/devanshutripathi/skillrush/blob/main/server/fastAPI/main.py"
click node_parserlogic "https://github.com/devanshutripathi/skillrush/blob/main/server/fastAPI/parser.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_home,node_header,node_authroutes,node_ui,node_authuser toneBlue
class node_onboardingroute,node_onboardingform,node_inputpage,node_uploads,node_linkedinaction,node_roadmap,node_dashboardroute,node_dashboardview toneAmber
class node_useractions,node_dashboardactions toneMint
class node_database,node_industrydata toneRose
class node_fastapi,node_parserlogic,node_visitor,node_gemini,node_clerk toneIndigo
```

## Components

### User Experience

- [Landing Page](https://github.com/devanshutripathi/skillrush/blob/main/app/page.js): `app/page.js`
- [Navigation and Auth](https://github.com/devanshutripathi/skillrush/blob/main/components/Header.jsx): `components/Header.jsx`
- [Sign-in and Sign-up](https://github.com/devanshutripathi/skillrush/blob/main/app/(auth)/Sign-in/%5B%5B...sign-in%5D%5D/page.jsx): `app/(auth)/Sign-in/[[...sign-in]]/page.jsx`
- [UI Primitives](https://github.com/devanshutripathi/skillrush/tree/main/components/ui): `components/ui`

### Career Workflows

- [Onboarding Route](https://github.com/devanshutripathi/skillrush/blob/main/app/(main)/onboarding/page.jsx): `app/(main)/onboarding/page.jsx`
- [Profile Form](https://github.com/devanshutripathi/skillrush/blob/main/app/(main)/onboarding/_component/onboarding-form.jsx): `app/(main)/onboarding/_component/onboarding-form.jsx`
- [Professional Info Input](https://github.com/devanshutripathi/skillrush/blob/main/app/(main)/input/page.jsx): `app/(main)/input/page.jsx`
- [Resume and LinkedIn](https://github.com/devanshutripathi/skillrush/blob/main/components/upload/ResumeUpload.jsx): `components/upload/ResumeUpload.jsx`
- [LinkedIn Action](https://github.com/devanshutripathi/skillrush/blob/main/lib/actions/linkedin.js): `lib/actions/linkedin.js`
- [Career Roadmap](https://github.com/devanshutripathi/skillrush/blob/main/app/(main)/Roadmap/page.jsx): `app/(main)/Roadmap/page.jsx`
- [Dashboard Route](https://github.com/devanshutripathi/skillrush/blob/main/app/(main)/dashboard/page.jsx): `app/(main)/dashboard/page.jsx`
- [Insights Dashboard](https://github.com/devanshutripathi/skillrush/blob/main/app/(main)/dashboard/_components/dashboard-view.jsx): `app/(main)/dashboard/_components/dashboard-view.jsx`

### Application Services

- [User Profile Actions](https://github.com/devanshutripathi/skillrush/blob/main/actions/user.js): `actions/user.js`
- [Industry Insight Actions](https://github.com/devanshutripathi/skillrush/blob/main/actions/dashboard.js): `actions/dashboard.js`

### Persistence and AI

- [Prisma Database](https://github.com/devanshutripathi/skillrush/blob/main/lib/prisma.js): `lib/prisma.js`
- [Industry Catalog](https://github.com/devanshutripathi/skillrush/blob/main/data/industries.js): `data/industries.js`

### Parsing Service

- [FastAPI Entry](https://github.com/devanshutripathi/skillrush/blob/main/server/fastAPI/main.py): `server/fastAPI/main.py`
- [Resume Parser](https://github.com/devanshutripathi/skillrush/blob/main/server/fastAPI/parser.py): `server/fastAPI/parser.py`

### Other components

- **Visitor**
- **Signed-in User**
- **Google Gemini**
- **Clerk Auth**

## Connections

- Visitor → Landing Page: views (evidence: `app/page.js`)
- Signed-in User → Navigation and Auth: uses navigation (evidence: `components/Header.jsx`)
- Navigation and Auth → Clerk Auth: checks identity (evidence: `components/Header.jsx`)
- Signed-in User → Onboarding Route: opens profile setup (evidence: `app/(main)/onboarding/page.jsx`)
- Onboarding Route → User Profile Actions: checks status (evidence: `app/(main)/onboarding/page.jsx`)
- Onboarding Route → Profile Form: renders form (evidence: `app/(main)/onboarding/page.jsx`)
- Onboarding Route → Industry Catalog: supplies choices (evidence: `app/(main)/onboarding/page.jsx`)
- Profile Form → User Profile Actions: updates profile (evidence: `app/(main)/onboarding/_component/onboarding-form.jsx`)
- User Profile Actions → Clerk Auth: gets user identity (evidence: `actions/user.js`)
- User Profile Actions → Prisma Database: reads and updates (evidence: `actions/user.js`)
- User Profile Actions → Industry Insight Actions: generates missing insights (evidence: `actions/user.js`)
- Signed-in User → Dashboard Route: opens dashboard (evidence: `app/(main)/dashboard/page.jsx`)
- Dashboard Route → User Profile Actions: checks onboarding (evidence: `app/(main)/dashboard/page.jsx`)
- Dashboard Route → Industry Insight Actions: loads insights (evidence: `app/(main)/dashboard/page.jsx`)
- Dashboard Route → Insights Dashboard: renders insights (evidence: `app/(main)/dashboard/page.jsx`)
- Industry Insight Actions → Clerk Auth: gets user identity (evidence: `actions/dashboard.js`)
- Industry Insight Actions → Prisma Database: reads and upserts (evidence: `actions/dashboard.js`)
- Industry Insight Actions → Google Gemini: generates insights (evidence: `actions/dashboard.js`)
- Signed-in User → Professional Info Input: submits professional info (evidence: `app/(main)/input/page.jsx`)
- Professional Info Input → Resume and LinkedIn: renders upload options (evidence: `app/(main)/input/page.jsx`)
- Resume and LinkedIn → LinkedIn Action: uses LinkedIn action
- FastAPI Entry → Resume Parser: calls parser (evidence: `server/fastAPI/main.py`)
- Landing Page → UI Primitives: renders components (evidence: `app/page.js`)
- Navigation and Auth → UI Primitives: uses controls (evidence: `components/Header.jsx`)
- Professional Info Input → UI Primitives: uses controls (evidence: `app/(main)/input/page.jsx`)
