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,41 @@
# SerpentRace Backend Logs
# Started: 2025-09-15T12:19:26.585Z
# Max entries per file: 10000
2025-09-15T12:19:32.866Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"}
2025-09-15T12:19:32.878Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T12:19:32.878Z","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-15T12:19:33.263Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"}
2025-09-15T12:19:33.284Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30}
2025-09-15T12:19:33.286Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"}
2025-09-15T12:19:33.298Z | [STARTUP] | Redis client connected successfully
2025-09-15T12:28:28.318Z | [REQUEST] | Incoming request | ReqId:q9xumji83 | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0
2025-09-15T12:28:28.320Z | [REQUEST] | GET /api-docs/ | ReqId:q9xumji83 | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0
2025-09-15T12:28:28.324Z | [REQUEST] | Request completed | ReqId:q9xumji83 | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:6ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0
2025-09-15T12:28:28.357Z | [REQUEST] | Incoming request | ReqId:qb1ye19jh | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0
2025-09-15T12:28:28.359Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:qb1ye19jh | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0
2025-09-15T12:28:28.361Z | [REQUEST] | Request completed | ReqId:qb1ye19jh | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0
2025-09-15T12:28:28.364Z | [REQUEST] | Incoming request | ReqId:exdgz9dua | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0
2025-09-15T12:28:28.367Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:exdgz9dua | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0
2025-09-15T12:28:28.373Z | [REQUEST] | Request completed | ReqId:exdgz9dua | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | Time:9ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0
2025-09-15T12:28:28.400Z | [REQUEST] | Incoming request | ReqId:eijtywrju | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0
2025-09-15T12:28:28.402Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:eijtywrju | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0
2025-09-15T12:28:28.405Z | [REQUEST] | Incoming request | ReqId:tjtedvicv | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0
2025-09-15T12:28:28.406Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:tjtedvicv | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0
2025-09-15T12:28:28.409Z | [REQUEST] | Request completed | ReqId:eijtywrju | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:9ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0
2025-09-15T12:28:28.411Z | [REQUEST] | Request completed | ReqId:tjtedvicv | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:6ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0
2025-09-15T12:28:28.464Z | [REQUEST] | Incoming request | ReqId:ywvfo1bxm | IP:::ffff:172.20.0.1 | GET /api-docs/favicon-16x16.png | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0
2025-09-15T12:28:28.466Z | [REQUEST] | GET /api-docs/favicon-16x16.png | ReqId:ywvfo1bxm | IP:::ffff:172.20.0.1 | GET /api-docs/favicon-16x16.png | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0
2025-09-15T12:32:07.748Z | [REQUEST] | Incoming request | ReqId:593am1m2y | IP:::ffff:172.20.0.1 | POST /api/users/create | UA:PostmanRuntime/7.45.0
2025-09-15T12:32:07.750Z | [REQUEST] | POST /api/users/create | ReqId:593am1m2y | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0
2025-09-15T12:32:07.752Z | [REQUEST] | Create user endpoint accessed | ReqId:593am1m2y | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser","email":"user@example.com"}
2025-09-15T12:32:07.979Z | [ERROR] | UserRepository.create error | Meta:{"name":"QueryFailedError","message":"null value in column \"type\" of relation \"Users\" violates not-null constraint","stack":"QueryFailedError: null value in column \"type\" of relation \"Users\" violates not-null constraint\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async InsertQueryBuilder.execute (/app/node_modules/src/query-builder/InsertQueryBuilder.ts:164:33)\n at async SubjectExecutor.executeInsertOperations (/app/node_modules/src/persistence/SubjectExecutor.ts:435:42)\n at async SubjectExecutor.execute (/app/node_modules/src/persistence/SubjectExecutor.ts:137:9)\n at async EntityPersistExecutor.execute (/app/node_modules/src/persistence/EntityPersistExecutor.ts:182:21)\n at async UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:16:28)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:46:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"}
2025-09-15T12:32:07.981Z | [ERROR] | CreateUserCommandHandler error | Meta:{"name":"Error","message":"Failed to create user in database","stack":"Error: Failed to create user in database\n at UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:31:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:46:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"}
2025-09-15T12:32:07.983Z | [ERROR] | Create user endpoint error | ReqId:593am1m2y | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to create user","stack":"Error: Failed to create user\n at CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:86:13)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:77:18"}
2025-09-15T12:32:07.985Z | [REQUEST] | Request completed | ReqId:593am1m2y | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:500 | Time:237ms | UA:PostmanRuntime/7.45.0
2025-09-15T12:33:00.449Z | [REQUEST] | Incoming request | ReqId:mslolhmks | IP:::ffff:172.20.0.1 | POST /api/users/create | UA:PostmanRuntime/7.45.0
2025-09-15T12:33:00.451Z | [REQUEST] | POST /api/users/create | ReqId:mslolhmks | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0
2025-09-15T12:33:00.453Z | [REQUEST] | Create user endpoint accessed | ReqId:mslolhmks | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser","email":"user@example.com"}
2025-09-15T12:33:00.620Z | [ERROR] | UserRepository.create error | Meta:{"name":"QueryFailedError","message":"null value in column \"type\" of relation \"Users\" violates not-null constraint","stack":"QueryFailedError: null value in column \"type\" of relation \"Users\" violates not-null constraint\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async InsertQueryBuilder.execute (/app/node_modules/src/query-builder/InsertQueryBuilder.ts:164:33)\n at async SubjectExecutor.executeInsertOperations (/app/node_modules/src/persistence/SubjectExecutor.ts:435:42)\n at async SubjectExecutor.execute (/app/node_modules/src/persistence/SubjectExecutor.ts:137:9)\n at async EntityPersistExecutor.execute (/app/node_modules/src/persistence/EntityPersistExecutor.ts:182:21)\n at async UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:16:28)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:46:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"}
2025-09-15T12:33:00.622Z | [ERROR] | CreateUserCommandHandler error | Meta:{"name":"Error","message":"Failed to create user in database","stack":"Error: Failed to create user in database\n at UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:31:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:46:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"}
2025-09-15T12:33:00.624Z | [ERROR] | Create user endpoint error | ReqId:mslolhmks | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to create user","stack":"Error: Failed to create user\n at CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:86:13)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:77:18"}
2025-09-15T12:33:00.625Z | [REQUEST] | Request completed | ReqId:mslolhmks | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:500 | Time:176ms | UA:PostmanRuntime/7.45.0