Go to file
2021-09-01 15:20:53 +08:00
bin [feat] Init code 2021-08-31 18:24:42 +08:00
config [feat] Init code 2021-08-31 18:24:42 +08:00
constants [feat] Update route format 2021-09-01 15:20:53 +08:00
controllers [feat] Update route format 2021-09-01 15:20:53 +08:00
doc [feat] Init code 2021-08-31 18:24:42 +08:00
model [feat] Init code 2021-08-31 18:24:42 +08:00
public [feat] Init code 2021-08-31 18:24:42 +08:00
routes [feat] Update route format 2021-09-01 15:20:53 +08:00
schemas [feat] Init code 2021-08-31 18:24:42 +08:00
utils [feat] Update route format 2021-09-01 15:20:53 +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 [feat] Init code 2021-08-31 18:24:42 +08:00
jsconfig.json [feat] Init code 2021-08-31 18:24:42 +08:00
package-lock.json [feat] Init code 2021-08-31 18:24:42 +08:00
package.json [feat] Init code 2021-08-31 18:24:42 +08:00
README.md [feat] Init code 2021-08-31 18:24:42 +08:00
server.js [feat] Init code 2021-08-31 18:24:42 +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

# PostgreSQL 資料庫位址
DB_HOST

# PostgreSQL 資料庫連接埠
DB_PORT

# PostgreSQL 資料庫使用者
DB_USER

# PostgreSQL 資料庫密碼
DB_PASSWORD

# PostgreSQL 資料庫名稱
DB_NAME

# PostgreSQL 資料庫連接池最大連線數
DB_POOL_MAX

# PostgreSQL 資料庫連接池閒置連線數
DB_POOL_MIN