iwantcoding.com
🔥 Daily 👥 Rooms 🏆 Top Log in Sign up

Node Bootcamp

A two-week sprint to be production-ready in Node.js.

Bootcamp plan

EXAMPLE
# Node.js bootcamp - 10 working days

Day 1 - Tooling: Node 20+, npm vs pnpm vs bun, tsx, eslint flat config.
Day 2 - Runtime: event loop, microtasks vs macrotasks, process model.
Day 3 - Modules: ESM imports, top-level await, dual packages, .js extensions in TS.
Day 4 - Streams + buffers: pipeline, transform streams, backpressure.
Day 5 - HTTP: native server, Fastify or Hono; middleware, routing.

Weekend project: a small REST API + Postgres + tests.

Day 6 - Async: Promises, AbortController, structured cancellation, queues.
Day 7 - Workers: worker_threads for CPU; child_process for shelling out.
Day 8 - Observability: pino logging, OpenTelemetry tracing, Prometheus.
Day 9 - Testing: vitest, supertest, msw for HTTP mocking, integration with testcontainers.
Day 10 - Deploy: Dockerfile, OIDC to AWS or Fly, graceful shutdown, health checks.

Capstone: ship a small API with auth, DB, tests, OTel traces, and a Docker image.

## Tips

- TypeScript strict from day one
- Zod for env + request validation; never trust input
- Reach for a small framework (Hono, Fastify) over hand-rolled routing in production
- pino for logs; never use console.log in services

## Common mistakes

- Forgetting graceful shutdown - SIGTERM dropped requests
- Synchronous fs in hot paths
- Logging secrets - redact early
- Skipping AbortController for long-running calls

Why it matters

Node is enormous - a focused two weeks gets you the modern stack. Strict TS + Zod + Fastify (or Hono) + pino + OTel + Docker is a production-ready toolbox that lets you ship the same week you finish the bootcamp.

Tip: Tweak the snippet with Try it Yourself », then sit the quiz at the bottom of the page.

Example

Example
console.log('30-day Node bootcamp — see lesson body.');
Try it Yourself »

Discussion

Loading…