Archived
2

implemented first tests and basic functionality

This commit is contained in:
VLE2FE
2020-04-22 17:24:15 +02:00
parent e92a9d93c2
commit f23b65d3d8
17 changed files with 451 additions and 49 deletions

17
src/test/db.json Normal file
View File

@ -0,0 +1,17 @@
{
"collections": {
"users": [
{
"_id": "5ea0450ed851c30a90e70894",
"email": "jane.doe@bosch.com",
"name": "janedoe",
"pass": "$2a$10$KDKZjCsgDXwhtKdXZ9oG2ueDuCZsRKOMSqHuBfCM/2R0V6DRns.sy",
"level": "write",
"location": "Rng",
"device_name": "Alpha I",
"key": "5ea0450ed851c30a90e70899",
"__v": 0
}
]
}
}