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,31 @@
# SerpentRace Backend Logs
# Started: 2025-09-15T12:40:00.507Z
# Max entries per file: 10000
2025-09-15T12:40:06.929Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"}
2025-09-15T12:40:06.942Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T12:40:06.942Z","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:40:07.745Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"}
2025-09-15T12:40:07.765Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30}
2025-09-15T12:40:07.767Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"}
2025-09-15T12:40:07.772Z | [STARTUP] | Redis client connected successfully
2025-09-15T12:40:22.594Z | [REQUEST] | Incoming request | ReqId:s1v0fji91 | IP:::ffff:172.20.0.1 | POST /api/users/create | UA:PostmanRuntime/7.45.0
2025-09-15T12:40:22.596Z | [REQUEST] | POST /api/users/create | ReqId:s1v0fji91 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0
2025-09-15T12:40:22.599Z | [REQUEST] | Create user endpoint accessed | ReqId:s1v0fji91 | 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:40:22.775Z | [DATABASE] | User created successfully | Meta:{"executionTime":20,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","username":"TesztUser","email":"user@example.com"}
2025-09-15T12:40:23.015Z | [ERROR] | Email sending failed | Meta:{"name":"Error","message":"Missing credentials for \"PLAIN\"","stack":"Error: Missing credentials for \"PLAIN\"\n at SMTPConnection._formatError (/app/node_modules/nodemailer/lib/smtp-connection/index.js:809:19)\n at SMTPConnection.login (/app/node_modules/nodemailer/lib/smtp-connection/index.js:454:38)\n at /app/node_modules/nodemailer/lib/smtp-transport/index.js:272:32\n at SMTPConnection.<anonymous> (/app/node_modules/nodemailer/lib/smtp-connection/index.js:215:17)\n at Object.onceWrapper (node:events:638:28)\n at SMTPConnection.emit (node:events:524:28)\n at SMTPConnection.emit (node:domain:489:12)\n at SMTPConnection._actionEHLO (/app/node_modules/nodemailer/lib/smtp-connection/index.js:1371:14)\n at SMTPConnection._processResponse (/app/node_modules/nodemailer/lib/smtp-connection/index.js:993:20)\n at SMTPConnection._onData (/app/node_modules/nodemailer/lib/smtp-connection/index.js:774:14)"}
2025-09-15T12:40:23.017Z | [WARNING] | Failed to send verification email | Meta:{"email":"user@example.com","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"}
2025-09-15T12:40:23.019Z | [REQUEST] | User created successfully | ReqId:s1v0fji91 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","username":"TesztUser"}
2025-09-15T12:40:23.021Z | [REQUEST] | Request completed | ReqId:s1v0fji91 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:201 | Time:427ms | UA:PostmanRuntime/7.45.0
2025-09-15T12:41:32.394Z | [REQUEST] | Incoming request | ReqId:vz85w21ja | IP:::ffff:172.20.0.1 | POST /api/users/login | UA:PostmanRuntime/7.45.0
2025-09-15T12:41:32.396Z | [REQUEST] | POST /api/users/login | ReqId:vz85w21ja | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0
2025-09-15T12:41:32.398Z | [REQUEST] | Login endpoint accessed | ReqId:vz85w21ja | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser"}
2025-09-15T12:41:32.400Z | [AUTH] | Login attempt | Meta:{"username":"TesztUser"}
2025-09-15T12:41:32.417Z | [DATABASE] | User findByUsername query completed | Meta:{"query":"findOneBy({ username: TesztUser })","executionTime":15,"found":true,"username":"TesztUser"}
2025-09-15T12:41:32.419Z | [DATABASE] | User lookup completed | Meta:{"executionTime":19,"found":true,"searchBy":"username"}
2025-09-15T12:41:32.570Z | [AUTH] | Password verification completed | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","valid":true,"verificationTime":150}
2025-09-15T12:41:32.574Z | [AUTH] | Login successful | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"userStatus":5,"orgId":"","requiresOrgReauth":false,"totalLoginTime":174}
2025-09-15T12:41:32.576Z | [AUTH] | User login successful | ReqId:vz85w21ja | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","username":"TesztUser"}
2025-09-15T12:41:32.578Z | [REQUEST] | Request completed | ReqId:vz85w21ja | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | Time:184ms | UA:PostmanRuntime/7.45.0
2025-09-15T12:41:48.986Z | [REQUEST] | Incoming request | ReqId:amumwt25s | IP:::ffff:172.20.0.1 | POST /api/users/logout | UA:PostmanRuntime/7.45.0
2025-09-15T12:41:48.988Z | [REQUEST] | POST /api/users/logout | ReqId:amumwt25s | IP:::ffff:172.20.0.1 | POST /api/users/logout | Status:200 | UA:PostmanRuntime/7.45.0
2025-09-15T12:41:48.990Z | [REQUEST] | Request completed | ReqId:amumwt25s | IP:::ffff:172.20.0.1 | POST /api/users/logout | Status:404 | Time:4ms | UA:PostmanRuntime/7.45.0