file persistence, load users from json, js packages updated

This commit is contained in:
2022-02-13 20:13:09 +01:00
parent dc73b6d991
commit 1182a7add8
36 changed files with 84656 additions and 4593 deletions
+7
View File
@@ -0,0 +1,7 @@
[
{
"NAME":"Toni",
"PASSWORD":"geheim",
"PIN":1231239
}
]
+5
View File
@@ -0,0 +1,5 @@
{
"THEMEID": 1,
"SSID":"DoorLock",
"PASS":"geheim"
}
+1
View File
@@ -0,0 +1 @@
test
+5
View File
@@ -0,0 +1,5 @@
{
"GREET":"Hallo $name",
"FAIL":"PIN Incorrect",
"HOME":"Willkommen!|Pin oder Karte"
}
+34
View File
@@ -0,0 +1,34 @@
[
{
"ID": 1,
"FIRST_NAME": "Duplicate",
"LAST_NAME": "Test",
"RFID_UID": "",
"USER_PIN": 2323,
"ENABLED": true
},
{
"ID": 5,
"FIRST_NAME": "JSON",
"LAST_NAME": "User1",
"RFID_UID": "",
"USER_PIN": 123123,
"ENABLED": true
},
{
"ID": 6,
"FIRST_NAME": "JSON2",
"LAST_NAME": "User2",
"RFID_UID": "",
"USER_PIN": 321,
"ENABLED": true
},
{
"ID": 7,
"FIRST_NAME": "JSON3",
"LAST_NAME": "User3",
"RFID_UID": "",
"USER_PIN": 147,
"ENABLED": true
}
]