-
Notifications
You must be signed in to change notification settings - Fork 1
채팅 구현 & 로그인 방식 변경 #46
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
Walkthrough채팅 기능을 도입하고(REST/웹소켓/Redis/Mongo) Jackson/Mongo/Redis/OpenAI/JWT/웹소켓 설정을 추가했습니다. OAuth 콜백은 리다이렉트 방식으로 변경되었습니다. 여러 DTO에서 region 필드를 address로 변경했고, 한 DTO(PlaceQueryResult)를 삭제했습니다. 예외/보안/CORS/Jackson 설정이 확장되었습니다. Changes
Sequence Diagram(s)sequenceDiagram
participant C as Client
participant REST as ChatRestController
participant S as ChatMongoService
participant M as MongoDB
participant R as RedisPublisher
participant RT as Redis
participant RS as RedisSubscriber
participant WS as WebSocket(/sub/chatroom)
C->>REST: POST /chat/send (ChatMessageSendDTO)
REST->>S: saveAndPublish(dto)
S->>M: save(ChatMessage)
M-->>S: saved
S->>R: publish(topic, ChatMessageReceiveDTO)
R->>RT: convertAndSend("chatroom", payload)
RT-->>RS: message
RS->>WS: convertAndSend(/sub/chatroom, payload)
WS-->>C: STOMP message
sequenceDiagram
participant K as Kakao OAuth
participant UC as UserController
participant U as UserCommandService
participant L as LoginRedirectUtil
participant B as Browser/App
K-->>UC: GET /users/oauth/kakao/callback?code=...
UC->>U: loginWithKakao(code)
U-->>UC: UserResponseDTO.LoginDto
UC->>L: getRedirectHeader(userResponse)
L-->>UC: HttpHeaders(Location: deepLink?accessToken=...&refreshToken=...)
UC-->>B: 302 Found (Location header)
Estimated code review effort🎯 5 (Critical) | ⏱️ ~75 minutes Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (44)
💤 Files with no reviewable changes (2)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
채팅 기능 구현
로그인 방식 변경
응답값 변경
mongodb 세팅
Summary by CodeRabbit