UNPKG

fully-api

Version:

API framework for Fully Stacked, LLC REST-ful APIs

37 lines 1.35 kB
path = require('path'); rootDir = path.dirname(require.main.filename); module.exports = { db: { user: process.env.API_DB_USER || '[YOUR DB USER HERE]', name: process.env.API_DB_NAME || '[YOUR DB NAME HERE]', pass: process.env.API_DB_PASS || '[YOUR DB PASSWORD HERE]', 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 + "/Endpoints_ext.json", "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.template.js.map