# History
## 프로젝트 생성 방법
아래의 템플릿을 사용했습니다.
```shell
npx create-next-app --example with-typescript-eslint-jest front-server
.git
을 제외하고 숨김파일까지 모두 찾아서 마이그레이션
# api-gateway
```markdown
# History
## 프로젝트 생성 방법
공식도구인 `@nestjs/cli` 를 사용했습니다.
```shell
nest new api-gateway
dist/main
경로에 파일 없음version을 기록하기 위해 tsconfig.json
에 "resolveJsonModule": true
활성화 하여 package.json
의 version
속성을 import 하여 사용하게 되면서 build 시 src
디렉터리 외부의 파일을 끌어와야 하게 되었습니다.
때문에 dist
가 아래와 같이 생성되면서 "start:prod": "node dist/main"
의 경로를 수정하게 되었습니다.
./dist
├─src
├─package.json
└─tsconfig.build.tsbuildinfo
front-server
와 다른점환경에 맞게 service에 연결해야 되기 때문에 환경변수가 추가되어 있습니다.
k8s
디렉터리의 실제 pod를 배치하는 .yaml
시리즈에 STAGES
환경변수 추가
{서비스 이름}.{process.env.STAGES}.svc.cluster.local
# todo-service
```markdown
# History
## 프로젝트 생성 방법
공식도구인 `@nestjs/cli` 를 사용했습니다.
```shell
nest new api-gateway
front-server
와 다른점내부망에서 돌기 때문에 아래의 선언이 삭제되었습니다.
즉, ingress-basic
ns와 관련있는 리소스가 남아있으면 안됩니다.
.github.workflows
디렉터리의 aks apply service for ingress
삭제k8s
디렉터리의 -external.yaml
시리즈 리소스 삭제
# mock-service
```markdown
# History
## 프로젝트 생성 방법
공식도구인 `@nestjs/cli` 를 사용했습니다.
```shell
nest new mock-service
mock-service
와 다른점내부망에서 돌기 때문에 아래의 선언이 삭제되었습니다.
즉, ingress-basic
ns와 관련있는 리소스가 남아있으면 안됩니다.
.github.workflows
디렉터리의 aks apply service for ingress
삭제k8s
디렉터리의 -external.yaml
시리즈 리소스 삭제
# oauth-server
```markdown
# History
## 프로젝트 생성 방법
1. `go mod init oauth-server`
1. `go get -u github.com/gin-gonic/gin`
1. `.vscode/launch.json` 에 `Launch Package` 템플릿으로 디버깅 환경 구축