Your IP : 216.73.216.91


Current Path : /var/node/inatote/qa_inatote/
Upload File :
Current File : /var/node/inatote/qa_inatote/config.js

// config.js
// const env = process.env.NODE_ENV; // 'dev', 'test' or 'prod' 
const env = 'prod'
const dev = {
    app: {
        hostname: 'localhost',
        port: 9090,
        companyId: "Admin_hdsfjshdj7wyr7ye8sdjhchj738",
        apikey: "",
        secret: "secret",
        tokenDuration: "",
        headers: {
            'Content-Type': 'application/json',
            'Access-Control-Allow-Origin': '*',
            'Access-Control-Allow-Methods': 'GET, POST, OPTIONS, PUT, PATCH, DELETE', // If needed
            'Access-Control-Allow-Headers': 'X-Requested-With,content-type', // If needed
            'Access-Control-Allow-Credentials': true // 
        },
        serverKey: {
            customerApp: "AAAAB7003pM:APA91bH4f3WDq6VIs2GzV3yK9NMvfGFoy6WYxJ-MEYWot6HilLXcWXqXK6iO7F0kAibQsjzX71jxxR81fyGYJTbiJq5GJWnx1wMUxlgbW4HauVO0WPPYhWLmmV1__Mizr_x_6PJ1q48b",
            riderApp: "AAAA5IIVgPk:APA91bHmBxsElmQ4yXAStlKiI2Gt6MEKvP0wzbIbp_MVq6BtyP71FPvyGTlLevmwiaS4mA14ZLlEch7TmxNMz1un2yvGPUAKLRjv2EyzeoCtlJBXY3stFaFpdwpOyqMemU4xdmwvUIXy"
        },
        googleMapApiKey: "AIzaSyDbSvp9iW6DnqHroXOxB5QX2TBExz5OWAE",
        sendGridApiKey: "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",
        googleMapApiKey: "AIzaSyDbSvp9iW6DnqHroXOxB5QX2TBExz5OWAE",
        staggingSigningKey : "YAwtr43knpHnYe4Et1aMTToE7NMwTPuS58ILOm0t0kadHoHpHVHS2bjEgUrWT4Ws",
        // staggingSigningKey : "Xwqal2Wbcv7i2fV5atCSU8PxQw8GXUoc8v2eFQd0pjOAyfSZ5tuN62sUZrjsKFCU",
        berkleyURL: "https://api.staging.pungle.co/api/v1",
        imageURL: "https://dev.inatote.com/"
        // serverKey: "AAAAB7003pM:APA91bH4f3WDq6VIs2GzV3yK9NMvfGFoy6WYxJ-MEYWot6HilLXcWXqXK6iO7F0kAibQsjzX71jxxR81fyGYJTbiJq5GJWnx1wMUxlgbW4HauVO0WPPYhWLmmV1__Mizr_x_6PJ1q48b"
    },
    db: {
        host: '127.0.0.1',
        port: 27017,
        name: 'inatote_db',
        // connectionString: 'mongodb://127.0.0.1:27017'
        // connectionString: 'mongodb://DbDev:HqvHKjFQ7iN4TFjvzXnSGY7BIsvPQzCm@142.93.153.53:27017/?authSource=admin'
        // host: '142.93.153.53',
        // port: 27017,
        name: 'inatote_db',
        connectionString: 'mongodb://DbDev:HqvHKjFQ7iN4TFjvzXnSGY7BIsvPQzCm@142.93.153.53:27017/?authSource=admin'

    }
};

const test = {
    app: {
        hostname: 'localhost',
        port: 9090,
        companyId: "Admin_hdsfjshdj7wyr7ye8sdjhchj738",
        apikey: "",
        secret: "secret",
        tokenDuration: "",
        headers: {
            'Content-Type': 'application/json',
            'Access-Control-Allow-Origin': '*',
            'Access-Control-Allow-Methods': 'GET, POST, OPTIONS, PUT, PATCH, DELETE', // If needed
            'Access-Control-Allow-Headers': 'X-Requested-With,content-type', // If needed
            'Access-Control-Allow-Credentials': true // 
        },
        serverKey: "AAAAB7003pM:APA91bH4f3WDq6VIs2GzV3yK9NMvfGFoy6WYxJ-MEYWot6HilLXcWXqXK6iO7F0kAibQsjzX71jxxR81fyGYJTbiJq5GJWnx1wMUxlgbW4HauVO0WPPYhWLmmV1__Mizr_x_6PJ1q48b",
        sendGridApiKey: "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",
        staggingSigningKey : "Xwqal2Wbcv7i2fV5atCSU8PxQw8GXUoc8v2eFQd0pjOAyfSZ5tuN62sUZrjsKFCU"
        
    },
    db: {
        host: '127.0.0.1',
        port: 27017,
        name: 'qa_inatote',
        connectionString: 'mongodb://DbDev:HqvHKjFQ7iN4TFjvzXnSGY7BIsvPQzCm@142.93.153.53:27017/?authSource=admin'
    }
};


const prod = {
    app: {
        hostname: 'localhost',
        port: 3000,
        companyId: "Admin_hdsfjshdj7wyr7ye8sdjhchj738",
        apikey: "",
        secret: "secret",
        tokenDuration: "",
        headers: {
            'Content-Type': 'application/json',
            'Access-Control-Allow-Origin': '*',
            'Access-Control-Allow-Methods': 'GET, POST, OPTIONS, PUT, PATCH, DELETE', // If needed
            'Access-Control-Allow-Headers': 'X-Requested-With,content-type', // If needed
            'Access-Control-Allow-Credentials': true // 
        },
        serverKey: {
            customerApp: "AAAAB7003pM:APA91bH4f3WDq6VIs2GzV3yK9NMvfGFoy6WYxJ-MEYWot6HilLXcWXqXK6iO7F0kAibQsjzX71jxxR81fyGYJTbiJq5GJWnx1wMUxlgbW4HauVO0WPPYhWLmmV1__Mizr_x_6PJ1q48b",
            riderApp: "AAAA5IIVgPk:APA91bHmBxsElmQ4yXAStlKiI2Gt6MEKvP0wzbIbp_MVq6BtyP71FPvyGTlLevmwiaS4mA14ZLlEch7TmxNMz1un2yvGPUAKLRjv2EyzeoCtlJBXY3stFaFpdwpOyqMemU4xdmwvUIXy"
        },
        sendGridApiKey: "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",
        googleMapApiKey: "AIzaSyDbSvp9iW6DnqHroXOxB5QX2TBExz5OWAE",
        staggingSigningKey : "Xwqal2Wbcv7i2fV5atCSU8PxQw8GXUoc8v2eFQd0pjOAyfSZ5tuN62sUZrjsKFCU",
        berkleyURL: "https://api.staging.pungle.co/api/v1",
        imageURL: "https://qa.inatote.com/"
        
        // serverKey: "AAAAB7003pM:APA91bH4f3WDq6VIs2GzV3yK9NMvfGFoy6WYxJ-MEYWot6HilLXcWXqXK6iO7F0kAibQsjzX71jxxR81fyGYJTbiJq5GJWnx1wMUxlgbW4HauVO0WPPYhWLmmV1__Mizr_x_6PJ1q48b"
    },
    db: {
        host: 'DbDev:HqvHKjFQ7iN4TFjvzXnSGY7BIsvPQzCm@142.93.153.53',
        port: 27017,
        name: 'qa_inatote',
        connectionString: 'mongodb://DbDev:HqvHKjFQ7iN4TFjvzXnSGY7BIsvPQzCm@142.93.153.53:27017/?authSource=admin',
        
       
    }
};

const config = {
    dev,
    test,
    prod
};

export default config[env];