# akkhileshcod3s/skillsync architecture

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

- Interactive diagram: https://gitdiagram.com/akkhileshcod3s/skillsync
- Repository: https://github.com/akkhileshcod3s/skillsync

## Overview

SkillSync is a React peer-to-peer skill-swapping app: users list skills to teach and learn, find complementary partners, connect, and schedule free learning sessions. Its routes also support profile management, reviews, a dashboard, and learning plans. Runtime state and seeded data are held in a localStorage-backed mock store; the README describes a future SQL-backed direction, but the sampled code shows no backend or external service. Some page implementations were not excerpted, so their internal calls are not asserted here.

Main entry points: [`src/App.jsx`](https://github.com/akkhileshcod3s/skillsync/blob/main/src/App.jsx) (App routes), [`src/AppContext.jsx`](https://github.com/akkhileshcod3s/skillsync/blob/main/src/AppContext.jsx) (App state), [`src/pages/Sessions.jsx`](https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/Sessions.jsx) (Sessions), [`src/data/logic.js`](https://github.com/akkhileshcod3s/skillsync/blob/main/src/data/logic.js) (Matching logic)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routes["App and navigation"]
  node_app["App routes<br/>[App.jsx]"]
  node_landing["Landing<br/>[Landing.jsx]"]
  node_navbar["Navigation bar<br/>[Navbar.jsx]"]
end

subgraph group_identity["Identity and profiles"]
  node_signup["Sign up<br/>[Signup.jsx]"]
  node_login["Log in<br/>[Login.jsx]"]
  node_profile_setup["Profile setup<br/>[ProfileSetup.jsx]"]
  node_profile["Member profile<br/>[Profile.jsx]"]
end

subgraph group_matching["Discovery and connections"]
  node_explore["Explore profiles<br/>[Explore.jsx]"]
  node_matching_logic["Matching logic<br/>[logic.js]"]
  node_connections["Connections<br/>[Connections.jsx]"]
end

subgraph group_learning["Sessions and learning"]
  node_dashboard["Dashboard<br/>[Dashboard.jsx]"]
  node_sessions["Sessions<br/>[Sessions.jsx]"]
  node_session_card["Session card<br/>[SessionCard.jsx]"]
  node_learning_plan["Learning plan<br/>[LearningPlan.jsx]"]
end

subgraph group_internal["State and shared UI"]
  node_context["App state<br/>[AppContext.jsx]"]
  node_mock_store[("Local data store<br/>[mockData.js]")]
  node_ui["Shared UI<br/>[ui.jsx]"]
  node_skill_tag["Skill tags<br/>[SkillTag.jsx]"]
  node_reveal["Scroll reveal<br/>[Reveal.jsx]"]
  node_doodle["Doodle decoration<br/>[Doodle.jsx]"]
  node_doodle_icons["Doodle icons<br/>[doodleIcons.jsx]"]
end

node_learner(("Learner"))

node_learner -->|"opens app"| node_app
node_app -->|"routes to"| node_landing
node_app -->|"routes to"| node_signup
node_app -->|"routes to"| node_login
node_app -->|"routes to"| node_profile_setup
node_app -->|"routes to"| node_explore
node_app -->|"routes to"| node_connections
node_app -->|"routes to"| node_sessions
node_app -->|"routes to"| node_dashboard
node_app -->|"routes to"| node_learning_plan
node_app -->|"routes to"| node_profile
node_app -->|"renders"| node_navbar
node_app -->|"provides state"| node_context
node_explore -->|"filters matches"| node_matching_logic
node_connections -->|"loads connections"| node_matching_logic
node_sessions -->|"builds session rows"| node_matching_logic
node_sessions -->|"renders"| node_session_card
node_context -->|"loads and saves"| node_mock_store
node_context -->|"calculates ratings"| node_matching_logic
node_signup -->|"uses actions"| node_context
node_login -->|"uses actions"| node_context
node_profile_setup -->|"updates profile"| node_context
node_profile -->|"edits profile"| node_context
node_profile -->|"loads reviews"| node_matching_logic
node_learning_plan -->|"uses actions"| node_context
node_dashboard -->|"reads state"| node_context
node_connections -->|"reads state"| node_context
node_explore -->|"reads state"| node_context
node_sessions -->|"schedules sessions"| node_context
node_sessions -->|"submits reviews"| node_context
node_navbar -->|"reads state"| node_context
node_profile_setup -->|"renders"| node_skill_tag
node_explore -->|"renders"| node_ui
node_landing -->|"renders"| node_reveal
node_landing -->|"renders"| node_doodle
node_doodle -.->|"renders icon"| node_doodle_icons

click node_app "https://github.com/akkhileshcod3s/skillsync/blob/main/src/App.jsx"
click node_landing "https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/Landing.jsx"
click node_navbar "https://github.com/akkhileshcod3s/skillsync/blob/main/src/components/Navbar.jsx"
click node_signup "https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/Signup.jsx"
click node_login "https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/Login.jsx"
click node_profile_setup "https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/ProfileSetup.jsx"
click node_profile "https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/Profile.jsx"
click node_explore "https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/Explore.jsx"
click node_matching_logic "https://github.com/akkhileshcod3s/skillsync/blob/main/src/data/logic.js"
click node_connections "https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/Connections.jsx"
click node_dashboard "https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/Dashboard.jsx"
click node_sessions "https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/Sessions.jsx"
click node_session_card "https://github.com/akkhileshcod3s/skillsync/blob/main/src/components/SessionCard.jsx"
click node_learning_plan "https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/LearningPlan.jsx"
click node_context "https://github.com/akkhileshcod3s/skillsync/blob/main/src/AppContext.jsx"
click node_mock_store "https://github.com/akkhileshcod3s/skillsync/blob/main/src/data/mockData.js"
click node_ui "https://github.com/akkhileshcod3s/skillsync/blob/main/src/components/ui.jsx"
click node_skill_tag "https://github.com/akkhileshcod3s/skillsync/blob/main/src/components/SkillTag.jsx"
click node_reveal "https://github.com/akkhileshcod3s/skillsync/blob/main/src/components/Reveal.jsx"
click node_doodle "https://github.com/akkhileshcod3s/skillsync/blob/main/src/components/Doodle.jsx"
click node_doodle_icons "https://github.com/akkhileshcod3s/skillsync/blob/main/src/components/doodleIcons.jsx"

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_navbar toneBlue
class node_signup,node_login,node_profile_setup,node_profile toneAmber
class node_explore,node_matching_logic,node_connections toneMint
class node_dashboard,node_sessions,node_session_card,node_learning_plan toneRose
class node_context,node_mock_store,node_ui,node_skill_tag,node_reveal,node_doodle,node_doodle_icons,node_learner toneIndigo
```

## Components

### App and navigation

- [App routes](https://github.com/akkhileshcod3s/skillsync/blob/main/src/App.jsx): `src/App.jsx`
- [Landing](https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/Landing.jsx): `src/pages/Landing.jsx`
- [Navigation bar](https://github.com/akkhileshcod3s/skillsync/blob/main/src/components/Navbar.jsx): `src/components/Navbar.jsx`

### Identity and profiles

- [Sign up](https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/Signup.jsx): `src/pages/Signup.jsx`
- [Log in](https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/Login.jsx): `src/pages/Login.jsx`
- [Profile setup](https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/ProfileSetup.jsx): `src/pages/ProfileSetup.jsx`
- [Member profile](https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/Profile.jsx): `src/pages/Profile.jsx`

### Discovery and connections

- [Explore profiles](https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/Explore.jsx): `src/pages/Explore.jsx`
- [Matching logic](https://github.com/akkhileshcod3s/skillsync/blob/main/src/data/logic.js): `src/data/logic.js`
- [Connections](https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/Connections.jsx): `src/pages/Connections.jsx`

### Sessions and learning

- [Dashboard](https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/Dashboard.jsx): `src/pages/Dashboard.jsx`
- [Sessions](https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/Sessions.jsx): `src/pages/Sessions.jsx`
- [Session card](https://github.com/akkhileshcod3s/skillsync/blob/main/src/components/SessionCard.jsx): `src/components/SessionCard.jsx`
- [Learning plan](https://github.com/akkhileshcod3s/skillsync/blob/main/src/pages/LearningPlan.jsx): `src/pages/LearningPlan.jsx`

### State and shared UI

- [App state](https://github.com/akkhileshcod3s/skillsync/blob/main/src/AppContext.jsx): `src/AppContext.jsx`
- [Local data store](https://github.com/akkhileshcod3s/skillsync/blob/main/src/data/mockData.js): `src/data/mockData.js`
- [Shared UI](https://github.com/akkhileshcod3s/skillsync/blob/main/src/components/ui.jsx): `src/components/ui.jsx`
- [Skill tags](https://github.com/akkhileshcod3s/skillsync/blob/main/src/components/SkillTag.jsx): `src/components/SkillTag.jsx`
- [Scroll reveal](https://github.com/akkhileshcod3s/skillsync/blob/main/src/components/Reveal.jsx): `src/components/Reveal.jsx`
- [Doodle decoration](https://github.com/akkhileshcod3s/skillsync/blob/main/src/components/Doodle.jsx): `src/components/Doodle.jsx`
- [Doodle icons](https://github.com/akkhileshcod3s/skillsync/blob/main/src/components/doodleIcons.jsx): `src/components/doodleIcons.jsx`

### Other components

- **Learner**

## Connections

- Learner → App routes: opens app (evidence: `README.md`)
- App routes → Landing: routes to (evidence: `src/App.jsx`)
- App routes → Sign up: routes to (evidence: `src/App.jsx`)
- App routes → Log in: routes to (evidence: `src/App.jsx`)
- App routes → Profile setup: routes to (evidence: `src/App.jsx`)
- App routes → Explore profiles: routes to (evidence: `src/App.jsx`)
- App routes → Connections: routes to (evidence: `src/App.jsx`)
- App routes → Sessions: routes to (evidence: `src/App.jsx`)
- App routes → Dashboard: routes to (evidence: `src/App.jsx`)
- App routes → Learning plan: routes to (evidence: `src/App.jsx`)
- App routes → Member profile: routes to (evidence: `src/App.jsx`)
- App routes → Navigation bar: renders (evidence: `src/App.jsx`)
- App routes → App state: provides state (evidence: `src/App.jsx`)
- Explore profiles → Matching logic: filters matches (evidence: `src/pages/Explore.jsx`)
- Connections → Matching logic: loads connections (evidence: `src/pages/Connections.jsx`)
- Sessions → Matching logic: builds session rows (evidence: `src/pages/Sessions.jsx`)
- Sessions → Session card: renders (evidence: `src/pages/Sessions.jsx`)
- App state → Local data store: loads and saves (evidence: `src/AppContext.jsx`)
- App state → Matching logic: calculates ratings (evidence: `src/AppContext.jsx`)
- Sign up → App state: uses actions (evidence: `src/pages/Signup.jsx`)
- Log in → App state: uses actions (evidence: `src/pages/Login.jsx`)
- Profile setup → App state: updates profile (evidence: `src/pages/ProfileSetup.jsx`)
- Member profile → App state: edits profile (evidence: `src/pages/Profile.jsx`)
- Member profile → Matching logic: loads reviews (evidence: `src/pages/Profile.jsx`)
- Learning plan → App state: uses actions (evidence: `src/pages/LearningPlan.jsx`)
- Dashboard → App state: reads state (evidence: `src/pages/Dashboard.jsx`)
- Connections → App state: reads state (evidence: `src/pages/Connections.jsx`)
- Explore profiles → App state: reads state (evidence: `src/pages/Explore.jsx`)
- Sessions → App state: schedules sessions (evidence: `src/pages/Sessions.jsx`)
- Sessions → App state: submits reviews (evidence: `src/pages/Sessions.jsx`)
- Navigation bar → App state: reads state (evidence: `src/components/Navbar.jsx`)
- Profile setup → Skill tags: renders (evidence: `src/pages/ProfileSetup.jsx`)
- Explore profiles → Shared UI: renders (evidence: `src/pages/Explore.jsx`)
- Landing → Scroll reveal: renders (evidence: `src/pages/Landing.jsx`)
- Landing → Doodle decoration: renders (evidence: `src/pages/Landing.jsx`)
- Doodle decoration → Doodle icons: renders icon
