Configuration, Settings, and Environments
This chapter is all about different ways of configuring Express.js settings. As mentioned in Chapter 1, 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 ...