fully-api
Version:
API framework for Fully Stacked, LLC REST-ful APIs
39 lines • 1.43 kB
JavaScript
let path = require('path');
let rootDir = path.dirname(require.main.filename);
module.exports = {
db: {
user: process.env.API_DB_USER || 'elizabethkukla',
name: process.env.API_DB_NAME || 'fsapi_testing',
pass: process.env.API_DB_PASS || '5555',
host: process.env.API_DB_HOST || 'localhost',
port: process.env.API_DB_PORT || '5432'
},
server_options: {
max_request_size: process.env.MAX_REQUEST_SIZE || '50mb',
debug_mode: process.env.DEBUG_MODE || false,
use_remote_settings: process.env.USE_REMOTE_SETTINGS || false,
server_port: 3000,
user_session_timeout_min: 15,
user_session_timeout_check_interval: 15,
session_logging: false,
access_logging: false,
log_rotation_period_days: 90,
server_timeout: null,
keep_alive_timeout: null,
headers_timeout: null
},
file_locations: {
"endoints_ext": rootDir + "/json/Endpoints_ext.json",
"postman_collection": rootDir + "/postman",
"readme": rootDir + "/../README.md",
"settings": rootDir + "/json/Settings.json",
"models": rootDir + "/json/Models.json",
"security": rootDir + "/json/Security.json",
"endoints": rootDir + "/json/Endpoints.json"
},
remoteSettingsS3: {
bucket_name: "",
bucket_region: ""
}
};
//# sourceMappingURL=config.local.js.map