Inspiration
Learning a new skill often involves expensive courses or one-sided mentorship. Yet, almost everyone has valuable knowledge or skills they could share in return.
SkillLoop was inspired by the concept of reciprocal peer learning: a collaborative approach where every member can be both a Teacher and a Learner, exchanging knowledge and skills directly without monetary transactions.
We believe learning becomes more accessible and meaningful when people can learn from one another while sharing what they already know.
What It Does
SkillLoop connects people with complementary TEACH and LEARN goals, enabling them to discover compatible learning partners and manage their entire skill exchange journey.
Key features include:
Explainable Reciprocal Matching: Matches users who can teach each other and provides a transparent compatibility breakdown based on skill fit, proficiency level, and availability.
Canonical Skill Catalog & Aliases: Allows users to search for skills using their official names or common aliases (e.g.,
js→ JavaScript,ui/ux→ UI/UX Design), while specifying their current proficiency and target learning levels.Exchange Agreements & Counter-Proposals: Enables users to send collaboration requests, negotiate exchange terms through counter-proposals, and schedule learning sessions across different time zones.
Milestones, Messaging & Community Circles: Supports learning progress tracking from
0%–100%, private conversations, resource sharing, collaborative study groups, and post-session feedback.Bilingual Interface & Role-Based Admin Moderation: Provides English and Indonesian language support, alongside administrative tools for managing user reports and maintaining the canonical skill catalog.
One-Click Demo Personas for Judges: Allows judges to explore the platform immediately through built-in demo accounts with Admin and Member roles, accessible directly from the sidebar or
/login.
How We Built It
SkillLoop is built as an npm workspaces monorepo with the following structure:
apps/web, apps/api, packages/shared, and prisma/.
The frontend and backend are deployed independently to their respective production environments.
Frontend — Vercel
- React 18
- TypeScript
- Vite
- React Router v6
- Tailwind CSS
- Responsive desktop and mobile layouts
Backend API — Railway
- Node.js
- Express
- TypeScript
- Zod for request validation
- Helmet for security-related HTTP headers
- CORS configuration
- Rate limiting
- bcryptjs for password hashing
Database — Neon PostgreSQL
- PostgreSQL
- Prisma ORM
- 18 relational database tables covering users, sessions, skills, exchange requests, learning sessions, feedback, milestones, messages, community groups, and user settings.
Deterministic Reciprocal Matching Algorithm
SkillLoop uses a weighted scoring system to evaluate compatibility in both directions.
The directional compatibility score is calculated as:
$$
\text{DirectionScore}
0.70 \times \text{SkillFit} + 0.20 \times \text{LevelFit} + 0.10 \times \text{AvailabilityFit} $$
The overall reciprocal compatibility score is calculated as:
$$
\text{OverallScore}
0.65 \times \min(A \to B,\; B \to A) + 0.35 \times \operatorname{avg}(A \to B,\; B \to A) $$
This approach prioritizes balanced, two-way compatibility rather than relying solely on one-sided matching scores.
Challenges We Ran Into
Cross-Domain Authentication: Deploying the frontend on Vercel (
vercel.app) and the backend API on Railway (railway.app) introduced cross-origin authentication challenges, particularly with modern browsers restricting third-party session cookies. We addressed this by implementing a dual authentication strategy supporting bothHttpOnlycookies andAuthorization: Bearersession tokens.Persistent Cloud Database Migration: Migrating secondary features—including messages, community groups, milestones, and user preferences—from in-memory storage to persistent PostgreSQL storage required additive Prisma migrations while preserving the integrity of existing database schemas.
Mobile Responsiveness: We encountered CSS Grid overflow and text truncation issues on smaller mobile screens. These were addressed to ensure dashboard cards, navigation drawers, and interface components remain accessible and well-organized across different viewport sizes.
Accomplishments We're Proud Of
Successfully deployed the full-stack application using Vercel, Railway, and Neon PostgreSQL, with automated Prisma migrations and health checks.
Implemented a transparent and explainable reciprocal matching algorithm instead of relying on an opaque compatibility score.
Established unit and end-to-end integration testing across the monorepo using Vitest and Supertest.
Built a bilingual platform with integrated skill discovery, exchange management, and community collaboration features.
What We Learned
Managing a production-ready monorepo using npm workspaces and shared TypeScript packages (
@skillloop/shared), while maintaining independent frontend and backend deployments.Handling real-world cross-origin security requirements, including CORS configuration, cookie-based authentication, bearer tokens, and environment variable validation.
Designing responsive interfaces that work consistently across desktop and mobile devices.
Building explainable matching logic that evaluates compatibility from multiple dimensions rather than relying on simple keyword matching.
What's Next for SkillLoop
We plan to continue improving SkillLoop through the following enhancements:
Real-Time Communication: Implement WebSocket-based notifications and live chat updates to make collaboration more responsive.
Calendar Integration: Add Google Calendar synchronization and
.icsexport functionality for scheduled skill exchange sessions.Community-Verified Skill Badges: Introduce skill verification badges based on completed learning sessions and peer reviews, helping users build trust and demonstrate their progress.
Built With
- docker
- express.js
- neon
- node.js
- postgresql
- prisma
- railway
- react
- tailwindcss
- typescript
- vercel
- vite
- vitest
- zod