Loo: Gamified Learning App on Next.js and Supabase by Yaroslav TsarenkoLoo: Gamified Learning App on Next.js and Supabase by Yaroslav Tsarenko

Loo: Gamified Learning App on Next.js and Supabase

Portfolio project
Yaroslav Tsarenko
Loo is my own product (2026): a Duolingo-style learning app for Ukrainian speakers, live at playloo.app. Courses are written as Markdown and compiled into lessons, topic tests and section exams; learners earn XP, keep streaks, climb weekly leagues and dress a pixel mascot.

The challenge

A learning game is only worth playing if it can't be cheated and if content can grow without code.
From a placement test to a weekly league
From a placement test to a weekly league

What I built

Courses as content: a compiler turns Markdown and a course manifest into sections, topics, lessons, tests and exam pools
Server is the source of truth: answer keys never reach the browser in graded steps; XP, hearts, leagues and coins change in one server transaction
Learning that sticks: FSRS spaced repetition, a mistakes queue and an adaptive placement test
Run it like a product: own analytics, an admin for users and the game economy, an audit log, a blog and a PWA
A score that means something
A score that means something
Courses are content, not code
Courses are content, not code
Run like a product, no third-party trackers
Run like a product, no third-party trackers

Numbers

4,287 English words with spaced repetition
1,300+ unit tests on the course compiler, progress and game logic, plus Playwright end-to-end tests
Row-level security on every progress table
1,300+ unit tests
1,300+ unit tests
Stack: Next.js 16, React 19, TypeScript, Supabase, PostgreSQL, Drizzle, Vitest, Playwright.

0 likes · 0 views · Nov 5, 2026

My own Duolingo-style app: five-minute lessons, streaks and weekly leagues, with answers checked on the server and progress protected by row-level security.

Tags