SkillLoop

Teach what you know, learn what you love.

Visit Repo
SkillLoop banner

About

## Challenges we ran into

### 1. Concurrency & Race Conditions in Credit Settlement Preventing double-spending when both users trigger completion or during network lag was a critical hurdle. We solved this by implementing atomic MongoDB operations (`findOneAndUpdate` with status filters and `{ credits: { $gte: 1 } }`), guaranteeing that credit balances can never drop below zero or be double-credited.

### 2. Dual-Token JWT Architecture & Silent Refresh Storing tokens in localStorage poses XSS risks, while cookies alone can suffer from CSRF. We engineered a dual-token system: short-lived access tokens stored in memory paired with long-lived, SHA-256 hashed refresh tokens stored in HttpOnly secure cookies with automatic token-rotation and silent 401 refresh interceptors.

### 3. Bi-Directional Skill Matchmaking Algorithm Designing an algorithm that efficiently pairs users based on complementary skills (User A's teaching skills matching User B's learning desires) required careful indexing and aggregation pipelines in MongoDB to prevent expensive queries as the user base scales.

### 4. Secure Email OTP Verification

To prevent spam accounts, we integrated Gmail SMTP via Nodemailer with 6-digit cryptographic SHA-256 hashed OTPs, enforcing a 10-minute TTL expiry and strict 5-attempt brute-force rate limiting.

## The problem it solves

### The Problem High course fees, expensive bootcamps, and hourly tutoring rates make learning personalized skills inaccessible to millions of motivated students and self-learners. Meanwhile, passive learning (like YouTube tutorials) lacks live 1-on-1 guidance, accountability, and real-time feedback.

### Our Solution: SkillLoop

**SkillLoop** eliminates the money barrier by introducing a reciprocal, credit-driven peer-to-peer learning economy: * **Teach to Earn:** Members mentor peers in skills they excel in (e.g., Python, Graphic Design, Spanish, Guitar) to earn **+1 Skill Credit**. * **Spend to Learn:** Earned credits are redeemed for live 1-on-1 virtual sessions with mentors worldwide. * **10 Starter Credits:** Every new member receives 10 free credits upon verified email onboarding to start learning immediately.

### Key Features

* **Bi-Directional Smart Matchmaking:** Automatically matches members where User A teaches what User B needs, and vice versa. * **Integrated 1-on-1 Virtual Classrooms:** Built-in session scheduling with auto-generated Google Meet video links and real-time chat. * **Tamper-Evident Credit Ledger:** Immutable audit trail (`#TX-XXXXXX`) ensuring absolute financial transparency and zero double-spending. * **Gamified Reputation & Badges:** Verified student reviews, 5-star ratings, and milestone achievement badges (*First Swap, Top Mentor*). * **Enterprise Admin Governance:** Live platform KPI analytics, category management, and dispute resolution with one-click credit settlements.

Screenshots

SkillLoop screenshot 1SkillLoop screenshot 2SkillLoop screenshot 3SkillLoop screenshot 4SkillLoop screenshot 5

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Yerba

Yerba is an experimental library that enables cross-chain token aggregation within the OP Stack. It simplifies payments by unifying balances from multiple chains into one.