O'Reilly logo

Pro Express.js by Azat Mardan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required