Skip to content

Conversation

@bo-ram-bo-ram
Copy link
Member

@bo-ram-bo-ram bo-ram-bo-ram commented Feb 2, 2025

Pull request

Related issue

Resolve #82

Motivation and context

  • 히스토리서버의 초기 셋팅을 진행했습니다.
    • mongo db와의 연결
    • 메세지 저장 로직

Solution

  • Altas를 통한 몽고 db와 연결을 진행했습니다.

    • Altas는 aws의 RDS와 같은 개념으로 cloud에 mongo db를 띄워놓은 서비스입니다!
    • 무료 plan으로 진행했기때문에 추후 용량 부족과 같은 이슈가 생기면 로컬로 만들고 docker로 배포해도 좋을 것 같습니다.
    • 관련 설정은 notion env모음에 추가하였습니다.
  • 외부 브로커(kafka)와 연결 전이기 때문에 api 요청을 받아 저장하는 로직으로 mvp를 구현했습니다.

    • 추후 api 로직은 삭제하고 kafka로 변경할 예정입니다.
  • message 엔티티를 erd 기반으로 설계했습니다.

    • 이때 messageType은 enum을 설계하였고 text, image, vidio, huddle 로 구성하였습니다. 추가가 필요한 부분은 말씀해주세요.

How has this been tested

image image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the docs/CONTRIBUTING.md document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@bo-ram-bo-ram bo-ram-bo-ram added ✨ Feature 기능 추가 📦 Environment 개발 환경 세팅 🎮 BE 백엔드 labels Feb 2, 2025
@bo-ram-bo-ram bo-ram-bo-ram self-assigned this Feb 2, 2025
Copy link
Member

@mirlee0304 mirlee0304 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

잘 이해되게 작성되었네요! 수고하셨습니다. 다만, 메세지 타입에서 허들은 뭘까요?

@bo-ram-bo-ram
Copy link
Member Author

잘 이해되게 작성되었네요! 수고하셨습니다. 다만, 메세지 타입에서 허들은 뭘까요?

허들의 경우에도 채팅으로 기록이 남아야하니까 원본 메세지 타입을 구분하고자 하였습니다!

@bo-ram-bo-ram bo-ram-bo-ram merged commit a05ef83 into dev Feb 2, 2025
1 check failed
@bo-ram-bo-ram bo-ram-bo-ram deleted the be-feat/history-server-setting branch February 3, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🎮 BE 백엔드 📦 Environment 개발 환경 세팅 ✨ Feature 기능 추가

Projects

None yet

Development

Successfully merging this pull request may close these issues.

히스토리서버 초기셋팅

3 participants