Skip to content

refactor: api(Backend)와 환경변수 형식 통일 - #36

Merged
swthewhite merged 1 commit into
developfrom
feature/#35
Dec 16, 2025
Merged

swthewhite merged 1 commit into
developfrom
feature/#35

Conversation

@swthewhite

Copy link
Copy Markdown
Contributor

🍀 이슈 번호


✅ 작업 사항

  • api(Backend)와 환경변수 형식 통일

⌨ 기타

@swthewhite swthewhite linked an issue Dec 16, 2025 that may be closed by this pull request
1 task
@swthewhite swthewhite added the ♻️ refactor 기능 변화가 아닌 코드 리팩터링 label Dec 16, 2025
@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello @swthewhite, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 mongo.yml 파일 내 MongoDB 연결 설정을 리팩토링하여 API 백엔드와 환경 변수 형식을 일관되게 맞추는 것을 목표로 합니다. 이는 특히 프로덕션 환경에서 데이터베이스 연결 정보 관리를 더욱 명확하고 유연하게 만듭니다.

Highlights

  • MongoDB 설정 형식 통일: MongoDB 연결 URI에서 데이터베이스 이름을 분리하고, 별도의 database 필드를 추가하여 설정 형식을 통일했습니다.
  • 환경 변수명 변경: 프로덕션 환경에서 MongoDB 연결을 위한 환경 변수명이 MONGO_URL에서 MONGO_URI로 변경되었고, 데이터베이스 이름은 MONGO_DATABASE라는 새로운 환경 변수로 관리됩니다.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@sonarqubecloud

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

안녕하세요. 코드 변경 사항을 검토했습니다.

이번 PR은 MongoDB 설정의 일관성을 높이고 명확하게 만드는 좋은 리팩터링입니다. local 프로필에서 uridatabase를 분리하고, prod 프로필에서도 동일한 구조를 적용하면서 환경 변수명을 MONGO_URL에서 MONGO_URI로 변경한 점이 인상적입니다.

이러한 변경은 Spring Boot의 표준 설정을 더 잘 따르게 하여 코드의 유지보수성을 향상시킵니다. 전체적으로 깔끔하고 목적에 맞는 변경이라고 생각합니다. 수고하셨습니다!

@swthewhite
swthewhite merged commit f529181 into develop Dec 16, 2025
2 checks passed
@swthewhite
swthewhite deleted the feature/#35 branch December 16, 2025 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

♻️ refactor 기능 변화가 아닌 코드 리팩터링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor: api(Backend)와 환경변수 형식 통일

1 participant