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:35:09.998Z
# Max entries per file: 10000
2025-09-15T14:35:11.708Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"}
2025-09-15T14:35:11.722Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:35:11.722Z","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:35:12.519Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"}
2025-09-15T14:35:12.525Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30}
2025-09-15T14:35:12.526Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"}
2025-09-15T14:35:12.529Z | [STARTUP] | Redis client connected successfully
2025-09-15T14:35:38.401Z | [REQUEST] | Incoming request | ReqId:ateyog4vw | IP:::ffff:172.20.0.1 | POST /api/users/login | UA:PostmanRuntime/7.45.0
2025-09-15T14:35:38.404Z | [REQUEST] | POST /api/users/login | ReqId:ateyog4vw | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0
2025-09-15T14:35:38.406Z | [REQUEST] | Login endpoint accessed | ReqId:ateyog4vw | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser"}
2025-09-15T14:35:38.408Z | [AUTH] | Login attempt | Meta:{"username":"TesztUser"}
2025-09-15T14:35:38.425Z | [DATABASE] | User findByUsername query completed | Meta:{"query":"findOneBy({ username: TesztUser })","executionTime":16,"found":true,"username":"TesztUser"}
2025-09-15T14:35:38.427Z | [DATABASE] | User lookup completed | Meta:{"executionTime":19,"found":true,"searchBy":"username"}
2025-09-15T14:35:38.428Z | [AUTH] | Login failed - Account state restriction | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","username":"TesztUser","userState":0,"stateDescription":"Email not verified"}
2025-09-15T14:35:38.435Z | [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:35:38.437Z | [DATABASE] | Unexpected database error during login | Meta:{"executionTime":29}
2025-09-15T14:35:38.439Z | [ERROR] | Login endpoint error | ReqId:ateyog4vw | 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:35:38.442Z | [REQUEST] | Request completed | ReqId:ateyog4vw | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:500 | Time:41ms | UA:PostmanRuntime/7.45.0