[조원정] Sprint6#118
Merged
gyulrangdev merged 8 commits intocodeit-sprint-fullstack:react-조원정from Aug 26, 2025
Hidden character warning
The head ref may contain hidden characters: "react-\uc870\uc6d0\uc815-sprint6"
Merged
Conversation
gyulrangdev
reviewed
Aug 26, 2025
Collaborator
gyulrangdev
left a comment
There was a problem hiding this comment.
주석을 통해 생각의 흐름을 작성해주신 점이 좋네요!
흐름에 따라 이해하는 과정에 배움이 있으셨으거라 생각합니다.
이번주도 고생 많으셨습니다~
| // 비동기 오류 처리를 위해 asyncHandler 함수로 감싸기 | ||
| app.post( | ||
| "/items", | ||
| asyncHandler(async (req, res) => { |
Collaborator
There was a problem hiding this comment.
asyncHandler를 통해 비동기를 통합 관리하신 점이 좋네요!
| @@ -0,0 +1,11 @@ | |||
| const data = [ | |||
Collaborator
There was a problem hiding this comment.
mock 데이터를 작성하셔서 대략적인 데이터 구조를 알 수 있어 좋았습니다.
fc81f9f
into
codeit-sprint-fullstack:react-조원정
1 check passed
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.
요구사항
기본
프론트엔드 구현 요구사항
랜딩 페이지
중고마켓 페이지
상품 등록 페이지
백엔드 구현 요구사항
중고마켓
Product 스키마를 작성해 주세요.
상품 등록 API를 만들어 주세요.
상품 상세 조회 API를 만들어 주세요.
상품 수정 API를 만들어 주세요.
상품 삭제 API를 만들어 주세요.
상품 목록 조회 API를 만들어 주세요.
각 API 응답에 적절한 상태 코드를 리턴하도록 해 주세요.
. env 파일에 환경 변수를 설정해 주세요.
CORS를 설정해 주세요.
render.com로 배포해 주세요.
MongoDB를 활용해 주세요.
심화
프론트엔드 구현 요구사항
상품 등록 페이지
모든 입력 input box에 빈 값이 있을 경우, 등록 버튼이 비활성화됩니다.
태그를 입력한 후 엔터키를 누르면, 그 태그가 칩 형태로 쌓입니다.
상품명, 상품 소개, 판매 가격, 태그에 대한 유효성 검사 Custom Hook을 만들어주세요. 유효성 검사를 통과하지 않을 경우, 각 input에 빨간색 테두리와, 각각의 Input 아래에 빨간색 에러 메시지를 보여주세요.
주요 변경사항
스크린샷
멘토에게