fel kesz game backend

This commit is contained in:
2025-09-15 19:00:35 +02:00
parent 7963f28021
commit 3af8de2797
267 changed files with 15655 additions and 347 deletions
@@ -0,0 +1,21 @@
# SerpentRace Backend Logs
# Started: 2025-09-15T14:37:03.360Z
# Max entries per file: 10000
2025-09-15T14:37:05.167Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"}
2025-09-15T14:37:05.180Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:37:05.180Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}}
2025-09-15T14:37:06.036Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"}
2025-09-15T14:37:06.041Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30}
2025-09-15T14:37:06.043Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"}
2025-09-15T14:37:06.045Z | [STARTUP] | Redis client connected successfully
2025-09-15T14:37:07.040Z | [REQUEST] | Incoming request | ReqId:7v1156kp7 | IP:::ffff:172.20.0.1 | POST /api/users/login | UA:PostmanRuntime/7.45.0
2025-09-15T14:37:07.042Z | [REQUEST] | POST /api/users/login | ReqId:7v1156kp7 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0
2025-09-15T14:37:07.044Z | [REQUEST] | Login endpoint accessed | ReqId:7v1156kp7 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser"}
2025-09-15T14:37:07.046Z | [AUTH] | Login attempt | Meta:{"username":"TesztUser"}
2025-09-15T14:37:07.057Z | [DATABASE] | User findByUsername query completed | Meta:{"query":"findOneBy({ username: TesztUser })","executionTime":9,"found":true,"username":"TesztUser"}
2025-09-15T14:37:07.059Z | [DATABASE] | User lookup completed | Meta:{"executionTime":13,"found":true,"searchBy":"username"}
2025-09-15T14:37:07.061Z | [AUTH] | Login failed - Account state restriction | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","username":"TesztUser","userState":0,"stateDescription":"Email not verified"}
2025-09-15T14:37:07.067Z | [ERROR] | Login handler error | Meta:{"name":"Error","message":"User account not verified","stack":"Error: User account not verified\n at LoginCommandHandler.execute (/app/src/Application/User/commands/LoginCommandHandler.ts:76:15)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:29:18"}
2025-09-15T14:37:07.068Z | [DATABASE] | Unexpected database error during login | Meta:{"executionTime":22}
2025-09-15T14:37:07.070Z | [ERROR] | Login endpoint error | ReqId:7v1156kp7 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Database connection error","stack":"Error: Database connection error\n at LoginCommandHandler.execute (/app/src/Application/User/commands/LoginCommandHandler.ts:189:13)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:29:18"}
2025-09-15T14:37:07.073Z | [REQUEST] | Request completed | ReqId:7v1156kp7 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:500 | Time:33ms | UA:PostmanRuntime/7.45.0