# authorsauravkushwaha/neo4j-build-sprint architecture

> Architecture diagram of the GitHub repository authorsauravkushwaha/neo4j-build-sprint, 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/authorsauravkushwaha/neo4j-build-sprint
- Repository: https://github.com/authorsauravkushwaha/neo4j-build-sprint

## Overview

GraphMentor AI is an engineering-career navigator centered on a prerequisite knowledge graph. The main user journey is to rate existing skills, identify missing prerequisites and a feasible learning order, then follow a paced roadmap; the product also provides career exploration, resources, projects, graph browsing, and cited mentor answers. The README documents bundled demo data and optional live graph backends, but the sampled source does not expose the full request path, so backend links are shown only where documented.

Main entry points: [`src/data/seed/knowledgeGraph.ts`](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/data/seed/knowledgeGraph.ts) (Bundled curriculum graph), [`supabase/functions/_shared/core/recommend.ts`](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/supabase/functions/_shared/core/recommend.ts) (Deterministic recommendations), [`src/app/App.tsx`](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/app/App.tsx) (App routing), [`src/features/gaps/GapsPage.tsx`](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/gaps/GapsPage.tsx) (Skill-gap analysis)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["App experience"]
  node_app["App routing<br/>[App.tsx]"]
  node_landing["Landing and onboarding<br/>[LandingPage.tsx]"]
  node_graphview["Knowledge graph explorer<br/>[GraphPage.tsx]"]
  node_mentor["Graph-grounded mentor<br/>[MentorPage.tsx]"]
end

subgraph group_curriculum["Career knowledge"]
  node_catalogues["Career and learning catalogues<br/>[CareersPage.tsx]"]
  node_resources["Free resource library<br/>[ResourcesPage.tsx]"]
  node_projects["Practice projects<br/>[ProjectsPage.tsx]"]
  node_apis["Public API catalogue<br/>[ApisPage.tsx]"]
  node_dataset[("Bundled curriculum graph<br/>[knowledgeGraph.ts]")]
end

subgraph group_planning["Learning plans"]
  node_gaps["Skill-gap analysis<br/>[GapsPage.tsx]"]
  node_recommend["Deterministic recommendations<br/>[recommend.ts]"]
  node_pathway["Pathway builder<br/>[PathwayPage.tsx]"]
  node_roadmap["Weekly roadmap<br/>[RoadmapPage.tsx]"]
end

subgraph group_services["Graph services"]
  node_graphquery["Graph query logic<br/>[graphQuery.ts]"]
  node_api["Client API<br/>[api.ts]"]
  node_session["Demo and live session<br/>[session.ts]"]
  node_server["Node API service<br/>[server.ts]"]
  node_graphstore[("Graph storage options<br/>[graphStore.ts]")]
end

subgraph group_account["Accounts and progress"]
  node_state["Profile and local progress<br/>[store.ts]"]
  node_auth["Account and device sync<br/>[AuthPage.tsx]"]
  node_progress["Progress tracking<br/>[ProgressPage.tsx]"]
end

node_user(("Learner"))

node_user -->|"starts or rates"| node_landing
node_user -->|"checks skill gaps"| node_gaps
node_gaps -->|"orders missing skills"| node_recommend
node_recommend -->|"plans dependencies"| node_pathway
node_recommend -->|"schedules study"| node_roadmap
node_dataset -->|"supplies graph data"| node_graphview
node_dataset -->|"defines prerequisites"| node_gaps
node_dataset -->|"grounds ordering"| node_recommend
node_dataset -->|"grounds answers"| node_mentor
node_dataset -->|"connects careers and skills"| node_catalogues
node_dataset -->|"links resources to skills"| node_resources
node_dataset -->|"includes projects"| node_projects
node_dataset -->|"links APIs to skills"| node_apis
node_user -->|"explores prerequisites"| node_graphview
node_user -->|"asks cited questions"| node_mentor
node_user -->|"finds free resources"| node_resources
node_user -->|"chooses practice"| node_projects
node_user -->|"tracks learning"| node_progress
node_app -->|"routes to"| node_landing
node_app -->|"routes to"| node_catalogues
node_app -->|"reads onboarding state"| node_state
node_state -->|"stores learning progress"| node_progress
node_user -->|"signs in optionally"| node_auth
node_auth -->|"syncs device data"| node_state
node_session -->|"selects client"| node_api
node_api -.->|"requests live data"| node_server
node_server -.->|"uses configured graph store"| node_graphstore
node_graphquery -.->|"queries graph model"| node_dataset

click node_app "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/app/App.tsx"
click node_landing "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/landing/LandingPage.tsx"
click node_graphview "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/graph/GraphPage.tsx"
click node_mentor "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/mentor/MentorPage.tsx"
click node_catalogues "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/careers/CareersPage.tsx"
click node_resources "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/resources/ResourcesPage.tsx"
click node_projects "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/projects/ProjectsPage.tsx"
click node_apis "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/apis/ApisPage.tsx"
click node_dataset "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/data/seed/knowledgeGraph.ts"
click node_gaps "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/gaps/GapsPage.tsx"
click node_recommend "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/supabase/functions/_shared/core/recommend.ts"
click node_pathway "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/roadmap/PathwayPage.tsx"
click node_roadmap "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/roadmap/RoadmapPage.tsx"
click node_graphquery "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/supabase/functions/_shared/core/graphQuery.ts"
click node_api "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/core/api.ts"
click node_session "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/core/session.ts"
click node_server "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/server/server.ts"
click node_graphstore "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/server/graphStore.ts"
click node_state "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/state/store.ts"
click node_auth "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/auth/AuthPage.tsx"
click node_progress "https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/progress/ProgressPage.tsx"

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_landing,node_graphview,node_mentor toneBlue
class node_catalogues,node_resources,node_projects,node_apis,node_dataset toneAmber
class node_gaps,node_recommend,node_pathway,node_roadmap toneMint
class node_graphquery,node_api,node_session,node_server,node_graphstore toneRose
class node_state,node_auth,node_progress,node_user toneIndigo
```

## Components

### App experience

- [App routing](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/app/App.tsx): `src/app/App.tsx`
- [Landing and onboarding](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/landing/LandingPage.tsx): `src/features/landing/LandingPage.tsx`
- [Knowledge graph explorer](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/graph/GraphPage.tsx): `src/features/graph/GraphPage.tsx`
- [Graph-grounded mentor](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/mentor/MentorPage.tsx): `src/features/mentor/MentorPage.tsx`

### Career knowledge

- [Career and learning catalogues](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/careers/CareersPage.tsx): `src/features/careers/CareersPage.tsx`
- [Free resource library](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/resources/ResourcesPage.tsx): `src/features/resources/ResourcesPage.tsx`
- [Practice projects](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/projects/ProjectsPage.tsx): `src/features/projects/ProjectsPage.tsx`
- [Public API catalogue](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/apis/ApisPage.tsx): `src/features/apis/ApisPage.tsx`
- [Bundled curriculum graph](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/data/seed/knowledgeGraph.ts): `src/data/seed/knowledgeGraph.ts`

### Learning plans

- [Skill-gap analysis](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/gaps/GapsPage.tsx): `src/features/gaps/GapsPage.tsx`
- [Deterministic recommendations](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/supabase/functions/_shared/core/recommend.ts): `supabase/functions/_shared/core/recommend.ts`
- [Pathway builder](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/roadmap/PathwayPage.tsx): `src/features/roadmap/PathwayPage.tsx`
- [Weekly roadmap](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/roadmap/RoadmapPage.tsx): `src/features/roadmap/RoadmapPage.tsx`

### Graph services

- [Graph query logic](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/supabase/functions/_shared/core/graphQuery.ts): `supabase/functions/_shared/core/graphQuery.ts`
- [Client API](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/core/api.ts): `src/core/api.ts`
- [Demo and live session](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/core/session.ts): `src/core/session.ts`
- [Node API service](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/server/server.ts): `server/server.ts`
- [Graph storage options](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/server/graphStore.ts): `server/graphStore.ts`

### Accounts and progress

- [Profile and local progress](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/state/store.ts): `src/state/store.ts`
- [Account and device sync](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/auth/AuthPage.tsx): `src/features/auth/AuthPage.tsx`
- [Progress tracking](https://github.com/authorsauravkushwaha/neo4j-build-sprint/blob/main/src/features/progress/ProgressPage.tsx): `src/features/progress/ProgressPage.tsx`

### Other components

- **Learner**

## Connections

- Learner → Landing and onboarding: starts or rates (evidence: `README.md`)
- Learner → Skill-gap analysis: checks skill gaps (evidence: `README.md`)
- Skill-gap analysis → Deterministic recommendations: orders missing skills (evidence: `README.md`)
- Deterministic recommendations → Pathway builder: plans dependencies (evidence: `README.md`)
- Deterministic recommendations → Weekly roadmap: schedules study (evidence: `README.md`)
- Bundled curriculum graph → Knowledge graph explorer: supplies graph data (evidence: `README.md`)
- Bundled curriculum graph → Skill-gap analysis: defines prerequisites (evidence: `README.md`)
- Bundled curriculum graph → Deterministic recommendations: grounds ordering (evidence: `README.md`)
- Bundled curriculum graph → Graph-grounded mentor: grounds answers (evidence: `README.md`)
- Bundled curriculum graph → Career and learning catalogues: connects careers and skills (evidence: `README.md`)
- Bundled curriculum graph → Free resource library: links resources to skills (evidence: `README.md`)
- Bundled curriculum graph → Practice projects: includes projects (evidence: `README.md`)
- Bundled curriculum graph → Public API catalogue: links APIs to skills (evidence: `README.md`)
- Learner → Knowledge graph explorer: explores prerequisites (evidence: `README.md`)
- Learner → Graph-grounded mentor: asks cited questions (evidence: `README.md`)
- Learner → Free resource library: finds free resources (evidence: `README.md`)
- Learner → Practice projects: chooses practice (evidence: `README.md`)
- Learner → Progress tracking: tracks learning (evidence: `README.md`)
- App routing → Landing and onboarding: routes to (evidence: `src/app/App.tsx`)
- App routing → Career and learning catalogues: routes to (evidence: `src/app/App.tsx`)
- App routing → Profile and local progress: reads onboarding state (evidence: `src/app/App.tsx`)
- Profile and local progress → Progress tracking: stores learning progress (evidence: `README.md`)
- Learner → Account and device sync: signs in optionally (evidence: `README.md`)
- Account and device sync → Profile and local progress: syncs device data (evidence: `README.md`)
- Demo and live session → Client API: selects client (evidence: `src/core/session.ts`)
- Client API → Node API service: requests live data (evidence: `README.md`)
- Node API service → Graph storage options: uses configured graph store (evidence: `README.md`)
- Graph query logic → Bundled curriculum graph: queries graph model
