Campus platform · 2026
SwapSpace
Students share notes, books, skills and gear on campus instead of buying them.
- Type
- Campus platform
- Year
- 2026
- My contribution
- Designed and built the full stack
- Status
LiveBeta at COMSATS Abbottabad; joining needs a campus email
- TypeScript
- React
- Vite
- Express
- PostgreSQL
- Prisma
- Supabase


- 01Listings, needs, search and filters
- 02Exchange workflow from request to completion
- 03Match suggestions with the reasons why
The problem
On campus, someone always needs a book, a lab kit or help with a subject that another student already has. There was no simple, trusted place to find each other and swap without money changing hands.
What I built
- Sign-up with a campus email, confirmed with a six-digit code, so everyone on the platform is a student at the campus.
- Offers and needs: students post what they can share (books, notes, lab kits, tutoring, programming help) and what they're looking for. They can edit, archive or close a post, and browse or search everyone's with filters.
- A full exchange workflow. Request an exchange, accept or decline, agree a meeting place and time, share contact details with each other, and both sides confirm when it's done. Emails go out only when it's your move.
- Suggestions with reasons. For each open need, SwapSpace suggests matching offers and says why they match. Mutual matches are marked, and a "Not useful" button (with undo) tunes them.
- Reports and moderation: students can report a post or a person, and moderators work through a queue to dismiss reports, hide posts or suspend accounts, with appeals and a permanent audit log.
- Profiles with an optional photo, and the student chooses who can see it.
- Self-service account deletion with an emailed code, a password check and a seven-day grace period, plus a plain-language privacy page.
- Light and dark themes, and a phone layout with a bottom tab bar.
The screenshots of signed-in pages use sample students and posts. The landing page is the real one.
How it works
A React and TypeScript website, built with Vite, talks to an Express REST API that uses Prisma with PostgreSQL on Supabase. The API contract is written down in OpenAPI, so the website and the API agree on every request. The website runs on Vercel, and the API runs on Render in Singapore, next to the database.
Hard parts and decisions
- An exchange is a lifecycle, not a message. Each exchange moves through clear states, defined in one table of rules, so both students always know whose move it is. If both confirm at the same moment, it still completes correctly.
- Contacts by mutual consent. Contact details are shared only after a request is accepted, by choice, and you only see the other person's once both have shared. They disappear seven days after the exchange is completed.
- Explainable matching. Suggestions show their reasons, so students trust them and can say when one isn't useful.
- Where the data lives. The database moved from Sydney to Singapore to cut the delay from Pakistan, and Mumbai was avoided on purpose so the campus's student data isn't stored in India.
- Built as HCI and App Development coursework, with usability evidence collected along the way.
- Tested: API tests with Vitest and Supertest, website tests with Testing Library, an end-to-end test of a complete exchange in a real browser, and CI on every pull request.
What's next
- A usability refinement pass with student feedback, then the v1 release.
- A Flutter mobile app on the same API.
- More campuses and universities, and a past papers section.
Screens
Click any screen to inspect full size
Start a conversation
Want something like this?
Tell me what you need built and I'll get back to you within a day or two.
Get in touch