config/development.js
/**
 * @brief This function sets up the application development configuration.
 *
 * @return object development configuration.
 */
@brief This function sets up the application development configuration.
@return object development configuration.
@brief This function sets up the application development configuration . @return object development configuration .
function initializeDevConfig() {
    'use strict';
    return Object.freeze({
        URL: "http://localhost:3000",
        PORT: 3000,
        IP_ADDRESS: "127.0.0.1",
        LOG_LEVEL: process.env.LOG_LEVEL,
        db: {
            DB_ADDRESS: "mongodb://localhost:27017/" + process.env.TTT_DB_NAME
        },
        slack: {
            SLACK_API_TOKEN: process.env.SLACK_API_TOKEN,
            TTT_COMMAND_TOKEN: process.env.TTT_COMMAND_TOKEN
        },
        locales: {
            US_EN: "US_EN"
        },
        locale: "US_EN"
    });
}
function initializeDevConfig ( ) { 'use strict' ; return Object . freeze ( { URL : "http://localhost:3000" , PORT : 3000 , IP_ADDRESS : "127.0.0.1" , LOG_LEVEL : process . env . LOG_LEVEL , db : { DB_ADDRESS : "mongodb://localhost:27017/" + process . env . TTT_DB_NAME } , slack : { SLACK_API_TOKEN : process . env . SLACK_API_TOKEN , TTT_COMMAND_TOKEN : process . env . TTT_COMMAND_TOKEN } , locales : { US_EN : "US_EN" } , locale : "US_EN" } ) ; }
@brief This function sets up the application development configuration.
@brief This function sets up the application development configuration .
// Express server port // Express server address // Default log level // Database config // mongodb address // Slack related config // API token // /ttt command token