How akkhileshcod3s/skillsync works
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: App.jsx App routes · AppContext.jsx App state · Sessions.jsx Sessions · logic.js Matching logic
Components 22
App and navigation
- App routes
src/App.jsx - Landing
src/pages/Landing.jsx - Navigation bar
src/components/Navbar.jsx
Identity and profiles
- Sign up
src/pages/Signup.jsx - Log in
src/pages/Login.jsx - Profile setup
src/pages/ProfileSetup.jsx - Member profile
src/pages/Profile.jsx
Discovery and connections
- Explore profiles
src/pages/Explore.jsx - Matching logic
src/data/logic.js - Connections
src/pages/Connections.jsx
Sessions and learning
- Dashboard
src/pages/Dashboard.jsx - Sessions
src/pages/Sessions.jsx - Session card
src/components/SessionCard.jsx - Learning plan
src/pages/LearningPlan.jsx
State and shared UI
- App state
src/AppContext.jsx - Local data store
src/data/mockData.js - Shared UI
src/components/ui.jsx - Skill tags
src/components/SkillTag.jsx - Scroll reveal
src/components/Reveal.jsx - Doodle decoration
src/components/Doodle.jsx - Doodle icons
src/components/doodleIcons.jsx
Other components
- Learner
Connections 36
- Learner → App routes: opens app
README.md - App routes → Landing: routes to
src/App.jsx - App routes → Sign up: routes to
src/App.jsx - App routes → Log in: routes to
src/App.jsx - App routes → Profile setup: routes to
src/App.jsx - App routes → Explore profiles: routes to
src/App.jsx - App routes → Connections: routes to
src/App.jsx - App routes → Sessions: routes to
src/App.jsx - App routes → Dashboard: routes to
src/App.jsx - App routes → Learning plan: routes to
src/App.jsx - App routes → Member profile: routes to
src/App.jsx - App routes → Navigation bar: renders
src/App.jsx - App routes → App state: provides state
src/App.jsx - Explore profiles → Matching logic: filters matches
src/pages/Explore.jsx - Connections → Matching logic: loads connections
src/pages/Connections.jsx - Sessions → Matching logic: builds session rows
src/pages/Sessions.jsx - Sessions → Session card: renders
src/pages/Sessions.jsx - App state → Local data store: loads and saves
src/AppContext.jsx - App state → Matching logic: calculates ratings
src/AppContext.jsx - Sign up → App state: uses actions
src/pages/Signup.jsx - Log in → App state: uses actions
src/pages/Login.jsx - Profile setup → App state: updates profile
src/pages/ProfileSetup.jsx - Member profile → App state: edits profile
src/pages/Profile.jsx - Member profile → Matching logic: loads reviews
src/pages/Profile.jsx - Learning plan → App state: uses actions
src/pages/LearningPlan.jsx - Dashboard → App state: reads state
src/pages/Dashboard.jsx - Connections → App state: reads state
src/pages/Connections.jsx - Explore profiles → App state: reads state
src/pages/Explore.jsx - Sessions → App state: schedules sessions
src/pages/Sessions.jsx - Sessions → App state: submits reviews
src/pages/Sessions.jsx - Navigation bar → App state: reads state
src/components/Navbar.jsx - Profile setup → Skill tags: renders
src/pages/ProfileSetup.jsx - Explore profiles → Shared UI: renders
src/pages/Explore.jsx - Landing → Scroll reveal: renders
src/pages/Landing.jsx - Landing → Doodle decoration: renders
src/pages/Landing.jsx - Doodle decoration → Doodle icons: renders icon