codestates / codestates/Subllet

[김태형] 2021. 12. 09

Open
#176 0 comments 0 reactions 1 assignee Claimed by @kkangtaeng View on GitHub
Dev-log
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### 오늘은 어떻게 프로젝트에 기여했나요?
- 배포 작업을 완료했다!!!

### 오늘의 프로젝트에서 힘든 점은 무엇인가요?
- 로드밸런서 설정 중 ec2와 연결하기 위해 health 체크를 하는데 이 상황에서 계속 unhealthy 상태이고 health status에 404 에러로 health 체크가 실패했다고 나왔다... 왜 연결이 안될까 찾다가 health 체크하는 코드가 없었던 것을 알아챘다!!
```js
route.use("/health", (req, res, next) => {
res.send({"title": "success"});
});
```
routes 폴더의 index.js 파일에 위 코드를 추가하여 health 체크할 때 이쪽으로 콜이 들어오도록 만들었다. 이제 된다ㅠㅠㅠ!!! 알고보니 health path에 작성된 경로로 통신?을 보내고 200 응답을 받아야 health 상태가 health로 변한다는 것을 알았다!!

### 내일은 프로젝트에 기여하기 위해 무엇을 해야 하나요?
- [ ] 상세보기 페이지 및 모두보기 페이지 전체적인 코드 수정

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.