Skip to content

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

SkillPath — Technology Learning & Relationship Explorer

SkillPath is a graph-powered full-stack web application designed for exploring relationships between software technologies, discovering prerequisite skill trees, understanding ecosystem tools, and dynamically generating personalized learning paths.

Backed by CognoDB (an openCypher-compatible managed graph database accessible over Bolt using the official neo4j-driver), SkillPath demonstrates the true power of graph algorithms over traditional relational schemas for interconnected skill networks.


🌟 Key Features

  • Interactive Technology Explorer: Search and filter over 30+ technologies by category (Frontend, Backend, Database, DevOps, Language, Tools) with real-time graph connectivity counters.
  • Node-Link Relationship Visualizer: Interactive SVG canvas displaying 1-hop and 2-hop graph neighborhoods with directional relationship type filters (REQUIRES, RELATED_TO, USED_WITH).
  • Dynamic Learning Path Generator: Multi-hop openCypher graph traversals calculate the optimal topological learning order from foundational prerequisites to your target skill goal.
  • Interactive Progress Tracking: Step-by-step milestone checklist with estimated duration, recommended courses, real-world project blueprints, and completion state persistence.
  • Enterprise-Grade CognoDB Integration: All queries use strict openCypher parameterization to prevent injection vulnerabilities and leverage Bolt connection pooling with graceful fallback handling.

🕸️ Why a Graph Database?

In technology skill management, entities are inherently interconnected nodes in a multi-relational network.

Conceptual Comparison: Graph vs. Relational (RDBMS)

Relational (RDBMS) Approach:                       Graph Database Approach:
┌─────────────────┐   ┌───────────────────────┐    (JavaScript)
│ Technologies    │───│ TechnologyPrereqs     │          ↓
└─────────────────┘   └───────────────────────┘     [REQUIRES]
                              │                          ↓
                      ┌───────────────────────┐       (React)
                      │ TechRelationships     │       ↙   ↓   ↘
                      └───────────────────────┘  [USED] [USED] [RELATED]
                                                  ↓      ↓       ↓
                                              (Redux) (TS)   (Vue.js)
  1. Multi-Hop Traversals (REQUIRES*1..3):
    • Relational: Finding all deep prerequisites for Next.js requires multiple JOIN operations or complex recursive Common Table Expressions (CTEs), which degrade in performance as graph depth grows.
    • Graph: openCypher executes path traversal natively in a single index-free adjacency lookup:
      MATCH path = (t:Technology {id: $technologyId})<-[:REQUIRES*1..3]-(prereq:Technology)
      RETURN path
  2. Heterogeneous Edge Types:
    • A single technology node connects to other nodes via distinct, semantic relationships: REQUIRES (prerequisites), RELATED_TO (conceptual alternatives), USED_WITH (ecosystem pairs), TAUGHT_IN (courses), and USED_IN (projects). In CognoDB, edge types are first-class primitives.
  3. Flexible Schema Evolution:
    • Adding new relationship categories (e.g. DEPRECATED_BY or COMPATIBLE_WITH) requires zero schema migrations or foreign key constraint updates.

🏗️ System Architecture

┌─────────────────────────────────────────────────────────────┐
│ React 18 + TypeScript + Vite + Tailwind CSS Frontend         │
└──────────────────────────────┬──────────────────────────────┘
                               │ HTTP REST API (JSON)
┌──────────────────────────────▼──────────────────────────────┐
│ Express.js + Node.js Backend Server                         │
│ (Controller ➔ Service ➔ Repository Pattern)                │
└──────────────────────────────┬──────────────────────────────┘
                               │ openCypher over Bolt Protocol
┌──────────────────────────────▼──────────────────────────────┐
│ neo4j-driver JavaScript SDK                                 │
└──────────────────────────────┬──────────────────────────────┘
                               │ Managed Graph Database
┌──────────────────────────────▼──────────────────────────────┐
│ CognoDB Graph Instance                                      │
└─────────────────────────────────────────────────────────────┘

📊 Graph Data Model

Node Labels

  • Technology: { id, name, category, description, icon, difficulty, estimatedHours }
  • Course: { id, title, instructor, duration, difficulty, url }
  • Project: { id, title, description, difficulty, category }

Relationship Types

(Technology) -[:REQUIRES]-> (Technology)    // Prerequisite hierarchy
(Technology) -[:RELATED_TO]-> (Technology)  // Conceptual alternative
(Technology) -[:USED_WITH]-> (Technology)   // Ecosystem pairing
(Technology) -[:TAUGHT_IN]-> (Course)       // Course mapping
(Technology) -[:USED_IN]-> (Project)        // Real-world project usage

🛠️ Main Cypher Queries

1. Technology Search & Connection Counts

MATCH (t:Technology)
WHERE ($search = '' OR toLower(t.name) CONTAINS toLower($search) OR toLower(t.description) CONTAINS toLower($search))
  AND ($category = 'All' OR t.category = $category)
OPTIONAL MATCH (t)-[r]-()
RETURN t, count(r) AS connectionCount
ORDER BY t.name ASC;

2. Multi-Hop Prerequisite Path Traversal

MATCH path = (t:Technology {id: $technologyId})<-[:REQUIRES*1..3]-(prereq:Technology)
RETURN path, prereq, length(path) AS depth
ORDER BY depth ASC;

3. Topological Learning Path Sequence

MATCH path = (target:Technology {id: $technologyId})<-[:REQUIRES*0..4]-(node:Technology)
WITH node, max(length(path)) AS maxDepth
RETURN node.id AS techId, maxDepth AS stepOrder
ORDER BY maxDepth DESC;

🚀 Setup & Installation

1. Clone & Install Dependencies

git clone <repository-url>
cd Skillpath

# Install server dependencies
cd server
npm install

# Install client dependencies
cd ../client
npm install

2. Configure Environment Variables

Copy .env.example to .env in the root directory:

cp .env.example .env

Configure your CognoDB credentials:

COGNODB_URI=bolt://localhost:7687
COGNODB_USERNAME=cognodb
COGNODB_PASSWORD=your_cognodb_password
PORT=5000
CLIENT_URL=http://localhost:5173

3. Seed Database

Populate CognoDB with 30+ technologies, 150+ relationships, 10 courses, and 8 projects using idempotent MERGE Cypher queries:

npm run seed

4. Run Development Application

Run both backend and frontend concurrently from the root folder:

# In server directory:
cd server && npm run dev

# In client directory (separate terminal):
cd client && npm run dev

Open http://localhost:5173 in your browser.


⚡ Verification & Production Build

To verify TypeScript build correctness across client and server:

# Build server
cd server && npm run build

# Build client
cd client && npm run build

🌐 Live Demo & Submission Details

  • Take-Home Assessment: 48-Hour Technical Assessment
  • Demo URL: [Hosted Demo Link Placeholder]
  • Database Engine: CognoDB Graph Database via Bolt Driver (neo4j-driver)

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages