Commit Graph
42 Commits
Author SHA1 Message Date
Chen, Tai-Lin b625abae68 change docker compose file 2023-12-08 20:49:01 +08:00
Chen, Tai-Lin c6f45e10e0 analytics update 2023-11-23 22:40:35 +08:00
Lin, Hung-Shin 21ca083628 Merge branch 'main' into quest-file 2023-11-22 11:39:24 +08:00
Lin, Hung-Shin 2c4bd67996 fix: mount quest function 2023-11-22 10:40:15 +08:00
Lin, Hung-Shin 9f9a31719e Add logger in backend (#69)
* Replace `console.log` `console.error` with Winston logger
* Add ESLint warning of `console`
2023-11-21 22:16:56 +08:00
Lin, Hung-Shin f6c3b33da9 Feat quests page (#67)
Feat quests page
2023-11-20 16:24:25 +08:00
Lin, Hung-Shin 82d1004ecf wip: removing console log 2023-11-20 14:59:14 +08:00
Annie Huang 12c6e493a5 Change lineStyle by unlocked,delete docker swagger 2023-11-20 14:41:03 +08:00
wancat f9e0fade3b fix: update quest image name 2023-11-18 22:25:05 +08:00
Chen, Tai-Lin 0ac1dbed96 Merge branch 'main' into feat-build-quests 2023-11-17 15:12:32 +08:00
Lin, Hung-Shin 1f77328362 feat: add testing setup in backend 2023-11-17 10:59:47 +08:00
wancat 8bbd5da513 feat: load create session by quest image 2023-11-16 19:48:22 +08:00
Lin, Hung-Shin 4c2f3f5397 feat: put survey and bug report url to backend (#57)
* feat: put survey and bug report url to backend

* fix: centralize hardcoded url to config

* fix: validate url before redirecting
2023-11-03 21:32:12 +08:00
Lin, Hung-Shin 14043b3f12 feat: specify trust proxies 2023-11-02 12:11:15 +08:00
wancat a5526d2dcf feat: setup default secretKey for development 2023-11-01 23:14:16 +08:00
Lin, Hung-Shin f18ec35a9f feat: generate secure secret key and prevent default 2023-11-01 14:19:18 +08:00
Lin, Hung-Shin 7843020524 feat: disable global network in player containers 2023-10-30 21:28:10 +08:00
wancat d724f97403 feat: add pending signal to status 2023-10-29 17:42:31 +08:00
Lin, Hung-Shin 579d53a273 feat: refactor dockerfiles
* combine dev and prod into multi-stages dockerfile
* replace node with node:20-alpine to reduce image size
2023-10-29 17:41:38 +08:00
Chen, Tai-Lin b4a37f7606 fix: remove order in game schema 2023-10-29 17:41:38 +08:00
wancat 20927fe8aa feat: docker setup & deployment 2023-10-14 19:43:13 +08:00
wancat 50bf514805 feat: separate db models from server 2023-10-14 15:34:46 +08:00
Lin, Hung-Shin c5ccf03ac5 feat: add username and email check in frontend 2023-10-13 16:38:25 +08:00
Annie Huang ad5344c98b feat: github auth 2023-10-12 16:12:07 +08:00
Lin, Hung-Shin 33582a4827 fix: add baseUrl in passport oauth 2023-10-11 14:46:07 +08:00
Lin, Hung-Shin a79b66ed8d fix: remove env_file field but subsistute from shell 2023-10-05 13:31:15 +08:00
Lin, Hung-Shin 44b3304046 feat: login to google success 2023-10-04 13:23:16 +08:00
wancat 4b43ab5050 fix: add build base image in CI/CD workflow 2023-09-10 19:03:31 +08:00
wancat 5ec9ae52ce feat: separate base image of quest
* change to use Ubuntu as base image
2023-08-31 16:44:42 +08:00
wancat 0bdcce5d21 feat: import file-graph package to app
* update docker images
2023-08-29 13:51:55 +08:00
wancat c3683ddaea feat: import file-graph package
* Update Dockerfile structure, copy quests, packages to sub folder
2023-08-29 11:58:14 +08:00
wancat 4e03be9408 fix: disable restart in dev docker compose 2023-08-24 11:36:36 +08:00
wancat 4b3a80608c fix: remove hard coded project path
+ pass host_pwd using docker compose
+ mount it only when provided
2023-08-22 16:05:06 +08:00
wancat d8f8605df9 fix: deployment
+ include api-docs in nginx
+ include quests in docker compose
+ update README
2023-08-22 12:11:58 +08:00
wancat 9aa9367f9e refactor: move quests out of server
+ move quests from server/quests to ./quests
+ add frontend image in docker compose development
2023-08-22 11:48:44 +08:00
wancat 6f368f761e feat: add hints to session, update API 2023-08-08 20:38:27 +08:00
wancat 9376e16f72 Success to send command to api
+ require sourcing entrypoint.sh manually
2023-07-26 00:12:10 +08:00
wancat 189c87df5a build: setup Docker dev configuration
- Add `.dockerignore` file
- Add `Dockerfile.dev`
- Modify `docker-compose.yml`:
  - Add `restart: on-failure` to `app` service
  - Modify `build` section of `app` service
  - Remove `links` section from `app` service
  - Add `networks` section to `app` and `db` services
  - Add `networks` section to the end of the file

Signed-off-by: wancat <wancat@wancat.cc>
2023-07-25 15:37:05 +08:00
wancat fe3f4ddc73 fix: docker image name update 2023-07-24 16:39:04 +08:00
wancat 2dffd2f74d Add config.js, dockerfile 2023-07-21 11:27:01 +08:00
wancat c4e14fa271 Update README, format script 2023-07-20 17:05:01 +08:00
wancat 50443b96e0 Connect to mongodb, define schemas 2023-07-19 15:30:36 +08:00