Lesson 4.5

Wiring it together - hello.js and the stage checks

Move the teaching server onto the (req, res) pair, add this chapter's frozen fixture route, and run the stage-05 and stage-06 checks that prove the writer, keep-alive, and pipelining over real sockets.

25 minexamples/hello.js
  • Rewrite the example server so handlers call Response methods and never touch the socket.
  • Serve the frozen GET /created fixture and confirm its status, fields, and body.
  • Run the stage 05 and 06 checks and the through-6 regression.
Locked

This chapter is part of the framework capstone. Chapters 1 and 2 are free to build - unlock the rest to keep going.

Unlock the depth