The way configurations organised (in Node.js) is broken — The Problem 😕 Let’s look at config NPM package. config suggests to break configuration in separate files based on environment: config/default.json, config/production.json, etc. Based on NODE_ENV value production configuration may overwrite default. Configuration usually have data for resources you need to initialize separately (database, cache). You will do so in application startup script.