Language learning platform
- What it is
- An online language learning system in three parts: a public course website, a learner platform and a content management system. The admin builds courses on their own, without a developer: the system turns the entered vocabulary into interactive exercises, manages course access through activation codes, tracks learner progress and issues a certificate when a level is completed.
- Status
- Actively developed.
Exercises generated from the vocabulary
A word is entered once, and the system builds the exercises from it.
- 9 exercise types: flashcards, matching pairs, sentence building, translation and more.
- Before generating, you see what's missing, such as audio.
- Wrong answer options come from the same topic.
- Regenerating doesn't duplicate exercises, and manual ones are kept.

A learning path for the learner
Lessons, tests, review and a certificate along one clear path.
- Answers are checked instantly, and small typos are forgiven.
- Topics and tests unlock with progress.
- Words come back for review after 1, 3, 7 and 21 days.
- A PDF certificate with a unique number at the end of each level.

A whole course from one Excel file
A course is uploaded as one file, and you see what will be created before saving.
- The template can be downloaded from the system.
- Columns and duplicates are checked.
- Audio and images uploaded later are linked automatically.

Technical side
- What I did
- The full build: the database, server logic, learner platform, content management and tests.
- Decisions
- Exercise engine built from pure functions: each exercise type is a single rule in a registry, so a new type doesn't require changing the engine. Randomness is passed in as a parameter, so the logic is tested deterministically. The same engine powers lessons, tests and review.
- Security in three layers: in the interface, in server actions and in the database (Row Level Security on every table). RLS policies are covered by separate integration tests, because interface protection can be bypassed by calling the API directly.
- Atomic operations in the database: activating a code and other multi-step operations run in a single transaction with a row lock, so the same code can only be redeemed by one person.
- Strict data layer: component → hook → service → database. When two admins edit the same record, the conflict is detected and other people's changes are never silently overwritten.
- Quality automation: checks before every commit, an ESLint rule that guards the design system, spam protection on the contact form, and IPs stored only as a hash and deleted after a day.
- Scale
- 33 screens · 25 DB tables and 64 RLS policies · 9 exercise types · 433 tests (110 RLS and 16 E2E among them) · 2105 translation keys
- Stack
- Next.js, React, TypeScript, Tailwind CSS, shadcn/ui, TanStack Query, React Hook Form + Zod, next-intl · Supabase (PostgreSQL, RLS, Auth, Storage), pg_cron · @react-pdf/renderer, xlsx · Vitest, Playwright