SkillSwap — Trade Skills, Learn Together

Tagline: Teach what you know. Learn what you don't. A free skill-exchange board for students.

Try it out: Live app — https://devilking7x.github.io/skillswap/ · Source code — https://github.com/devilking7x/skillswap

Inspiration

Every student knows something useful and wants to learn something else — basic Excel, spoken English, guitar, Python, yoga — but there is no simple place to find a fair trade. Tutoring apps cost money; random group chats get lost. I built SkillSwap as a board where a student posts one skill they can teach and one they want to learn, and finds a fair swap with no money involved.

What it does

SkillSwap is a community skill-exchange board for students. You post one skill you can teach and one skill you want to learn. Then you browse the board — search, filter by category (Language, Coding, Music, Art & Design, Academics, Sports & Fitness, Cooking, Other) or by mode (online / in person) — and click "Find matches" on any post:

  • 🤝 Mutual match — the other person teaches what you want to learn and wants to learn what you teach. A fair swap, no money involved.
  • One-way match — they can teach you what you want to learn, even if the trade is not mutual yet.

Privacy by design: No accounts, no server, no tracking. Your posts live only in your own browser (localStorage) and you can delete them any time. The board ships with 6 clearly labelled sample posts (marked "Sample") so a first-time visitor can see matching work — remove them with one click; they are not real people.

How we built it

A static site with zero dependencies — plain HTML, CSS and JavaScript. The matching engine (logic.js) is a pure module: given two posts it decides mutual vs one-way by comparing teach/learn pairs, and the UI (app.js) renders the board, filters and results from it. The sample posts are data, not special cases — they flow through the same matching code as real posts, so what a judge sees is what the engine actually does. Tested with 11 Node unit tests for the matching logic and a 7-check Playwright smoke test (load, search, posting, mutual match, persistence, sample toggle, validation, zero JS errors).

Challenges we ran into

The real challenge was the empty board. With no posts, "Find matches" has nothing to match — and the easy, dishonest move would be to show plausible-looking matches anyway. Instead the board is honest in both directions: with zero posts it says so, and with posts it shows exactly which matches are mutual and which are one-way, with the reason visible. That is why the 6 sample posts exist — clearly labelled "Sample", removable with one click, and never presented as real people. The matching logic itself had to be strict about direction: teaching X and wanting Y is not the same as teaching Y and wanting X, and the unit tests pin that asymmetry (11 tests cover mutual, one-way, no-match and self-match cases) so a "mutual match" on the board is always a real two-way swap.

Accomplishments that we're proud of

  • A matching engine that distinguishes mutual from one-way swaps — and proves it with 11 unit tests, including the direction-asymmetry cases.
  • A board that is useful in the first 10 seconds: 6 labelled sample posts, search that narrows to 1 post for "guitar", and a mutual match visible immediately.
  • Privacy by design: no accounts, no server, posts only in your own browser, deletable any time.
  • 11/11 Node tests and 7/7 Playwright checks, zero JS errors.

What we learned

  • In a marketplace with no users yet, the honest demo is the product: labelled sample data that flows through the real matching code teaches the concept without faking a community.
  • Direction matters in matching: "I teach X, I want Y" is not symmetric, and getting that wrong would have shown people false mutual matches.
  • Zero-dependency static sites can carry real logic — the matching engine is a pure module with no framework behind it.

What's next for SkillSwap

  • Optional shareable board links and a "request a swap" message template — still with no accounts and no server.
  • A "swap history" view: swaps you marked done, so the board shows learning actually happening.
  • Category-based browsing pages (e.g. all Language swaps) for larger boards.

Built With

HTML, CSS, JavaScript, Node.js 20 (tests), Playwright (smoke tests)

Testing instructions (for judges)

  1. Open the live link. You will see 6 sample posts (labelled "Sample").
  2. Type guitar in the search box — the board narrows to 1 post.
  3. Clear the search. Fill in the "Post your swap" form — e.g. teach "Basic Excel", learn "Spoken English" — and submit.
  4. The results box shows a mutual match with Rohan (sample), who teaches Spoken English and wants Basic Excel. Click "Find matches" on any other card to see its matches.
  5. Reload the page — your post is still there (stored in your browser only).
  6. Click "Remove sample posts" to see only your post; "Restore sample posts" brings them back. "Delete all my posts" wipes your posts.
  7. Try submitting the form empty — validation errors appear and nothing is added.

Built With

Share this project:

Updates

Submission history