DB Lablive
MongoDB, PostgreSQL and system design — from first principles to interview depth, in English and Hindi.
- type:
- Learning platform · bilingual
- context:
- Built independently
- area:
- Frontend · Education
- stack:
- 6 technologies
- live:
- db-lab.vercel.app
- code:
- source
spec.yaml
ReactTypeScriptViteTailwind CSSshadcn/uiMarkdown
- 01Problem
- 02Approach
- 03Architecture
- 04From the notebook
- 05Trade-offs & hard parts
- 06Ownership
- 07Outcome
- 08Screens
← jump anywhere
01Problem
Database knowledge for interviews is scattered and shallow: definitions without the why, and examples that never run on a real database.
02Approach
A static learning app with 36 lessons and 314 interview questions. Every lesson follows one arc — story, why it exists, a real example, pitfalls, interview answers and a 10-second recap — and every example was verified on real MongoDB and PostgreSQL.
03Architecture← the interesting bit
- Content as Markdown + JSON, validated at build time by a Vite plugin that fails with the file name
- One lazy chunk per lesson per language, so readers download only the lesson they open
- Bilingual UI and content: a type-checked Hindi dictionary and a translation checker that guards code and diagrams
- No backend: progress lives in localStorage, with export and import as a backup
04From the notebook
05Trade-offs & hard parts
risk.01Keeping 72 translated files faithful: code, diagrams and structure must stay identical to English.
risk.02A fast first load with hundreds of pages of content — solved with build-time validation and per-lesson chunks.
06Ownership
owner: Everything — the app, all 36 lessons and 314 questions, and both languages.
— Hankish
07Outcome
36 lessons, 314 interview questions, two languages, deployable as a static site.
08Screens

