Real-World Projects

Twelve projects, ordered by difficulty and mapped to each module. Projects are where concepts become skills — build every one, push it to GitHub, and write a short README explaining what you learned.

💡 Free APIs to build against (no keys needed)

JSONPlaceholder (fake REST), PokéAPI, REST Countries, GitHub API, Open-Meteo (weather), DummyJSON (products/carts/auth).

After Module 1 — Foundations

Starter 1. Expense Tracker (Node console)

Build: a module of pure functions over an expense array: addExpense (non-mutating), totalByCategory, topN, filterByMonth, monthlyAverage.

Requirements: no mutation anywhere; use map/filter/reduce; verify with console.assert; a closure-based createTracker() holding private state.

You practice: closures, array methods, immutability discipline.

Starter 2. Utility Library ("mini-lodash")

Build: your own once, memoize, debounce, groupBy, pick, omit — with a small test file proving each works.

You practice: closures, higher-order functions, this-awareness. These exact functions are also interview staples.

After Module 2 — ES6+

Starter 3. Quiz Engine (ESM)

Build: three modules — questions.js (data), scoring.js (logic, named exports), runner.js (default export). Immutable score updates via spread; destructured question fields; template-literal output.

Stretch: lazy-load a "hard mode" question pack with dynamic import().

Intermediate 4. Shopping Cart Module

Build: a cart as pure functions: addItem, removeItem, updateQty, applyCoupon, totals — every operation returns a NEW cart object (spread everywhere). Options-object parameters with defaults throughout.

You practice: immutable update patterns — the exact skill Redux/React state management needs.

After Module 3 — Promises

Intermediate 5. API Race Dashboard

Build: a page fetching the same data from two endpoints, showing which "wins" (Promise.any), a 3-second timeout (race), automatic retry on failure, and a status board rendered from allSettled results.

You practice: every combinator, error recovery, DOM updates from async state.

Intermediate 6. Promise Toolkit

Build: a published-quality module: wait, withTimeout, retry (with backoff), your own promiseAll, promiseAllSettled, and deferred(). Document each with JSDoc comments.

Stretch: add a test suite with Vitest — testing async utilities teaches you fake timers.

After Module 4 — Async/Await

Intermediate 7. GitHub Profile Explorer

Build: input a username → fetch profile → fetch repos (dependent) → fetch languages for top 5 repos in parallel with mapLimit(…, 3, …) → render a summary. Handle 404 (user not found) and 403 (rate limit) distinctly.

You practice: dependent vs parallel requests, bounded concurrency, real error taxonomy.

Intermediate 8. Weather Dashboard

Build: city search (REST Countries for coordinates) → weather from Open-Meteo → show current + 5-day forecast. Loading skeletons, an error banner with a retry button, and AbortController to cancel stale searches when the user types again.

You practice: chained APIs, cancellation, UX around async states.

Advanced 9. Node CLI Report Generator

Build: a CLI (node report.js sales.csv --by=month) that reads files with fs/promises, parses args with destructuring, transforms with array methods, and writes a Markdown report. Process multiple files concurrently with a limit.

You practice: Node async I/O — the bread and butter of backend scripting.

Capstones — combine everything

Advanced 10. Link Health Checker

Build: feed it a list of URLs; it checks each with a timeout and 2 retries, at most 5 concurrent, then prints a table of status/latency and writes report.json. Add --fail-fast (Promise.all semantics) vs default (allSettled semantics) flags.

Advanced 11. Job Queue with Workers

Build: an in-memory async job queue class: queue.add(job) returns a Promise resolved when the job finishes; N workers pull jobs concurrently; failed jobs retry with backoff then land in a dead-letter list; emit progress events.

Why: this is a miniature of real systems (Bull, Sidekiq) — superb interview talking point.

Advanced 12. Full-Stack Mini App

Build: an Express backend (async route handlers, central error middleware, a couple of endpoints proxying/aggregating a public API with Promise.all) + a vanilla-JS frontend using fetch with loading/error/empty states. Deploy it (Render/Railway free tier).

Milestone: when this is deployed and you can explain every async decision in it, you're genuinely backend-ready.