[Springboot] 식사 통계 조회 설계하기 📂 /main L 기록 조회 L 기록 등록 L 통계 조회 ⬅️⬅️⬅️ 🔧 디자인 🔧 필요한 데이터 L 조회하는 날짜 기간 (시작 날짜 & 끝 날짜) 🔧 HTTP Method L GET🔧 API Path L /main/statistics?startDate=yyyy-MM-dd&endDate=yyyy-MM-dd Spring/[P] AI 기반 사용자 맞춤형 메뉴와 맛집 추천 2024.09.03
[Springboot] 식사 기록 등록 개발하기 - entity, enums 📂 apiPayload📂 config📂 controller L MainController📂 domain L 📂 common L 📂 enums L FoodCategoryName L Mealtime L UserGender L UserRole L User L Food📂 dto L 📂 request L AddMealDto L 📂 response📂 jwt📂 repository L UserRepository L FoodRepository📂 service L MainService L MainServiceImpl 식사 정보를 등록하기 위해 필요한 세팅 📜 ① Food : 저장할 식사 기록 객체@Entity@Get.. Spring/[P] AI 기반 사용자 맞춤형 메뉴와 맛집 추천 2024.09.02
[Springboot] 식사 기록 등록 개발하기 - controller, service, dto 📂 apiPayload📂 config📂 controller L MainController📂 domain L 📂 common L 📂 enums L FoodCategoryName L Mealtime L UserGender L UserRole L User L Food📂 dto L 📂 request L AddMealDto L 📂 response📂 jwt📂 repository L UserRepository L FoodRepository📂 service L MainService L MainServiceImpl 데이터베이스에 입력 받은 식사 정보를 기록하자 ❕🤍 ① AddMealDto : 전달받은 식사.. Spring/[P] AI 기반 사용자 맞춤형 메뉴와 맛집 추천 2024.08.30
[Springboot] 식사 기록 등록 설계하기 📂 /main L 기록 조회 L 기록 등록 ⬅️⬅️⬅️ L 통계 조회 🔧 디자인 🔧 필요한 데이터 (AI 로 인식할 예정이다) L 식사 시간 (아침/점심/저녁) L 탄수화물량 L 단백질량 L 지방량 L 음식 이름 🔧 HTTP Method L POST🔧 API Path L /main/history 🔧 API Request L Body{ "mealtime" : string, // BREAKFAST, LUNCH, DINNER "carbohydrate" : int, "protein" : int, "fat" : int, "foodName" : string} Spring/[P] AI 기반 사용자 맞춤형 메뉴와 맛집 추천 2024.08.29
[Springboot] 식사 기록 조회 개발하기 📂 apiPayload📂 config📂 controller L MainController📂 domain L 📂 common L 📂 enums L User L Food📂 dto L 📂 request L 📂 response L MainHistoryResponseDto📂 jwt📂 repository L UserRepository L FoodRepository📂 service L MainService L MainServiceImpl 날짜에 맞춰 등록된 식사 기록을 반환한다 ① MainHistoryResponseDto : 반환하고자 하는 정보, 기본값 세팅@Getter@Builder@NoArgsConstructor@AllArgsConstructorpublic.. Spring/[P] AI 기반 사용자 맞춤형 메뉴와 맛집 추천 2024.08.28
[Springboot] 식사 기록 조회 설계하기 📂 /main L 기록 조회 ⬅️⬅️⬅️ L 기록 등록 L 통계 조회 🔧 디자인 🔧 필요한 데이터 L 조회하는 날짜 🔧 HTTP Method L GET🔧 API Path L /main/history?date=yyyy-MM-dd Spring/[P] AI 기반 사용자 맞춤형 메뉴와 맛집 추천 2024.08.27
[Springboot] 비밀번호 재설정 개발하기 🗂️ src/main/java L 📁 apiPayload L 📁 config L 📂 controller L UserController L 📂 domain L 📁 common L 📁 enums L User L 📂 dto L 📂 request L ChangePasswordDto L 📁 response L 📁 jwt L 📂 repository L UserRepository L 📂 service L UserService L UserServiceImpl 새로운 비밀번호로 변경해보자 ❕ ① UserController : JWT .. Spring/[P] AI 기반 사용자 맞춤형 메뉴와 맛집 추천 2024.08.26
[Springboot] 비밀번호 재설정 설계하기 📂 /user L 회원 가입 L 회원 탈퇴 L 로그인 L 로그아웃 L 비밀번호 재설정 (로그인 전) L 비밀번호 재설정 (로그인 후) ⬅️⬅️⬅️ 🔧 디자인 🔧 필요한 데이터 L newPassword 🔧 HTTP Method L POST🔧 API Path L /user/change-pw 🔧 API Request L Body{ "newPassword" : string} Spring/[P] AI 기반 사용자 맞춤형 메뉴와 맛집 추천 2024.08.23
[Springboot] 이메일로 임시 비밀번호 전송 개발하기 (2) controller, repository, service 🗂️ src/main/java L 📁 apiPayload L 📁 config L 📂 controller L UserController L 📂 domain L 📁 common L 📁 enums L User L 📂 dto L 📂 request L NewPasswordDto L 📁 response L 📁 jwt L 📂 repository L UserRepository L 📂 service L UserService L UserServiceImpl 🗂️ src/main/resources L application.propert.. Spring/[P] AI 기반 사용자 맞춤형 메뉴와 맛집 추천 2024.08.22
[Springboot] 이메일로 임시 비밀번호 전송 개발하기 (1) build.gradle, application.yml, dto 🗂️ src/main/java L 📁 apiPayload L 📁 config L 📂 controller L UserController L 📂 domain L 📁 common L 📁 enums L User L 📂 dto L 📂 request L NewPasswordDto L 📁 response L 📁 jwt L 📂 repository L UserRepository L 📂 service L UserService L UserServiceImpl 🗂️ src/main/resources L application.. Spring/[P] AI 기반 사용자 맞춤형 메뉴와 맛집 추천 2024.08.21