-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver2.log
More file actions
29 lines (27 loc) · 2.17 KB
/
Copy pathserver2.log
File metadata and controls
29 lines (27 loc) · 2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
> dreamteam-api@1.0.0 dev
> tsx watch src/index.ts
(node:600844) [MONGOOSE] Warning: Duplicate schema index on {"centerManagerId":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
✅ Analytics database indexes created successfully
✅ MongoDB connected successfully
{"level":30,"time":1770025076581,"pid":600844,"hostname":"slim","msg":"🚀 DreamTeam API server running on port 3001"}
{"level":30,"time":1770025076582,"pid":600844,"hostname":"slim","msg":"📚 Environment: development"}
{"level":30,"time":1770025076582,"pid":600844,"hostname":"slim","msg":"🔗 API Documentation: http://localhost:3001/api-docs"}
JWT_SECRET in service: fallback-secret
{"level":30,"time":1770025083684,"pid":600844,"hostname":"slim","method":"POST","url":"/login","status":200,"duration":"299ms","ip":"::1","userAgent":"curl/8.5.0"}
10:38:11 [tsx] change in ./src/services/auth.service.ts Restarting...
{"level":30,"time":1770025091323,"pid":600844,"hostname":"slim","msg":"📴 SIGTERM received, shutting down gracefully"}
⚠️ MongoDB disconnected
✅ MongoDB connection closed
cJWT_SECRET in constructor: undefined
jwtSecret set to: fallback-secret
(node:601465) [MONGOOSE] Warning: Duplicate schema index on {"centerManagerId":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
✅ Analytics database indexes created successfully
✅ MongoDB connected successfully
{"level":30,"time":1770025093600,"pid":601465,"hostname":"slim","msg":"🚀 DreamTeam API server running on port 3001"}
{"level":30,"time":1770025093602,"pid":601465,"hostname":"slim","msg":"📚 Environment: development"}
{"level":30,"time":1770025093602,"pid":601465,"hostname":"slim","msg":"🔗 API Documentation: http://localhost:3001/api-docs"}
{"level":30,"time":1770025098242,"pid":601465,"hostname":"slim","msg":"📴 SIGTERM received, shutting down gracefully"}
⚠️ MongoDB disconnected
✅ MongoDB connection closed