O'Reilly logo

Express.js Deep API Reference 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 1

image

Configuration, Settings, and Environments

This chapter is all about different ways of configuring Express.js settings. As you might have heard, Express.js positions itself as a configuration over convention framework. So, when it comes to configurations in Express.js, you can configure pretty much anything! To do so, you use configuration statements and know the settings.

What are the settings? Think of settings as key-value pairs that typically act in a global or application-wide manner. Settings can augment behavior of the server, add information to responses, or be used for references later.

There are two types of settings: 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