CHAPTER 2

image

Hello World Example

In this chapter, to help you get your feet wet using Express.js, we’ll build the quintessential programming example—the Hello World app. If you’ve already built some variation of this Express.js app (perhaps by following an online tutorial), feel free to skip to the next chapter and go either to Chapter 3 for the API methods and objects, or to Chapter 19-22 for examples. The topics covered in this chapter are as follow:

  • Getting started: creating the minimal Express.js app from scratch
  • Generator commands: command-line options of Express.js Generator
  • MVC structure and modules: a common way to organize code for Express.js ...

Get Pro Express.js now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.