Merged
Conversation
HomeRepository, HomeRepositoryImpl 생성 UserCollectionRepository 생성 JwtAuthenticationFilter isPermitAllUrl에 \home 추가 HomeService 생성 HomeRestController 수정 HomeResponseDTO 일부 추가 및 수정
# Conflicts: # learningFlow/build.gradle # learningFlow/src/main/java/learningFlow/learningFlow_BE/security/jwt/JwtAuthenticationFilter.java
SecurityConfig에 "/home/**",추가 // Swagger UI 관련 경로 허용
HomeConverter 생성, Builder 분리
HomeRepository 수정
HomeRepositoryImpl수정 및 추가 - findTopBookmarkedCollections에서
사용자 선호 매체/관심사 기반 추천
* - 사용자가 로그인하지 않은 경우 또는 선호 매체가 없는 경우 북마크 수 기준으로 추천
* - 선호하는 매체가 있는 경우 해당 매체의 컬렉션들을 먼저 조회(북마크 수 기준)
* - 선호하는 매체의 컬렉션이 부족한 경우 나머지 컬렉션들로 채움(북마크 수 기준)
JwtAuthenticationFilter에 requestURI.startsWith("/home") || 추가하여
로그인 안해도 home 접근 가능하게 수정
HomeService 수정
HomeRestController 수정
HomeResponseDTO 수정
* 사용자 선호 매체/관심사 기반 추천
* - 사용자가 로그인하지 않은 경우 또는 선호 매체가 없는 경우 북마크 수 기준으로 추천
* - 선호 매체/관심사 기반 추천
* 1. 관심분야 + 선호타입 50% 이상
* 2. 관심분야 + 선호타입 50% 미만
* 3. 비관심분야 + 선호타입 50% 이상
* 4. 비관심분야 + 선호타입 50% 미만
* TODO: 추천 알고리즘 개선 예정(최적화 필요)
# Conflicts: # learningFlow/src/main/java/learningFlow/learningFlow_BE/repository/UserCollectionRepository.java
…lection 조회하는 메소드 추가
…에만 정상 로직 수행. 토큰 필요하면 로그인 필요하다는 메시지 출력
[FEAT] 홈화면 개발
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.
No description provided.