Add logger in backend (#69)

* Replace `console.log` `console.error` with Winston logger
* Add ESLint warning of `console`
This commit is contained in:
Lin, Hung-Shin authored and GitHub committed 2023-11-21 22:16:56 +08:00
commit 9f9a31719e
22 files changed
+241 -41

No files matched your search

+1
View File
@@ -33,6 +33,7 @@ services:
- ./server/swagger.yaml:/app/server/swagger.yaml
- ./packages:/app/packages
- ./quests:/app/quests
- ./logs:/app/logs
environment:
- BASE_URL=http://localhost:5173
- MONGO_URL=mongodb://db:27017/odyssey-test