Go to file
2021-09-02 09:03:07 +08:00
config update 2021-09-01 20:46:41 +08:00
constants update 2021-09-01 20:46:41 +08:00
controllers update refresh token 2021-09-02 09:03:07 +08:00
doc [feat] Init code 2021-08-31 18:24:42 +08:00
public [feat] Init code 2021-08-31 18:24:42 +08:00
routes update 2021-09-01 21:15:26 +08:00
utils update 2021-09-01 21:15:26 +08:00
.dockerignore [feat] Init code 2021-08-31 18:24:42 +08:00
.eslintignore [feat] Init code 2021-08-31 18:24:42 +08:00
.eslintrc [feat] Init code 2021-08-31 18:24:42 +08:00
.gitignore [feat] Init code 2021-08-31 18:24:42 +08:00
.gitlab-ci.yml [feat] Init code 2021-08-31 18:24:42 +08:00
Dockerfile [feat] Init code 2021-08-31 18:24:42 +08:00
example.env [feat] Init code 2021-08-31 18:24:42 +08:00
index.js update 2021-09-01 20:46:41 +08:00
jsconfig.json [feat] Init code 2021-08-31 18:24:42 +08:00
package-lock.json update refresh token 2021-09-02 09:03:07 +08:00
package.json update 2021-09-01 20:46:41 +08:00
README.md update 2021-09-01 19:30:21 +08:00
server.js update 2021-09-01 20:46:41 +08:00

Demo Server

KeyCloak 測試 Server

設定環境變數

# 伺服器完整網址
SERVER_URL

# 伺服器監聽埠
SERVER_PORT

# JWT 簽名 Secret
SERVER_JWT_SECRET

# Redis 位址
REDIS_HOST

# Redis Port
REDIS_PORT

# Redis 密碼,沒有則留空
REDIS_PASSWORD

# Redis 鍵值前綴
REDIS_PREFIX

# Redis 連線的資料庫號碼
REDIS_DB