Skip to content

7주차 미션 [은우]#25

Open
eunwoohwang wants to merge 1 commit into
mainfrom
eunu/week7
Open

7주차 미션 [은우]#25
eunwoohwang wants to merge 1 commit into
mainfrom
eunu/week7

Conversation

@eunwoohwang
Copy link
Copy Markdown
Collaborator

@eunwoohwang eunwoohwang commented May 14, 2026

  • Tsoa 적용
  • Express 미들웨어
  • API 응답 통일&에러 핸들링
  • 성공 응답의 경우 표준 규격으로 잘 응답이 생성되는지 확인하고 수정
  • 오류 처리에 대해 점검하고, 오류가 발생할 수 있는 부분들은 커스텀 Error 객체를 선언해 던지도록 리팩토링
  • 7주차 워크북에 소개되었던 morgan , cookie-parser 등을 본인의 프로젝트 메인 파일에 npm install 하고 app.use() 로 적용

###☑️ 실습 인증
-Express미들웨어
image
image
image
image
image
image
-응답 통일 및 에러 핸들링
image
image
image
image
image


###🍒 공통 미션
-응답 통일 및 커스텀 에러
회원가입 성공
image
회원가입 실패
image
가게 미션 목록 성공
image
가게 리뷰 목록 성공
image
유저 미션 목록 성공
image
유저 리뷰 목록 성공
image
리뷰 작성 테스트
image
getStore()가 아직 findFirstOrThrow()라서 실패했다!
image
수정 후 성공
미션 작성 성공
image
미션 작성 실패
image
에러 응답 통일 다시 함
image
미션 도전 성공
-미들웨어 설정
image

###이슈
#24
Closes #24

Copy link
Copy Markdown
Collaborator

@ywkim1m ywkim1m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

7주차 미션도 고생 많으셨습니다!🥰

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Express 미들웨어 & API 응답 통일 & 에러 핸들링

2 participants