global-express
Version:
A Command line interface for instantly building an express
16 lines (15 loc) • 356 B
JavaScript
module.exports = {
app: {
port: 3000,
host: process.env.HOST || 'localhost',
mainRoute: '/api/v1',
modeServer: 'http',
modeCluster: true,
openSslKeyPath: './key.pem',
openSslCertPath: './cert.pem',
loggerFilePath: './logs/access.log',
rateLimitSuspendTime: 5,
rateLimitMaxHitPerIP: 500,
pageLimit: 10,
},
};