Добрый день!
Я новичок в NodeJs Express.js
как я могу преобразовать эти данные в nodejs, мне нужно вычислить данные и отобразить их в таблице с циклами?Любые советы для меня, ребята?
вот данные JSON
{"652":
{"employee_info":
{"employee_name":""},
"date_log":
{
"2017-12-31":
{
"config":{"shift":"R","hours_per_day":8,"break_hours":1,"flexi_hours":0,"grace_period":15},
"log":{"time_in":"2017-12-31 07:35:37","time_out":"2017-12-31 09:34:01","break_out":["2017-12-31 12:00:00"],"break_in":["2017-12-31 13:00:00"],"shift_in":"2017-12-31 16:00:00","shift_out":"2017-12-31 16:00:00","status":"present","holiday":"no","overtime":"no"}
},
"2017-12-29":
{
"config":{"shift":"FL","hours_per_day":8,"break_hours":1,"flexi_hours":2,"grace_period":0},
"log":{"time_in":"2017-12-29 00:20:00","time_out":"2017-12-29 10:35:00","break_out":["2017-12-31 12:00:00"],"break_in":["2017-12-31 13:00:00"],"shift_in":"2017-12-29 16:00:00","shift_out":"2017-12-29 16:00:00","status":"present","holiday":"no","overtime":"no"
}
},
"2017-12-28":
{
"config":{"shift":"R","hours_per_day":8,"break_hours":1,"flexi_hours":0,"grace_period":0},
"log":{"time_in":"2017-12-28 00:02:25","time_out":"2017-12-29 10:35:00","break_out":["2017-12-31 12:00:00"],"break_in":["2017-12-31 13:00:00"],"shift_in":"2017-12-28 16:00:00","shift_out":"2017-12-28 16:00:00","status":"present","holiday":"no","overtime":"no"}}
}
}
}