chahuadev
Update README
857cdcf
{
"_comment": " Chahua Development Thailand - Default Configuration",
"_author": " CEO: Saharath C.",
"server": {
"port": 3000,
"host": "localhost",
"cors": {
"enabled": true,
"allowedOrigins": [
"*"
],
"allowedMethods": [
"GET",
"POST",
"PUT",
"DELETE",
"OPTIONS"
],
"allowedHeaders": [
"Content-Type",
"Authorization",
"X-Requested-With"
]
}
},
"security": {
"jwt": {
"secret": "default-secret-change-in-production",
"expiresIn": "24h",
"algorithm": "HS256"
},
"rateLimit": {
"windowMs": 900000,
"maxRequests": 100,
"skipSuccessfulRequests": false
},
"validation": {
"enabled": true,
"strictMode": true
}
},
"logging": {
"level": "info",
"path": "./chahuadev-framework/logs",
"maxSize": 10485760,
"maxFiles": 5,
"enableConsole": true,
"enableFile": true
},
"cache": {
"maxSize": 100,
"defaultTTL": 300000,
"cleanupInterval": 60000,
"enablePersistence": false,
"persistPath": "./chahuadev-framework/logs/cache"
},
"retry": {
"maxAttempts": 3,
"baseDelay": 1000,
"maxDelay": 30000,
"backoffMultiplier": 2,
"jitter": true
},
"rollback": {
"maxSnapshots": 10,
"snapshotPath": "./chahuadev-framework/logs/snapshots",
"autoCleanup": true
},
"security_logger": {
"alertThreshold": 10,
"enableRealTimeAlerts": true,
"logPath": "./chahuadev-framework/logs/security",
"maxLogSize": 10485760,
"maxLogFiles": 5
},
"health": {
"checkInterval": 30000,
"thresholds": {
"cpu": 80,
"memory": 85,
"disk": 90
},
"enableAutoRecovery": true,
"alertCooldown": 300000
},
"plugins": {
"hotReload": true,
"maxExecutionTime": 30000,
"loadOnStartup": true,
"enableLogging": true
},
"api": {
"timeout": 10000,
"maxRetries": 3,
"enableCaching": true
},
"test": {
"timeout": 5000,
"parallel": true,
"coverage": true
}
}