CompletedCategory: Own Products Full Stack Developer (own product)
Dersmio
Private lesson tracking SaaS: a multi-tenant Go API on PostgreSQL with three Nuxt 3 panels
By the numbers
290K+
lines of Go (tests excluded)
1,200+
Go test files
1,000+
Vitest test files
800+
Playwright E2E tests
1,500+
unique REST endpoints
700+
database migrations
400+
backend service files
6
roles (CASL + route middleware)
5
Nuxt 3 apps, plus a Flutter mobile app
190+
Dart files in the mobile app
96
mobile Lighthouse performance
100
Lighthouse SEO
0
CLS (LCP 1.7 s, TBT 80 ms)
Challenge
One product had to serve two worlds: a solo tutor with a handful of students, and a school or college with branches, classrooms and managers. Both had to share one data model, keep every tenant’s data strictly separate, and ship from one person without breaking either side.
What I built
Two worlds, one codebase: solo teachers are rows with no institution, institutions add branches, classrooms and managers on the same tables, and a single scope choke-point decides what each request can see. The solo product never broke while the institution layer shipped.
Three Go backends (teacher/student app, super admin, institution) over shared models and repositories, with a strict handler → service → viewmodel → repository layering and ownership checks in the service layer.
Six roles with numeric levels (student, parent, teacher, branch manager, institution admin, super admin), enforced by middleware on the server and by CASL plus route middleware on the client.
Teaching workflow end to end: recurring lessons with daily and weekly views, free-slot finder and bulk moves, homework, payments and ledgers, PDF and Excel export, web push and mobile push notifications, iyzico subscriptions.
A student and parent side with quizzes, flashcards, placement tests, scoreboards and gamification, plus a Flutter mobile app on the same backend.
Online lesson rooms on Jitsi with a shared whiteboard, AI features on Gemini (homework generation, student analysis, weekly coaching plans) and a Chrome Web Store extension that crops questions from the screen into the question bank.
A route-coverage guard fails the build if any endpoint on any of the three panels has no test, so nothing ships untested.
Landing pages are prerendered with sitemap and JSON-LD; releases build Docker images in GitHub Actions and run behind Caddy.
Architecture
Backend: Go (Fiber), PostgreSQL, Firebase for push; 400+ service files across three entry points.
Frontend: five Nuxt 3 apps (teacher, super admin, institution and two landing pages) with Vue 3, Vuetify, Tailwind CSS, Pinia and CASL.
Mobile: Flutter app with 190+ Dart files and its own test suite.
Quality: Go tests, Vitest, Playwright, Lighthouse; Docker Compose and Caddy for deployment.