admin_dashboard_backend/example_config.json
SnippetsX 51a73350ae Update configuration and enhance system stats route
- Updated database credentials and application name in config.json
- Refactored database connection to use config values
- Improved CPU usage calculation in systemStats route using node-os-utils
- Added new actions route with user permission checks and config retrieval
- Introduced example_config.json for reference
2024-11-30 01:29:02 +03:00

11 lines
232 B
JSON

{
"serverPort": 8080,
"databaseHost": "localhost",
"databaseUser": "root",
"databasePassword": "1234",
"database": "app",
"databasePort": 3306,
"developerMode": true,
"developerLogin": true,
"forceDevLogin": true
}