concept hello World in category javascript
appears as: Hello World

This is an excerpt from Manning's book Single Page Web Applications: JavaScript end-to-end.
You should see Listening on port 3000. When we open a web browser (on the same computer) and go to http://localhost:3000, we should see Hello World appear in the browser. Wow, that was simple! A server in only seven lines of code. I don’t know how you feel right about now, but I was delighted to have a web server application written and running in minutes. Now let’s walk through what the code means.