app/configs
directory. Environment-specific configurations (e.g., NODE_ENV=production) must reside in the env
subdirectory and named after the target environment (e.g., app/configs/env/production
). Environment-specific configurations overwrite the values in general-purpose configuration files.blueprint.lookup()
method. Because application configuration are the first resource loaded, it is safe to lookup a configuration at any time within in the servers lifetime. For example, the code snippet below shows how to access the Facebook API key from the configuration above:..