monorepo 버전 준비

## @strpc
기존 RPC를 package화

### @strpc/express
express의 middleware + router 결함

## @sammo
게임 전체
- server, client
- gateway_server, gateway_client
This commit is contained in:
2023-09-23 16:29:18 +00:00
parent 734e0cb7bf
commit e59f9a9659
197 changed files with 15458 additions and 3 deletions
+32
View File
@@ -0,0 +1,32 @@
declare namespace NodeJS {
interface ProcessEnv {
NODE_ENV: 'development' | 'production';
//Docker 환경이라면 GAME_DB 또는 GATEWAY_DB 둘중에 하나만 설정되어 있을 것이다.
GAME_DB_HOST?: string;
GAME_DB_DATABASE?: string;
GAME_DB_PORT?: string;
GAME_DB_USER?: string;
GAME_DB_PASSWORD?: string;
GATEWAY_DB_HOST?: string;
GATEWAY_DB_DATABASE?: string;
GATEWAY_DB_PORT?: string;
GATEWAY_DB_USER?: string;
GATEWAY_DB_PASSWORD?: string;
//Gateway RPC용
GATEWAY_HOST?: string;
GATEWAY_PORT?: string;
//gateway.ts용
GATEWAY_SESSION_SECRET?: string;
SERVER_PORT?: string; //숫자
SESSION_SECRET?: string; //길게
API_ROOT_PATH?: string;
VITE_API_ROOT_PATH?: string;
PRESHARED_SECURE_TOKEN_SECRET?: string; //길게
}
}