Module: config

config

This module loads the application configuration depending on the 'NODE_ENV' environment variable.
Properties:
Name Type Description
env String The environment used in the application
root String The application root path
publicDir String The path to public sources
ip String IP address used to bind the application server
port String The port used to bind the application server
secrets Object Holding the session secret used to sign the user session
userRoles Array Array of available user role names
mongo Object Configuration that is passed to mongoose to establish a connection
Source:

Members

<inner> common

Load environment configuration
Source: