Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BE] 상품 리스트 조회 (동적 쿼리) #27

Closed
3 tasks done
jun108059 opened this issue Jan 17, 2023 · 0 comments · Fixed by #46
Closed
3 tasks done

[BE] 상품 리스트 조회 (동적 쿼리) #27

jun108059 opened this issue Jan 17, 2023 · 0 comments · Fixed by #46
Assignees
Labels
✨ Feature 새로운 기능 관련
Milestone

Comments

@jun108059
Copy link
Owner

jun108059 commented Jan 17, 2023

✍🏻 Description

Description Method Endpoint Page
상품 전체 조회 (지역) GET /api/v1/product/list
상품 전체 조회 (지역+카테고리) GET /api/v1/product/list?{category_id} 홈 → 우측상단메뉴 → 카테고리선택
상품 전체 조회 (특정회원+거래상태) GET /api/v1/product/list/{member_id}&{status} 홈 → 상품상세 홈 → 상품상세 → 모두보기
홈 → 마이페이지 → 판매내역
상품 전체 조회 (특정회원+좋아요+거래상태) GET /api/v1/product/list/{member_id}&{likes}&{status}/ 홈 → 마이페이지 → 관심목록

✅ To-Do

  • Query-DSL 의존성 추가
  • 상품 전체 조회 API 수정
  • 동적 쿼리 작성
@jun108059 jun108059 added the ✨ Feature 새로운 기능 관련 label Jan 17, 2023
@jun108059 jun108059 added this to the Sprint-2 milestone Jan 17, 2023
@jun108059 jun108059 self-assigned this Jan 17, 2023
jun108059 added a commit that referenced this issue Feb 5, 2023
- 상품 조회 동적 Query 생성을 위해

Related to: #27
jun108059 added a commit that referenced this issue Feb 5, 2023
- 상품 조회 동적 Query 생성을 위한 config

Related to: #27
jun108059 added a commit that referenced this issue Feb 5, 2023
- 상품 조회 동적 Query 생성을 위한 config

Related to: #27
jun108059 added a commit that referenced this issue Feb 5, 2023
- findByFilter 메서드

Related to: #27
jun108059 added a commit that referenced this issue Feb 5, 2023
- QueryDSL 설정 검증

Related to: #27
jun108059 added a commit that referenced this issue Feb 5, 2023
- QueryDSL 설정 검증

Related to: #27
jun108059 added a commit that referenced this issue Feb 5, 2023
- kotest.extensions : spring boot test 사용
- ninja-squad : junit의 @MockBean @SpyBean 같은 기능 제공
- mockk : unit test - mocking 사용

Related to: #27
jun108059 added a commit that referenced this issue Feb 5, 2023
- sql debug (trace 확인)

Related to: #27
jun108059 added a commit that referenced this issue Feb 7, 2023
jun108059 added a commit that referenced this issue Feb 7, 2023
- ProductRepositorySupport 의존성 주입

Related to: #27
jun108059 added a commit that referenced this issue Feb 7, 2023
jun108059 added a commit that referenced this issue Feb 7, 2023
jun108059 added a commit that referenced this issue Feb 7, 2023
jun108059 added a commit that referenced this issue Feb 7, 2023
- 특정회원+거래상태 조회 (지역 미포함)
- 지역+카테고리 조회

Related to: #27
jun108059 added a commit that referenced this issue Feb 7, 2023
- product, likes filed inner join

Related to: #27
jun108059 added a commit that referenced this issue Feb 7, 2023
- 파라미터 member_id, likes, status

Related to: #27
@jun108059 jun108059 changed the title [BE] 상품 전체 조회 (동적 쿼리) [BE] 상품 리스트 조회 (동적 쿼리) Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature 새로운 기능 관련
Development

Successfully merging a pull request may close this issue.

1 participant