-
Notifications
You must be signed in to change notification settings - Fork 0
Merge branch 'develop' into main v.1 #61
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
Conversation
[FEAT] 기본 폴더 및 파일 생성
[FEAT] code rabbit 설정
FixLog -> fixlog 로 통일
…java Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
- 좋아요 삭제 구현 - 좋아요 누를 때 이미 좋아요 눌려있는지 확인하기
…SER_NICKNAME_NOT_FOUND로 변경 후 로그인시 회원정보 없을 때 USER_NICKNAME_NOT_FOUND로 변경
[FEAT] 내가 작성한 글 보기
|
Caution Review failedThe pull request is closed. Walkthrough이 변경 사항은 FixLog 서버 애플리케이션의 전체 백엔드 구조를 도입합니다. 새로운 도메인 엔티티, DTO, 컨트롤러, 서비스, 리포지토리, JWT 기반 인증 및 Spring Security 설정, 예외 처리, 테스트 데이터 초기화 컴포넌트, 그리고 환경설정 파일이 추가되었습니다. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant AuthController
participant AuthService
participant MemberRepository
participant PasswordEncoder
participant JwtUtil
Client->>AuthController: POST /auth/login (이메일, 비밀번호)
AuthController->>AuthService: login(requestDto)
AuthService->>MemberRepository: findByEmail(email)
MemberRepository-->>AuthService: Member or not found
AuthService->>PasswordEncoder: matches(입력PW, 저장PW)
PasswordEncoder-->>AuthService: true/false
AuthService->>JwtUtil: createToken(userId, email)
JwtUtil-->>AuthService: accessToken
AuthService-->>AuthController: LoginResponseDto
AuthController-->>Client: 로그인 성공 응답
sequenceDiagram
participant Client
participant JwtAuthenticationFilter
participant JwtUtil
participant MemberRepository
participant SecurityContextHolder
Client->>JwtAuthenticationFilter: HTTP 요청 (Authorization: Bearer ...)
JwtAuthenticationFilter->>JwtUtil: isTokenValid(token)
JwtUtil-->>JwtAuthenticationFilter: true/false
JwtAuthenticationFilter->>JwtUtil: getEmailFromToken(token)
JwtUtil-->>JwtAuthenticationFilter: email
JwtAuthenticationFilter->>MemberRepository: findByEmail(email)
MemberRepository-->>JwtAuthenticationFilter: Member
JwtAuthenticationFilter->>SecurityContextHolder: setAuthentication(...)
JwtAuthenticationFilter-->>Client: 다음 필터로 진행
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (75)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
배포 하기 위해 머지
Summary by CodeRabbit
신규 기능
버그 수정
문서화
환경설정
테스트/모킹