Repository navigation
[2주차/윤샘] 워크북 제출합니다 - #32
Merged
Merged
Conversation
YoungJJun
approved these changes
Mar 27, 2026
YoungJJun
left a comment
Collaborator
There was a problem hiding this comment.
2주차 피드백
- 홈화면
- home이 RESTful하지는 않지만 많이 사용하는걸로 알고있어요.
- userId는 토큰에 포함되기에 포함하지 않아도 됩니다.
추가로 토큰에 포함되어서 필요하지 않다는 점을 제외해도 userId에 다른 값을 대입해서 다른 회원의 홈화면을 조회할 수 있다는 위험성도 있어요. - 토큰 사용에 따라 Path Variable에는 userId 제외
- isSuccess, code, message등 팀원분들 응답 한 번 확인해보시면 결과외에 전달하는 Response에 포함되는 값이 무엇이 있는지 확인해보면 좋을 것 같아요.
- 페이징을 적용한다면 어떤게 추가될지 생각해보시면 좋을 것 같아요.
- 마이페이지 리뷰 작성
- 별점에 대해 *10 값 저장하는 방식은 좋아요! 추가로 프로젝트에서 명세서 작성하면 이 점을 명시하면 더 좋을 것 같아요.
- 홈화면과 동일하게 응답통일! 전체적으로 진행하면 좋을 것 같아요. (isSuccess, code, …) 이후로는 계속 리뷰가 중복되니까 더 이상 똑같은 얘기는 안넣을게용. 3,4,5에 대해서도 해주시면 됩니다.
- 미션 목록 조회
- GET /api/member-missions?status=COMPLETED 등으로 endpoint 수정을 고려해주세요. userId삭제하게 되면 /api/missions가 될 것 같은데 이거는 미션 리스트 조회에 더 가깝다고 생각해서 알려드려요.
- Query Param 수정하신다고 하셨던 것 같아요. 완료랑 진행중이 탭이 나뉘어져 있고 둘 중 하나만 조회하는게 맞기에 Query Param수정 및 응답에서 status가 불필요할 것 같아요.
- 미션 성공 누르기
- PATCH 사용 좋습니다.
- 수정하는 대상이 멤버미션의 status이기 때문에 endpoint를 멤버미션에 맞춰서 수정해야 적절할 것 같아요.
- 회원가입
- URI 아주 RESTful해요!
- Req Body에 “name” : “홍길동” 꼴로 수정해야 할 것 같아요 등호가 있어요 지금
- 정보 노출까지 고려해서 설계하신점 좋아요! 프로젝트에 따라 다른 데이터도 전달해도 됩니다.
윤샘 2주차 수고하셨어요. 꼭 필요한 부분들은 수정해주시고 개인적으로 궁금한거 공부해주시면 좋을 것 같습니다. (질문도 환영입니다) 다음주도 화이팅 해주세요.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✅ 워크북 체크리스트
✅ 컨벤션 체크리스트
📌 주안점