nemsy
A collaborative, ad-free web platform for students to share and find university notes and resources. My final degree project (TFG).
Why
Until relatively recently, there were no well-integrated platforms in Spain where students could share notes, exams or other academic resources; they relied on in-person exchanges or messaging groups with no real persistence. In 2015 Wuolah was launched, a platform that did integrate with educational institutions and allowed users to upload notes linked specifically to a subject within a degree programme at their university. However, this platform suffers from significant performance limitations and an advertising-heavy monetisation model that degrades the user experience.
This Bachelor’s Thesis describes the design and implementation of an alternative web application that allows students to share, search and download notes without interference, with an emphasis on speed and lightness from the outset. The platform is designed to integrate with subjects, degree programmes and educational institutions both in Spain and abroad. Due to time constraints and the tedious nature of the process rather than technical difficulty, full integration has only been completed for the UCM, although the architecture is ready for expansion to other institutions: only a web crawler adapted to each institution’s website would be needed.
To achieve this, a combination of web scraping and the development of a script that uses JetBrains SWOT, a list of academic email domains, was used to obtain all educational institutions and their domains. Users who complete the onboarding process can see all the subjects in their degree organised by year and access notes shared by other students. They can also search globally across all notes on the platform thanks to Full Text Search, allowing searches to remain instant even with millions of resources.
The platform is built following a client-server architecture: a backend developed in Go, chosen for its performance and the robustness of its ecosystem for building APIs, a frontend in SvelteKit that provides a clean and responsive interface, and PostgreSQL as the database which facilitates certain functionalities.
Live at: https://nemsy.org
Features
- Google sign in that also detects your university from your email domain
- Universities, degrees and subjects that load automatically with JetBrains SWOT and a UCM scraper
- Resources with multiple files, previewed in the browser (PDF, images, Markdown)
- Global search with PostgreSQL Full Text Search, weighted fields and accent support
- Reports and moderation with an admin panel
- Desktop and mobile layouts, with expanded and compact views
Stack
- Backend: Go, Chi, PostgreSQL, sqlc, S3-compatible storage (Hetzner, minio-go)
- Frontend: SvelteKit, Svelte 5, TypeScript
- Testing: Vitest, Playwright, k6
- Deployment: Docker Compose on a VPS
What I Learned
- Designing a REST API first, endpoint before interface, after dropping an early GraphQL approach that turned out to be unnecessary
- Type-safe SQL with sqlc and evolving the schema through migrations
- Full Text Search in PostgreSQL instead of reaching for a separate search engine
- Transactions with compensation for uploads that touch both the database and object storage
- Measuring performance with k6 load tests and Lighthouse, and beating Wuolah on all four Lighthouse scores
- Writing it all up in a full thesis (the memoria), written in Typst
Links
Top Projects
-
two-players.org
A web platform for playing classic combinatorial games online, with support for multiple games, room system, and real-time chat.
-
nemsy
A collaborative, ad-free web platform for students to share and find university notes and resources. My final degree project (TFG).
-
ReOrder
A web app to create, rank and share lists, and to reply to other people's lists with your own reordered version. A University team project.
-
deadlocklytics.net
A minimalist and fast stats website for Deadlock
Stats
- Page views: ...
- Time here: 0s
- Full stats: View dashboard →