Split out from the original single-file backend-learning.md. A suggested week-by-week learning
order across all the backend files in this folder.
Part 9 — Study Path
- Weeks 1–2: HTTP + REST + JSON. Build a 3-route Express/Nest toy API. Learn status codes by breaking things.
- Weeks 3–4: Prisma + Postgres. Model User/Task/DailyQuest yourself; write the migration; break a unique constraint on purpose and read the error.
- Month 2: Auth end-to-end (bcrypt, JWT, refresh flow). Then transactions and the guarded-decrement pattern until they’re reflex.
- Month 3: Redis caching + invalidation discipline; BullMQ cron jobs; the ledger pattern.
- Advanced: idempotency everywhere, race conditions (write a test that fires 10 parallel purchases), N+1 hunting, observability (structured logs, request IDs), and reading production incident write-ups.
Jump to a subject
Software engineering
Infrastructure & security
Computer science
Hardware & engineering