Context
Kuvuty is an online learning platform for university courses and practical workshops, with a website in English and Kiswahili, built and run by FNB Solutions for the team behind it. It starts with university students in Tanzania who think in Kiswahili but study in English, and it is made to work on a phone and a small data bundle. Kuvuty works closely with the University of Dar es Salaam and Zanzibar University, and is in discussions with UNDP. A course-hosting LMS covers only part of that. Institutions and tutors keep improving their courses while people are taking them, lessons mix video, PDFs, downloadable files, quizzes and flashcards, and lesson material has to stay private while each course is still promoted in public. The client needed a public site that explains the idea and a learning platform built for all of that. We built both.
What made it non-trivial
- Editing a live course without disturbing learners: published revisions are immutable snapshots frozen by database triggers, edits go to a draft, and lessons keep stable keys across revisions so progress and quiz attempts survive every republish
- Publishing as one atomic pointer switch, checked by deferred constraint triggers when the transaction commits, so a half-published course is never visible and, of two simultaneous publishers, exactly one wins
- Private video and PDFs released only after an access decision: video through short-lived signed links, PDFs streamed from private storage with a fresh authorization check on every request
- A course's cover and intro video are public while its lessons stay protected: two separate policies, with database triggers keeping promotional and lesson media apart so a bug in the code cannot expose a lecture as a trailer
- Uploaded ZIP files that learners can browse safely: a ZIP reader with no third-party dependency rejects path traversal, symlinks, encrypted archives and zip bombs, verifies checksums as it reads, and never extracts anything to disk; indexing runs in a separate worker service that claims jobs from a PostgreSQL queue under a lease, so a large archive never slows the web app
- An access model built for what comes next: seven roles with each of the 154 role-by-permission cells tested, and access to content granted by scope (platform, publisher, course or bundle), so paid plans can later issue the same grants without a rewrite
What we did
FNB Solutions was responsible for the product engineering of both sides, from architecture to hosting and operations. On kuvuty.com: the design system, scroll-driven sections that tell the story with type and a working render of the app instead of photos, a bilingual content system with 17 guides and articles in English and Kiswahili, structured data, sitemaps, hreflang, real 404 pages and the waitlist. On the platform: the data model, accounts, roles and the permission matrix, access grants, bundles and restrictions, the course editor with drafts, versioning and publishing, video through Cloudflare Stream, PDFs and ZIP resources through Cloudflare R2, flashcards and server-graded quizzes, progress tracking, a strict content security policy, automated accessibility checks, the audit log, a diagnostics page and data export and erasure. Between them, a public catalog feed so a published course appears on kuvuty.com without being copied by hand. The platform is a modular monolith in Next.js and PostgreSQL, running on self-managed VPS infrastructure behind Cloudflare, with resource-intensive work kept out of the web process: a separate worker service built from the same image claims ZIP indexing and outbox emails from job queues in PostgreSQL with FOR UPDATE SKIP LOCKED, and reconciles video processing state with Cloudflare Stream, while video is streamed by Cloudflare Stream and files are stored in Cloudflare R2. The platform has encrypted nightly backups, a weekly automated restore drill and error tracking.
Outcome
kuvuty.com is live in English and Kiswahili and collects a waitlist ahead of launch. In development since the beginning of September 2026, the learning platform is now live at app.kuvuty.com, and its first course is already listed in the public catalog. At its 27 November 2026 release check it passed 660 unit and database tests and 45 browser journeys, and automated WCAG 2.1 AA checks reported no violations on its main screens at desktop and phone widths.
Visit kuvuty.comResults
- 154
- role-by-permission cells, each covered by its own test
- 660 + 45
- unit and database tests plus browser journeys passing at the 27 Nov 2026 release check
- 2
- languages on kuvuty.com, English and Kiswahili, with translated URLs


