Add authentication system with login, password reset, and member area

This commit is contained in:
Torsten Schulz (local)
2025-10-21 11:23:06 +02:00
parent 4dc07b7b25
commit 2b249577a7
17 changed files with 1080 additions and 2 deletions

12
server/data/members.json Normal file
View File

@@ -0,0 +1,12 @@
[
{
"id": "1",
"name": "Admin",
"email": "admin@harheimertc.de",
"phone": "069-12345678",
"role": "admin",
"memberSince": "2020-01-01",
"active": true
}
]

View File

@@ -0,0 +1,2 @@
[]

13
server/data/users.json Normal file
View File

@@ -0,0 +1,13 @@
[
{
"id": "1",
"email": "admin@harheimertc.de",
"password": "$2a$10$rKqW8x3k5vJ8pZ7mN9qL1OXxYzQ2wF3bH4cT6nR8sV9kL0mP1qW2e",
"name": "Admin",
"role": "admin",
"phone": "",
"created": "2025-10-21T00:00:00.000Z",
"lastLogin": null
}
]