Polishing Up the Server

We take care of the edge cases for our server. We make sure it runs a callback after stopping, errors when stop() is called twice in a row, and warns us when we forget to provide the server port number. We wrap up with a brief discussion of the value of writing code to fail fast.

  1. LL3Integration Testing a Node.js Web Server

    Sat, 1 Sep ’12
  2. LL8Automatopia

    Fri, 30 Nov ’12
  3. E9A Very Simple HTTP Server

    Fri, 3 Aug ’12
  4. E10Test-Driving an HTTP Server

    Mon, 6 Aug ’12
  5. E11Lots of Learning

    Wed, 8 Aug ’12
  6. E12Our First Client/Server Test

    Fri, 10 Aug ’12
  7. E13A Basic “Hello World” Server

    Mon, 13 Aug ’12
  8. E14Polishing Up the Server

    Wed, 15 Aug ’12
  9. E15Enforce the Node Version

    Fri, 17 Aug ’12
  10. E16Make Them Read Your Crap

    Mon, 20 Aug ’12