O'Reilly logo
  • Aaron Staker thinks this is interesting:

Listing 2-1 is the default Node web server that’s often shown in examples of Node. The aforementioned code snippet will respond with “Hello World” any time you make a request to You can verify this using either a web browser or the curl command in a terminal window.


Cover of Full Stack JavaScript Development With MEAN


To actually get this thing to work type in "node app.js" in your terminal. Not sure why this is not clear in the instructions.