Projects

Dana Academy

A learning platform for Persian speakers, starting with languages: guided roadmaps, exams, a daily streak and an optional private tutor.

  • #education
  • #go
  • #flutter
  • #nextjs

Dana Academy is a learning platform for Persian speakers. It teaches through courses laid out as a clear path, one lesson after another, with exams that check you are ready for the next part. It starts with languages: Swedish, Norwegian, English, German and Korean. It lives at dana.academy (opens in a new tab), in Persian and English.

Most language apps for Persian speakers are either a stack of videos or a translated foreign app. I wanted one built for them from the start: Persian first and right-to-left, lessons written for a Persian speaker, and a path that always tells you what to do next.

What a learner gets

home-mock-v2

  • A roadmap per course. A course is made of sections, and each section is a run of lessons. The required path is sequential, and the next lesson unlocks when you finish the current one.
  • A placement test. Optional, so you can skip what you already know. The first one is free in each language.
  • Section exams. They can act as gates, with as many retries as you need. Every attempt is kept, and your progress follows the latest one you passed.
  • Lessons that talk back. Audio and video lessons, an audio player that remembers where you were and how fast, and questions that test reading, listening and speaking, from true or false to recording your own voice.
  • A daily habit. A streak, badges, a daily study goal and study time tracked per day.
  • A library. Short stories, vocabulary and grammar to read alongside the course.

Free, Plus and a tutor

The first lessons of every course are free. Dana Plus, a monthly subscription, opens the rest, and access can be set lesson by lesson. A private tutor is an optional add-on: tutor-only practice lessons, feedback on what you send in, and short live sessions.

One rule I held to: a lapsed subscription changes what you can do, never what you have already learned. Your history and progress stay.

Signing in

dana-learn

Learners sign in with their phone number and a one-time code. No passwords to forget. The app lists the languages and how much of each is ready, and anyone can open a sample lesson before signing up.

How I built it

Dana is four parts that share one API:

  • dana-core, the API: a Go modular monolith on PostgreSQL. An OpenAPI file is the source of truth for every endpoint. Its modules cover learning, exams, badges, study time, billing, tutoring, identity, media, notifications and the blog.
  • dana-app, the learner app, in Flutter, from one codebase for Android, iPhone, the web, Windows, macOS and Linux.
  • dana-frontend, the public site and blog, in Next.js, built for search engines.
  • dana-admin, where courses are made: a lesson planner, a media library, identity checks and the blog editor, also in Next.js.

The API is the only thing that decides entitlements, progress, scores and billing. The clients show what it says and never repeat the rules, so the app and the site can’t disagree about whether a lesson is unlocked.

Media goes to SeaweedFS through its S3 API, and the database stores keys, not files. Background work runs from an outbox in PostgreSQL, and Redis waits until something actually needs it. I chose a monolith on purpose: one deployable, clear module boundaries inside it, and no network between parts that change together.

The core is not about languages. A course is a roadmap of lessons in a direction, from one language to another, so school subjects or books can become other kinds of courses later without a rewrite.

Where it is

Development started in October 2026 and has moved fast: the app has shipped many small releases since. Payments still run through stand-in adapters until a recurring payment provider is connected.

pezhvak@web:~$
↑↓move↵openescclose

keys

←→↑↓
Move between tiles
↵
Open the focused tile. Articles: start reading
QE
Home: highlights / recently updated. Gallery: filter by medium. Articles: previous / next entry
JK
Next / previous section of an article
F
Gallery work: full size
A
Home: all entries of the focused tile's section
esc
Back
1…4
Jump to a section
/
Search everything
R
Random note from the garden
M
UI sounds on / off
H
Go home