The largest project in the vault (142k words). A NestJS + Next.js platform covering auth, realtime, games/AI, payments and payouts — so it’s the broadest single body of applied backend and frontend material here.

System design

Backend

  1. 01 — Core → backend concepts
  2. 02 — Auth → auth flows, interview
  3. 03 — Modules
  4. 04 — Games & AI → AI engineering
  5. 05 — Realtime → HTTP/WebSockets, async
  6. 06 — Money, Ledger & Payouts → system design Q9: correctness over availability ⭐
  7. 07 — Validation & Query Contracts → backend concepts
  8. 08 — Payments & Webhooks → exactly-once fulfilment, lock scope, IDOR, money as Decimal ⭐
  9. 09 — Testing & Concurrency → load testing with k6, token pooling, throttler bypass, Prisma connection limits
  10. 10 — Wishlist & Spin the Wheel → public vs private data, verified-email linking, row locks, weighted random, claim codes ⭐

Frontend

  1. 01 — Routing
  2. 02 — State Management → state management
  3. 03 — Auth
  4. 04 — Forms & UI
  5. 05 — Uploads & Errors
  6. 06 — Realtime
  7. 07 — Payments & Games
  8. 08 — Performance & Debugging → frontend interview
  9. 09 — Payouts & Multi-currency UI
  10. 10 — Typed API Contracts
  11. 11 — Guest Identity & Conversion
  12. 12 — RTK Query & API Slices
  13. 13 — Testing → Vitest unit testing, React Testing Library with Redux/RTK Query, MSW, Playwright E2E
  14. 14 — Wheel UI & List-vs-Detail Data → the postcard carousel bug, animating to a server result, key remounts

Ops

Archive

The original flat files, kept as reference copies after the split into the domain folders above:

Interview

interview/

↑ Back to Projects — Learning Logs