SkillNest documentation
Everything you need to use the demo, understand how it works, and take it further.
Getting in
Open skillnestapp.seeko.app and enter the demo PIN. The PIN is shared with you separately and is never published on this site. A correct PIN keeps you signed in on that browser for seven days. Use Lock in the sidebar to sign out.
Acting as a member
The demo has no personal accounts. Use the Acting as menu in the top bar to become any member, then switch to play the other side of the same exchange. Your current credit balance shows next to the menu.
Matches
Matches ranks other members for whoever you're acting as. A reciprocal match means you can each teach the other something. A one-way match means only they can teach you, or only you can teach them. Green chips are skills they can teach you, and amber chips are skills you can teach them.
Booking and sessions
- On a match card or a member profile, pick the skill, length and time, then choose Request session.
- Switch Acting as to the teacher, open Sessions, and Confirm.
- After the session, choose Mark completed. A session must be confirmed before it can be completed.
- Either side can Cancel a requested or confirmed session.
Credits and reviews
Everyone starts with 3 welcome credits. Completing a session moves credits equal to its hours from learner to teacher, and both see a ledger entry on their profile. Once a session is completed, the learner can leave a one to five star review. The teacher's average rating updates straight away.
A day in the life
Asha is a data analyst who wants to learn Spanish before a trip.
- She opens Matches and sees Dev at the top: he teaches Spanish and wants to learn Python, which Asha teaches. It's a reciprocal match.
- She requests a one-hour Spanish session for Thursday evening.
- Dev confirms it. On Thursday they meet, and Dev marks it completed. One credit moves from Asha to Dev.
- Asha leaves five stars: "Practical and fun." Dev's rating ticks up.
- Next week Dev books Asha for Python, and the credit flows back. Neither has spent any money.
Organisers watch the Dashboard: hours exchanged, top skills, and the Unmet demand list, which shows where to recruit teachers.
Technical architecture
- App: Python 3.14, FastAPI, Jinja2 server-rendered pages, and HTMX for in-place updates. No client build step. Based on the AiNa FastAPI and HTMX starter.
- Data: SQLite with a deterministic synthetic seed on first boot. Matching and ledger logic are plain functions in
app/db.py. - Access: a PIN gate middleware that sets an HMAC-signed cookie.
/healthzand static files are open. - Origin: PM2 supervises the app on a registered loopback port and restores it at logon. Caddy routes
/__skillnest/*to the app and strips the prefix. - Edge: Tailscale Funnel gives the machine a public HTTPS address. A Vercel project on
skillnestapp.seeko.apprewrites every path to/__skillnest/…on that address, so visitors only ever see the clean domain. - Tracking: an internal phasedoc cockpit (builders only, never public) tracks each requirement as a task with a runnable acceptance test.
Path to production: port the schema to Postgres, replace the PIN with real accounts, and run the cloud twin (same code, environment settings only) on a small server for 24×7 availability.
Data model
| Table | Key fields |
|---|---|
member | id, name, city, bio, credits, joined |
skill | id, name, category |
offer / want | member_id, skill_id (offer also has level) |
session | teacher_id, learner_id, skill_id, hours, at, status |
review | session_id, rating (1 to 5), text |
ledger | member_id, delta, reason, session_id, at |
Match score
score = 50 × reciprocal
+ 10 × (skills you can teach them + skills they can teach you)
+ 5 × same city
+ 2 × their average rating
API reference
All routes except /login, /healthz and /static/* require the PIN cookie. HTMX routes return HTML fragments plus an X-Toast header. Errors return 400 with the reason in X-Toast.
| Method and path | Purpose |
|---|---|
GET /healthz | Liveness check, returns ok |
GET /login · POST /login · POST /logout | PIN gate |
POST /act | Set the acting member (member_id) |
GET / | Community dashboard |
GET /matches | Ranked matches for the acting member |
GET /skills · GET /skills/search?q= | Catalogue, plus a search fragment |
GET /members · GET /members/{id} | Directory and profile |
GET /sessions?scope=mine|all | Session list |
POST /sessions | Request a session (teacher_id, skill_id, hours, at) |
POST /sessions/{id}/confirm|complete|cancel | Lifecycle transition, returns the updated row |
POST /sessions/{id}/review | Review a completed session (rating, text) |
GET /roadmap | Built and coming |
Running it yourself
cd app
py -3.14 -m venv .venv
.venv\Scripts\python -m pip install fastapi "uvicorn[standard]" jinja2 python-multipart
copy .env.example .env (then set SKILLNEST_PIN and SKILLNEST_SECRET)
.venv\Scripts\python -m uvicorn app.main:app --port 8101
.venv\Scripts\python -m pytest -q (17 acceptance tests)
Set SKILLNEST_RESET=1 to re-seed the demo data on the next start.