Skip to the content

Part 15 of 25

Node.js and APIs

This part turns you into a back-end developer. It explains how Node.js really works (the event loop, non-blocking I/O, streams and worker threads), how to run a service safely in production, and then everything interviewers ask about APIs: HTTP methods and status codes, idempotency, REST design, pagination, caching, CORS, authentication with sessions, JWTs and OAuth, authorisation and multi-tenant isolation, background jobs, Redis, WebSockets and back-end testing. At the time of writing, Node.js 26 is the newest LTS line (Node.js 24 and 22 are still supported), and Express 5 is the default Express version on npm. The code was run on Node.js and tested with real HTTP requests.

Your progress

0%0 of 18 lessons complete

A lesson is complete when its quiz and all three practice levels are passed.

18 lessons in this part

  1. Lesson 189Single thread, the event loop and libuvNot started
  2. Lesson 190Blocking vs non-blocking codeNot started
  3. Lesson 191Streams and buffersNot started
  4. Lesson 192Worker threads and the cluster moduleNot started
  5. Lesson 193Configuration, signals and graceful shutdownNot started
  6. Lesson 194HTTP methods, status codes and headersNot started
  7. Lesson 195Idempotency and idempotency keysNot started
  8. Lesson 196REST API design: naming, errors and versioningNot started
  9. Lesson 197Pagination, filtering and sortingNot started
  10. Lesson 198HTTP caching: ETag and Cache-ControlNot started
  11. Lesson 199CORSNot started
  12. Lesson 200Sessions vs JWT, refresh tokens and safe storageNot started
  13. Lesson 201Password hashingNot started
  14. Lesson 202OAuth 2.0, OpenID Connect and PKCENot started
  15. Lesson 203Roles, ownership checks and multi-tenant isolationNot started
  16. Lesson 204Background jobs: queues, retries, dead-letter and outboxNot started
  17. Lesson 205Redis caching and WebSocketsNot started
  18. Lesson 206Back-end testing: unit, integration and end-to-endNot started