Feature/api integration#35
Merged
Merged
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (26)
📝 WalkthroughWalkthroughAPI 기반 아키텍처를 도입하여 Axios 클라이언트, 인증 서비스, 질문 서비스를 구현했고, 로그인 페이지와 로그아웃 기능을 서버 기반으로 변경했으며, 지원 페이지를 모듈화된 컴포넌트로 재구성했습니다. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant LoginPage as Login Page
participant AuthService as Auth Service
participant APIClient as API Client
participant Backend as Backend
User->>LoginPage: 이메일/비밀번호 입력 및 로그인 클릭
LoginPage->>AuthService: login(credentials)
AuthService->>APIClient: POST /auth/user/login
APIClient->>APIClient: 요청 인터셉터: Authorization 헤더 추가
APIClient->>Backend: HTTP 요청
Backend->>Backend: 인증 처리
Backend->>APIClient: 응답 (tokens, user info, XSRF-TOKEN 헤더)
APIClient->>APIClient: 응답 인터셉터: XSRF-TOKEN 추출 및 저장
APIClient->>AuthService: 응답 데이터
AuthService->>AuthService: CSRF 토큰 쿠키에서 읽기 및 설정
AuthService->>LoginPage: LoginResult (success, status, data, message)
LoginPage->>LoginPage: localStorage에 accessToken, refreshToken, user 저장
LoginPage->>User: /main으로 리다이렉트
Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes Possibly related PRs
✨ Finishing Touches
🧪 Generate unit tests (beta)
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. Comment |
This was referenced Mar 11, 2026
Merged
Merged
Merged
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.
✔️ 체크리스트
🔍 작업 내용
이미지 업로드 s3 오류 확인 필요
Summary by CodeRabbit
릴리스 노트
신규 기능
개선 사항
문서