Initial Commit

This commit is contained in:
Sony Surahmn
2025-12-10 19:00:39 +07:00
commit e5baaf003a
12 changed files with 4043 additions and 0 deletions

37
config/default.json Normal file
View File

@ -0,0 +1,37 @@
{
"app": {
"name": "SVC-HCM-CRAWLER",
"description": "Hikvision Device Crawling Service",
"version": "1.0.0",
"env": "Development"
},
"crawler": {
"interval": "*/1 * * * *",
"maxResults": 10,
"timeout": 10000
},
"database": {
"hcm": {
"engine": "mysql",
"host": "127.0.0.1",
"port": "3306",
"username": "root",
"password": "r00t@dm1n05",
"database": "tt_hcm",
"logging": false,
"sync": false
}
},
"bridge": {
"host": "127.0.0.1",
"port": "3000",
"endpoint": "/api/dooraccess/logs",
"timeout": 30000
},
"hikvision": {
"defaultUsername": "admin",
"defaultPassword": "Passwordhik_1",
"defaultPort": 80
}
}

37
config/prod.json Normal file
View File

@ -0,0 +1,37 @@
{
"app": {
"name": "SVC-HCM-CRAWLER",
"description": "Hikvision Device Crawling Service",
"version": "1.0.0",
"env": "Production"
},
"crawler": {
"interval": "*/1 * * * *",
"maxResults": 10,
"timeout": 10000
},
"database": {
"hcm": {
"engine": "mysql",
"host": "127.0.0.1",
"port": "3306",
"username": "apphcm",
"password": "$ppHCMTT#2024",
"database": "dbhcm",
"logging": false,
"sync": false
}
},
"bridge": {
"host": "127.0.0.1",
"port": "3000",
"endpoint": "/api/dooraccess/logs",
"timeout": 30000
},
"hikvision": {
"defaultUsername": "admin",
"defaultPassword": "Passwordhik_1",
"defaultPort": 80
}
}