feat: 온보딩에 키/몸무게 입력 추가 및 칼로리 계산 개인화#146
Merged
Merged
Conversation
leepg038292
approved these changes
Nov 9, 2025
Contributor
leepg038292
left a comment
There was a problem hiding this comment.
개인화된 칼로리 수치 확인할 수 있겠네요 확인했습니다.
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.
#️⃣ 연관 이슈
작업 목적
변경 사항
🔧 기술 스펙
칼로리 계산 공식
칼로리(kcal) = 체중(kg) × METs × 시간(h) × 1.05
API 요청 예시
POST /v1/auth/onboarding
{
"nickname": "홍러너",
"residence": "서울특별시 강남구",
"age_group": "TWENTIES",
"gender": "MALE",
"height": 175,
"weight": 70,
"weekly_goal_distance": 15.5,
"profileImageKey": "profiles/123/profile.jpg"
}
API 응답 예시
GET /v1/users/me
{
"id": 12345,
"nickname": "홍러너",
"height": 175,
"weight": 70,
...
}
테스트
프론트엔드 작업 필요 사항
워치 작업 필요 사항 (추후)
관련 이슈
체크리스트
추가 노트
현재 아키텍처 유지:
프론트/워치 개발자 참고:
src/main/java/com/waytoearth/util/CalorieCalculator.java 파일의 상세한 JavaDoc을 확인하세요. TypeScript와 Kotlin 구현 예제가 포함되어 있습니다.