• 2 min read

System Design Tracker

A study log and heatmap for system design prep, later extended into a practice platform with diagram grading and LLD code problems.

Next.jsFirebasePostgreSQLPrismatldrawGemini

System Design Tracker dashboard

Why

The LeetCode submission heatmap is what kept me consistent with data structures and algorithms. Once the streak got going, it was its own motivation. System design prep has nothing like it. You read a chapter or sketch an architecture and there’s no record it happened. I’d study hard for a week, take a few days off, and lose track of what I’d covered.

The tracker

The live version is the tracker. You log a session with a topic and a resource, and the app fills in a year-view heatmap, a weekly progress chart, and counts of entries, study days and unique topics. You can search for other users by username, follow them and see their heatmaps.

It is Next.js on Vercel, with Firebase Auth and Firestore and no custom backend. Entries are queried per user and aggregated into the heatmap on the client. To make following work without a backend, entries are publicly readable. A private-by-default version would need to split heatmap counts from entry content.

The practice platform

On the temp/terra branch I turned the tracker into a practice platform:

  • Study plans. System design and LLD categories with curated resources, on-site articles, hints, and solutions that reveal step by step.
  • 15 system design problems. You draw your answer on a tldraw canvas. The grader pulls a graph out of the drawing and matches it against a rubric. Gemini can add feedback on the design, falling back through a chain of Flash-Lite models.
  • 15 LLD problems. You write Python in a CodeMirror editor, and the server runs public tests through a remote Python sandbox.

Firestore was replaced with Neon Postgres through Prisma 7. Firebase Auth still handles identity, and every write uses the uid from the verified token, never one sent by the client. Problems and study plans are written as typed TypeScript specs and loaded by an idempotent seed script, so content changes go through code review like everything else. The branch has 90 Vitest tests, including checks that every LLD problem ships a reference solution and a test harness.

A separate version, built with a friend, lives in a private repo.

Back to top