-
Notifications
You must be signed in to change notification settings - Fork 72
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
[BE][Team-26] 1주차 1차 PR #8
Conversation
- application.yml 설정 적용 - local-db.yml 추가
- 테이블 초기화
- 데이터베이스 초기 데이터 추가 - 이미지 url은 aws s3 서버에 업로드 해둔 것을 사용
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
안녕하세요 BC, JERRY 리뷰어 dion입니다.
두번째 협업 프로젝트가 시작되었네요, 정신없이 시간이 흘러갔으리라 생각됩니다. 고생하셨습니다.
협업은 즐겁게 진행해주세요!!
답변
Foreign Key에 대해서 조금 더 공부를 해보셨으면 어땠을까 하는 생각이 드네요. FK는 제약조건상 데이터의 유무를 체크하기 때문에 말씀해주신 내용으로는 사용하지 않는 것이 맞다고 생각합니다. MySQL 8.0은 잘 모르겠는데 제약을 피해갈 수 있는 방법이 따로 있는지 확인이 필요할 것 같아요.
만약에 조인을 사용하고 싶다면 FK없이 그냥 값으로만 두시고 JOIN을 거시면 됩니다.
보통은 이렇게 join 하면 성능이 떨어지기에, 그냥 값을 박아넣는 경우도 있습니다.
코드 리뷰
- 네이밍에 대한 고민이 많이 부족해보입니다. 네이밍을 좀 더 신경써주세요.
- Enum은 DB에서 저장할 때, 보통 Enum의 name을 값으로 사용합니다. 숫자로 지정하는 것은 변경발생시 문제가 될 소지가 많습니다.(변경을 권장드립니다.)
프로젝트 화이팅입니다!! 💪
10시까지 피드백 반영을 진행해주시고, 10시에는 머지하겠습니다!
@@ -0,0 +1 @@ | |||
# Android |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이런 파일은 충돌이 날 수 있기 때문에 주의해서 PR해주시는 것을 권장드립니다~
|
||
services: | ||
database: | ||
image: mysql:8.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오 mysql 8.0을 써주셨군요!
- MYSQL_DATABASE=${DATABASE_NAME} | ||
- MYSQL_USER=${USER_NAME} | ||
- MYSQL_PASSWORD=${USER_PASSWORD} | ||
- TZ=Asia/Seoul |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
타임존을 Asia/Seoul로 잡아주신 이유가 있을까요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
현재 시간과 관련된 기능이 필요할 경우를 대비해서 설정해두었는습니다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
타임존은 항상 심도있게 고려후에 지정해주시는걸 추천드리겠습니다!
|
||
command: | ||
- --character-set-server=utf8mb4 | ||
- --collation-server=utf8mb4_unicode_ci |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
왜 해당 collation을 설정해주셨나요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
collation의 default인 utf8mb4_0900_ai_cii 보다는 utf8mb4_unicode_ci가 한글 같은 비라틴계 언어의 정렬이나 검색에 더 적합하다고 하여 이렇게 적용하였습니다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
시간이 되시면, 한글데이터로 실험을 해보시면 좋을 것 같네요!
} | ||
|
||
@GetMapping | ||
@ResponseStatus(HttpStatus.OK) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
왜 해당 애노테이션을 설정해주셨나요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
제대로 된 응답이 내려갔을 시 클라이언트에 200 OK 응답을 보내주고 싶어서 사용했습니다!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
기본값이 HttpStatus.OK
인데 명시적으로 지정해주신 이유는 무엇인가요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default 값이 200 OK인줄 몰랐네요. 😅
password: ${USER_PASSWORD} | ||
sql: | ||
init: | ||
mode: always |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이렇게 설정파일 지정해주시는건 지양하시는게 좋습니다. 기본은 db를 건들지 않는 것으로 두고, 다른 프로필에 이 설정을 두시는걸 추천드려요.
실제로 몇몇 회사에서 이렇게 설정을 둬서 운영 DB가 싹 날아가는 경우가 있었습니다.
@@ -0,0 +1,143 @@ | |||
INSERT INTO menu (name, description, price, menu_type, sale_type, fee, free_shipping_min, delivery_info, stock, image_id) | |||
VALUES ('[프렙] 해산물 빠에야', '메뉴설명1', 10000, 1, 1, 2500, 40000, 1, 50, (select count(*) from image) + 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
서브쿼리 넣어서 설정하지 마시고, 직접 값을 넣어주세요.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
id를 직접 지정해주시면됩니다.
image가 몇장이 들어갈지 모른다는게 잘 이해가 안가네요.
직접 데이터 넣어주시는게 아닌걸까요? 직접 넣어주시면, 직접 세팅해주시는게 좋습니다.
-- ----------------------------------------------------- | ||
-- Schema sidedish | ||
-- ----------------------------------------------------- | ||
CREATE SCHEMA IF NOT EXISTS `sidedish` DEFAULT CHARACTER SET utf8 ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
캐릭터셋 이게 맞나요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
상세 설명 등에 이모지가 들어갈 수 있을 것 같아서 utf8mb4로 변경해야 할 것 같습니다.
CREATE SCHEMA IF NOT EXISTS `sidedish` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ;
와 같이 변경해보겠습니다.
`id` INT NOT NULL AUTO_INCREMENT, | ||
`name` VARCHAR(255) NOT NULL, | ||
`description` VARCHAR(255) NOT NULL, | ||
`price` INT NOT NULL, | ||
`menu_type` INT NOT NULL, | ||
`sale_type` INT NOT NULL, | ||
`fee` INT NOT NULL, | ||
`free_shipping_min` INT NOT NULL, | ||
`delivery_info` INT NOT NULL, | ||
`stock` INT NOT NULL, | ||
`image_id` INT NOT NULL, | ||
PRIMARY KEY (`id`)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DB 생성시 코멘트를 남기는 습관을 들여주세요.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mySQL WorkBench 를 통해 table 설계 후 Forward Engineer SQL Script
기능을 사용해서 schema.sql 파일을 만들다 보니 위처럼 작성이 되었습니다. 현재 파일에 코멘트를 추가하겠습니다. 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
네, sql을 만들어준다고, 커밋을 바로 해주는 것도 아니고, 그렇다고 해도 amend 하면 되니까 꼭 남겨주세요~
@@ -0,0 +1 @@ | |||
# BE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
README가 비어있네요. 뭔가 신경써주면 좋을 것 같아요.
어떻게 실행한다던지, 어떤 것이 필요한지...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
다음 PR 전까지 README에 api에 대한 정보를 담아서 안드로이드 분들과 공유해볼 생각입니다! 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
API 정보는 API 문서에서 다뤄주세요.
해당 프로젝트에 대한 정보를 README에 다뤄주세요.
https://github.com/matiassingers/awesome-readme
요런걸 참고해보세요.
* Update README.md * Create Readme.md * Create Readme.md * Update issue templates * Update bug issue templates * Update README.md * [#6] Chore: CRA 없이 React 빌드 환경 구축 * [#6] Chore: sass 모듈 추가, react 인식 불가 에러 해결 * [#6] Fix: typo 수정 * [#8] Chore: Header 이미지 파일 추가 * [#8] Feat: Header 구현 * [#8] Design: Header 스타일 작성 Co-authored-by: vans <92678171+ffinn92@users.noreply.github.com> Co-authored-by: soralee <sora2821@gmail.com>
제가 찾아보기로는 InnoDB 구현상 deferrable foreign key는 지원되지 않습니다.
|
DB 설계를 보다가 느낀건데요, |
Contents - Cell을 reload할때 마다 View가 중복으로 추가되던 버그 수정 - BadgeStackView 사이즈 버그 수정 - image 출력 버그 수정 Todo - image Caching, 비동기 처리
[Kai] #6 Product Detail 모델및 테스트 구현
메뉴를 여러 개 담는 장바구니 기능이 없다고 생각하고
|
[AOS] feat: 임시 Api를 이용해서 메뉴화면 구현
- 스키마 구성을 위한 schema.sql 파일 추가 - 초기 데이터 파일 추가를 위한 data.sql 파일 추가
[BE] 데이터베이스 스키마 구성을 위한 SQL 파일 작성
* docs: update README * rename: 디렉토리명 변경 각 클래스별 디렉토리명을 풀네임으로 변경하였습니다 * Update issue templates * docs: README 수정 브랜치 전략 및 커밋룰 수정 * feat: Theme 영역 구현 Theme 영역 html, css 마크업 * feat: goodsBlock Component 구현 목데이터를 사용해서 재사용되는 각 메뉴들의 컴포넌트를 구현했다. * style: prettier 적용 .prettierrc 파일을 생성해 적용했다. * feat: bestSideDishContainer 영역 구현 선택된 탭 영역에 해당하는 반찬이 렌더링 된다. * feat: selected Tab 렌더링 선택된 탭 하단에 line이 렌더링된다. * refactor: goodsLabel 태그 변수화 * design: specialPromition, goodsBlock Component CSS 구현 * design: header, special Promotion, goodsBlock Component CSS 수정 * chore: package.json githubPages 배포 설정 Co-authored-by: rkolx <olx.rko.o@gmail.com> Co-authored-by: PhilSoGooood <peelhw@gmail.com> Co-authored-by: Sangpil Hwang <87455844+PhilSoGooood@users.noreply.github.com> Co-authored-by: Serin-Kim <serin9864@gmail.com>
1. properties 파일에서 yml 파일로 변경했습니다. 2. Spring Data Jdbc 사용을 위해 의존 주입을 추가했습니다.
Controller - Service - Repository(DAO) 간 의존 관계를 형성했습니다. Repository 는 MySQL 을 쭉 사용할 예정이기 때문에 따로 인터페이스를 상속받지 않고 클래스로 생성했습니다.
1. schemas.sql 카테고리, 이미지, 메뉴, 주문 정보, 세일 정보 테이블 생성 2. data.sql Select 에 대한 참조 예시 작성
properties 파일에 문제가 있는 줄 알고 yml 으로 교체했었는데, 설정 실수로 인해 그런거라고 깨닫고 다시 properties 파일로 교체했습니다.
* [#6] Chore: CRA 없이 React 빌드 환경 구축 * [#6] Chore: sass 모듈 추가, react 인식 불가 에러 해결 * [#6] Fix: typo 수정 * [#8] Chore: Header 이미지 파일 추가 * [#8] Feat: Header 구현 * [#8] Design: Header 스타일 작성 * [#8] Rename: 컴포넌트 확장자 변경 * [#8] Rename: assets 디렉토리 생성 및 image 디렉토리 이동 * [#6] Chore: webpack.config.js에 절대경로 alias 설정 * [#8] Refactor: import 경로 수정 * [#8] Refactor: Nav함수 구조분해할당 적용 * [#8] Refactor: PR리뷰 반영 Nav 컴포넌트 함수에 conditional rendering 적용 makeNavCatetory함수 로직을 MainSubNav 컴포넌트 함수에서 처리 * [#8] Refactor: MainNav, MainSubNav 컴포넌트 함수 이름 변경 * [#8] Design: subCategory 마우스 호버 스타일 추가 * [#13] Feat: Promotion 1차 구현 * [#13] Chore: babel transform-runtime-plugin 설치, 설정 * [#13] Feat: 기획전 컴포넌트 구현 목서버에서 데이터 fetch 함수 구현 PromotionBar에서 클릭이벤트 등록 클릭이벤트의 타겟 ID에 따른 PromotionSection 렌더링 구현 * Chore: 깃 충돌 해결 과정에서 꼬인 코드 수정 * Remove: 깃 수정 과정에서 생긴 오류 수정 * [#13] Feat: useEffect를 사용하여 TAB 랜더링 구현 & TAB 클릭 스타일 변경 구현 Co-authored-by: DESKTOP-88VMMCI\user <luzverde0314@gmail.com> Co-authored-by: ver <95198109+lv0314@users.noreply.github.com>
* Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 * [FE] team-03브랜치에서 dev-FE로 최신화 (#14) * Feat: 프로젝트 초기 세팅 ref: #8 * [team-03][FE][쥬&도리] 1주차 첫 PR: 프로젝트 환경설정 및 설계 (#25) * [공통] Issues, PR templates 와 프로젝트 소개 README.md 추가 (#2) * Docs: 프로젝트 및 팀원 소개(readme.md) * Chore: Issues, PR templates 추가 ref: #1 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Docs: 팀원 수정 - 팀원 한 마디 추가 * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: Jwu <sju02048@naver.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> * [FE] MealContainer 레이아웃 작성 (#16) * Chore: vscode debugger .gitingore에추가 * Chore: axios 라이브러리 추가 * Feat: MealContainer - MealHeader - Carousel -> MealCard여러개 * Refactor: useMemo 삭제 * Chore: TODO 주석 작성 - 컴포넌트 분리 - stlye 코드 분리 - status 코드 * [FE] BestMealContainer 레이아웃 작성 (#18) * Chore: Prettier useTabs true로 수정 * Chore: axios 라이브러리 추가 * Feat: BestMealContainer 기본 레이아웃 Co-authored-by: YUNHO <kimyouknow@naver.com> * [FE] components단위로 파일 분리 (#20) * Refactor: App.jsx에서 BestMealContainer import수정 * Refactor: MealContainer에서 Loader와 MealCard 분리 * Chore: components 폴더 관리 * [FE] 페어 리팩토링 (#21) * Refactor: mockServerURL .env파일에서 관리 - constant폴더에서 관리 * Feat: setDefaultImage()함수 추가 - 인자로 image url을 받아서 false면 default이미지로 반환 * Chore: 폴더경로 상대경로에서 절대경로로 변경 - jsconfig.json파일 설정 Co-authored-by: YUNHO <kimyouknow@naver.com> Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com>
Caching Image 저장하는 모델 객체 만들기
- JSONHandlable 타입으로 선언한 후 JSONHandler 인스턴스를 할당
- 백그라운드 데이터 및 JSON파싱을 담당하는 레이어 및 델리게이트의 추상타입을 정의
- Ordering.swift에 있던 열거형 선언은 제거
- 파일들이 변경된 디렉토리명 하위로 이동된 것
- 현재는 프로젝트 폴더 안에 있는 json 파일을 읽어들인 후 이를 디코딩하는 역할을 수행하는 별도의 레이어로 기능
…, MainViewController에서 Ordering 주입하는 방식 변경 - 생성자에서 사용할 repository 구체타입을 받아서, 샘플 데이터를 업데이트 하는 방식으로 수정 - 이후 Ordering 테스트 코드 내에서는 Repository가 아닌 미리 짜여진 MockRepository를 받아서 사용할 수 있는 것 - MainViewController의 ordering 속성은 변화된 Ordering의 생성자에 맞춰서, viewDidLoad 시점에 초기화되도록 수정
- 내부에 임의의 Food타입 객체를 하나 가지고, 이를 사용하는 가상의 메소드를 하나만 구현
- JSONHandlerTest는 임의의 Food타입 객체를 가지고 사용하도록 테스트함수 작성 - OrderingTest는 기존과 달리 구현한 MockRepository를 주입받는 Ordering객체를 사용해서 사용하도록 테스트함수를 수정
* Chore: 깃 충돌 해결 과정에서 꼬인 코드 수정 * Remove: 깃 수정 과정에서 생긴 오류 수정 * [#13] Feat: useEffect를 사용하여 TAB 랜더링 구현 & TAB 클릭 스타일 변경 구현 * [#6] Chore: babel config에 `runtime: automatic' 추가 * Chore: config의 절대경로 alias 수정 * Feat: constant 파일을 만들어서 상수 변수를 관리함 * [#8] Refactor: img 태그에 alt 속성 추가 * [#13] Refactor: img 태그에 alt 속성 추가 * [#13] Refactor: fetchData API를 util 파일로 분리 * [#13] Refactor: label 컴포넌트 수정 * [#31] Feat: Header 컴포넌트에 Atomic Design Pattern 적용 * [#13] Chore: data URL 수정 * [#31] Rename: Nav를 HeaderNav로 이름 변경 * [#36] Feat: Promotion 컴포넌트 분리 * Test: 임시 사용하는 fake data 생성 * [#31] Remove: 중복되는 image 디렉토리(src/image) 제거 * [#39] Chore: styled-components, babel-plugin-styled-components 설치 * [#39] Feat: Header 컴포넌트에 styled-components 적용 * Chore: development, production mode build 환경 설정 Co-authored-by: soralee <sora2821@gmail.com>
* Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 * [FE] team-03브랜치에서 dev-FE로 최신화 (#14) * Feat: 프로젝트 초기 세팅 ref: #8 * [team-03][FE][쥬&도리] 1주차 첫 PR: 프로젝트 환경설정 및 설계 (#25) * [공통] Issues, PR templates 와 프로젝트 소개 README.md 추가 (#2) * Docs: 프로젝트 및 팀원 소개(readme.md) * Chore: Issues, PR templates 추가 ref: #1 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Docs: 팀원 수정 - 팀원 한 마디 추가 * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: Jwu <sju02048@naver.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> * [FE] MealContainer 레이아웃 작성 (#16) * Chore: vscode debugger .gitingore에추가 * Chore: axios 라이브러리 추가 * Feat: MealContainer - MealHeader - Carousel -> MealCard여러개 * Refactor: useMemo 삭제 * Chore: TODO 주석 작성 - 컴포넌트 분리 - stlye 코드 분리 - status 코드 * [FE] BestMealContainer 레이아웃 작성 (#18) * Chore: Prettier useTabs true로 수정 * Chore: axios 라이브러리 추가 * Feat: BestMealContainer 기본 레이아웃 Co-authored-by: YUNHO <kimyouknow@naver.com> * [FE] components단위로 파일 분리 (#20) * Refactor: App.jsx에서 BestMealContainer import수정 * Refactor: MealContainer에서 Loader와 MealCard 분리 * Chore: components 폴더 관리 * [FE] 페어 리팩토링 (#21) * Refactor: mockServerURL .env파일에서 관리 - constant폴더에서 관리 * Feat: setDefaultImage()함수 추가 - 인자로 image url을 받아서 false면 default이미지로 반환 * Chore: 폴더경로 상대경로에서 절대경로로 변경 - jsconfig.json파일 설정 * [FE] team-03브랜치에서 dev-FE로 최신화 commit a773a14 Merge: 2bc424b 1276077 Author: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Date: Sun Apr 24 22:54:48 2022 +0900 Merge pull request #59 from Louie-03/dev-BE [Team-03][BE][루이&쿠킴] - 특정 음식 타입 조회 기능 commit 2bc424b Author: Jwu <sju02048@naver.com> Date: Sun Apr 24 17:06:36 2022 +0900 [team-03][FE][쥬&도리] 1주차 두 번째 PR: 컴포넌트 단위 설계 (#66) * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 * [FE] team-03브랜치에서 dev-FE로 최신화 (#14) * Feat: 프로젝트 초기 세팅 ref: #8 * [team-03][FE][쥬&도리] 1주차 첫 PR: 프로젝트 환경설정 및 설계 (#25) * [공통] Issues, PR templates 와 프로젝트 소개 README.md 추가 (#2) * Docs: 프로젝트 및 팀원 소개(readme.md) * Chore: Issues, PR templates 추가 ref: #1 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Docs: 팀원 수정 - 팀원 한 마디 추가 * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: Jwu <sju02048@naver.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> * [FE] MealContainer 레이아웃 작성 (#16) * Chore: vscode debugger .gitingore에추가 * Chore: axios 라이브러리 추가 * Feat: MealContainer - MealHeader - Carousel -> MealCard여러개 * Refactor: useMemo 삭제 * Chore: TODO 주석 작성 - 컴포넌트 분리 - stlye 코드 분리 - status 코드 * [FE] BestMealContainer 레이아웃 작성 (#18) * Chore: Prettier useTabs true로 수정 * Chore: axios 라이브러리 추가 * Feat: BestMealContainer 기본 레이아웃 Co-authored-by: YUNHO <kimyouknow@naver.com> * [FE] components단위로 파일 분리 (#20) * Refactor: App.jsx에서 BestMealContainer import수정 * Refactor: MealContainer에서 Loader와 MealCard 분리 * Chore: components 폴더 관리 * [FE] 페어 리팩토링 (#21) * Refactor: mockServerURL .env파일에서 관리 - constant폴더에서 관리 * Feat: setDefaultImage()함수 추가 - 인자로 image url을 받아서 false면 default이미지로 반환 * Chore: 폴더경로 상대경로에서 절대경로로 변경 - jsconfig.json파일 설정 Co-authored-by: YUNHO <kimyouknow@naver.com> Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> commit 1276077 Merge: e8eca13 68b6e96 Author: Louie <dhdustnr0134@naver.com> Date: Fri Apr 22 11:03:53 2022 +0900 Merge pull request #22 from Louie-03/BE-feature-GET_api_products_meal_type [BE] 특정 음식 타입 조회 기능 commit 68b6e96 Author: Louie <dhdustnr0134@naver.com> Date: Fri Apr 22 10:39:03 2022 +0900 Fix: DiscountPolicy NPE 문제 해결 - DiscountPolicy가 존재하지 않는 상품의 인수 테스트 추가 Co-authored-by: “ku-kim” <kukim.dev@gmail.com> commit 5335f2e Author: Louie <dhdustnr0134@naver.com> Date: Fri Apr 22 10:37:09 2022 +0900 Refactor: 계산 로직의 책임을 Product에서 DiscountPolicy로 위임 - 기존 Product의 계산 로직을 DiscountPolicy의 calculateFixedPrice 메서드로 옮겼다. Co-authored-by: “ku-kim” <kukim.dev@gmail.com> commit 1e27697 Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 17:47:25 2022 +0900 Feat: meal type으로 음식 조회가 되지 않는 경우 조회 실패 구현(404 NOT FOUND) commit db93682 Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 17:27:13 2022 +0900 Fix: Product 객체 fixedPrice 계산 로직 수정 - 기존 연산 괄호 실수 -> 올바르게 변경 - 테스트 코드 추가 commit 3b74382 Author: Louie <dhdustnr0134@naver.com> Date: Thu Apr 21 16:53:35 2022 +0900 Refactor: Entity와 Domain 객체 분리 - Entity를 Domain 객체로 변경해주는 DomainEntityMapper 구현 - 변경된 코드에 따른 테스트 코드 수정 Co-authored-by: “ku-kim” <kukim.dev@gmail.com> commit ca34b5a Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 15:17:09 2022 +0900 Feat: 특정 Products의 meal type 조회 기능의 리포지토리 구현 - 테스트 작성 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> commit 06cebb6 Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 15:15:29 2022 +0900 Feat: product, product_image, discount_policy 테이블 DDL과 더미데이터 생성, 테스트 환경 구분 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> commit feb2909 Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 09:32:59 2022 +0900 Refactor: Product <-> Response Dto 변환 위치를 컨트롤러에서 서비스로 변경 commit fc57090 Author: Jwu <sju02048@naver.com> Date: Wed Apr 20 21:07:11 2022 +0900 [team-03][FE][쥬&도리] 1주차 첫 PR: 프로젝트 환경설정 및 설계 (#25) * [공통] Issues, PR templates 와 프로젝트 소개 README.md 추가 (#2) * Docs: 프로젝트 및 팀원 소개(readme.md) * Chore: Issues, PR templates 추가 ref: #1 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Docs: 팀원 수정 - 팀원 한 마디 추가 * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> commit 4f385a1 Merge: a002511 e8eca13 Author: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Date: Wed Apr 20 18:29:42 2022 +0900 Merge pull request #20 from Louie-03/dev-BE [Team-03][BE] 쿠킴 & 루이 - 데이터베이스 설계, Mock API Server, 배포 아키텍처, 프로젝트 세팅 commit f4c13a4 Author: “kukim” <kukim.dev@gmail.com> Date: Wed Apr 20 17:32:01 2022 +0900 Feat: 특정 Products의 meal type 조회 기능의 서비스 구현 - 테스트 작성 commit 8e691b4 Author: “kukim” <kukim.dev@gmail.com> Date: Wed Apr 20 17:03:56 2022 +0900 Feat: 특정 Products의 meal type 조회 기능의 컨트롤러 구현 - API : GET /api/products?meal={value} - 컨트롤러 테스트 구현 - 서비스 계층은 Mock 처리 - Product 도메인 객체 생성 - ProductsDtoMapper 객체 생성 : Product 도메인 <-> ProductsMealTypeResponse 변환 commit b9873d0 Author: “kukim” <kukim.dev@gmail.com> Date: Wed Apr 20 15:57:24 2022 +0900 Test: 특정 Products의 meal type 조회 기능 테스트코드만 작성 - 인수 테스트 작성 commit e8eca13 Author: Louie <dhdustnr0134@naver.com> Date: Wed Apr 20 14:24:31 2022 +0900 Feat: 프로젝트 초기 세팅 ref: #8 Co-Authored-By: YUNHO <kimyouknow@naver.com> Co-Authored-By: Louie <dhdustnr0134@naver.com> Co-Authored-By: kukim <57086195+ku-kim@users.noreply.github.com> * [FE] Styled Component Best Header 부분 (#25) * Feat: 프로젝트 초기 세팅 ref: #8 * [team-03][FE][쥬&도리] 1주차 첫 PR: 프로젝트 환경설정 및 설계 (#25) * [공통] Issues, PR templates 와 프로젝트 소개 README.md 추가 (#2) * Docs: 프로젝트 및 팀원 소개(readme.md) * Chore: Issues, PR templates 추가 ref: #1 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Docs: 팀원 수정 - 팀원 한 마디 추가 * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Chore: env 추가 * Style: SVG 아이콘 추가 * Feat: theme 추가 * Style: 폰트 추가 * Style: 파일 이름 변경 * Design: BestMeal 헤더&네비게이션 Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> * [FE] PR 반영 및 styledCSS 수정 (#28) - 두 번째 PR 반영 - 코드 스타일 리팩토링 ref: #26 Co-authored-by: YUNHO <kimyouknow@naver.com> * [FE] 일반 Meal 컴포넌트 UI 구현 (#39) * Design: Meal Card styles.js 분리 * Design: 카드에 hover시 택배서비스 표시 * Design: MealConatiner 헤더 및 레이아웃 * Design: 캐러셀 컨테이너 - svg추가 * Chore: Card컨테이너에서 hover할 때 보여지는 배송정보 코드 상 위치 변경 - 컴포넌트 하단으로 빼기 * Build: mock servser url 환경변수로 관리 .env파일에서 관리하던 url을 각 로컬에서 관리하기 * Refactor: mock sever 403에러 일때 constant에 있는 mock데이터 사용 * Design: theme 세부속성 분해할당해서 접근 이전: theme -> theme.color 이후: theme: {color} -> color * Refactor: mealCard hover 속성 js변수에서 css로 제어 * Chore: 주석 정리 * [FE] Best 컴포넌트 구현 (#40) * Feat: 금액 toLocalString로 구분 * Feat: mock api -> mock data로 수정 - postman api 호출횟수 초과해서 로컬로 값 보내는 걸로 수정 * Design: Best 컴포넌트 추가 Co-authored-by: YUNHO <kimyouknow@naver.com> * [FE] 캐러셀 디자인, getCarouselDesign() (#48) * Design: App에서 Main 컴포넌트 분리 * Desgin: 캐러셀 디자인, getCarouselDesign() - getCarouselDesign: 이미지 사이즈, 이미지 개수에 따라 동적으로 UI 결정 * [FE] GNB Design 구현 (#49) * Style: 오타 수정 * Design: 글로벌스타일 button poiner 추가 * Design: Header Component 추가 - 헤더에 hover 시 레이아웃 나타나는 디자인 - 글씨, 아이콘 hover 디자인 - 전체적인 헤더 UI 디자인 * [FE] BestMealCard 컴포넌트와 MealCard 컴포넌트 통합 (#50) * Refactor: BestMeal Container mock데이터 분리 및 탭 변수 수정 - MOCK_DATA_JS -> MOCK_BEST_MEAT: 변수명 변경 및 contant로 이동 - BEST_SUBTITLE -> BEST_TAB_TYPE: 변수명 변경 및 api Params추가 - Tabs컴포넌트 BestMeals컴포넌트처럼 양식 통일 * Refactor: BestMealCard를 MealCard컴포넌트와 통일 - MealCard를 받을 때 이미지 사이즈 넘겨받기 * Feat: BestMeal에서 findTargetTab()함수 선택한 탭의 id를 인자로 받고 apiParams를 반환함. * Chore: Main위치 src/components -> src/pages * Chore: 메인 레이아웃 헤더 mainWidth설정 * Chore: 함수 선언식 -> arrow function * Design 캐러셀 양 옆 svg 스타일 수정 - border 없애기 - 크기 키움 * Fix: Main 경로 오타 수정 * Refactor: 호버창 컴포넌트 단위로 분리 * Refactor: state값 이용하지 않고 hover로 수정 * Design: 컴포넌트 간 간격 수정 * [FE] 컴포넌트 리팩토링 (#51) Refactor: 호버창 컴포넌트 단위로 분리 Refactor: state값 이용하지 않고 hover로 수정 Design: 컴포넌트 간 간격 수정 * Chore: 오타수정 * Chore: 충돌해결하면서 지우지 못한 폴더 삭제 - constant - util * Chore: reset.css 삭제 * [FE} 캐러셀 컴포넌트 구현 (#58) * Chore: mock server에서 실제서버url로 변경 * Feat: Carousel 구현 * Feat: Carousel 재사용성 고려해서 children을 밖에서 선언 * [FE] Custom Axios 작성 및 데이터 fetch 기능 (#59) * Style: API 변수이름 수정 * Fix: price 오타 수정 * Delete: PR 충돌 오류로 삭제 * Style: 여백 오타 수정 * Feat: useAxios 추가 * Design: 더보기 버튼 * Feat: 카테고리 더보기 * Design: 버튼 가운데 정렬 * Feat: 카테고리 추가 렌더링 버그 고쳐야함 * Feat: 추가 데이터 버튼 감추기 Co-authored-by: yunho <kimyouknow@naver.com> Co-authored-by: Jwu <sju02048@naver.com> Co-authored-by: YUNHO <kimyouknow@naver.com> Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com>
* Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 * [FE] team-03브랜치에서 dev-FE로 최신화 (#14) * Feat: 프로젝트 초기 세팅 ref: #8 * [team-03][FE][쥬&도리] 1주차 첫 PR: 프로젝트 환경설정 및 설계 (#25) * [공통] Issues, PR templates 와 프로젝트 소개 README.md 추가 (#2) * Docs: 프로젝트 및 팀원 소개(readme.md) * Chore: Issues, PR templates 추가 ref: #1 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Docs: 팀원 수정 - 팀원 한 마디 추가 * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: Jwu <sju02048@naver.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> * [FE] MealContainer 레이아웃 작성 (#16) * Chore: vscode debugger .gitingore에추가 * Chore: axios 라이브러리 추가 * Feat: MealContainer - MealHeader - Carousel -> MealCard여러개 * Refactor: useMemo 삭제 * Chore: TODO 주석 작성 - 컴포넌트 분리 - stlye 코드 분리 - status 코드 * [FE] BestMealContainer 레이아웃 작성 (#18) * Chore: Prettier useTabs true로 수정 * Chore: axios 라이브러리 추가 * Feat: BestMealContainer 기본 레이아웃 Co-authored-by: YUNHO <kimyouknow@naver.com> * [FE] components단위로 파일 분리 (#20) * Refactor: App.jsx에서 BestMealContainer import수정 * Refactor: MealContainer에서 Loader와 MealCard 분리 * Chore: components 폴더 관리 * [FE] 페어 리팩토링 (#21) * Refactor: mockServerURL .env파일에서 관리 - constant폴더에서 관리 * Feat: setDefaultImage()함수 추가 - 인자로 image url을 받아서 false면 default이미지로 반환 * Chore: 폴더경로 상대경로에서 절대경로로 변경 - jsconfig.json파일 설정 * [FE] team-03브랜치에서 dev-FE로 최신화 commit a773a14 Merge: 2bc424b 1276077 Author: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Date: Sun Apr 24 22:54:48 2022 +0900 Merge pull request #59 from Louie-03/dev-BE [Team-03][BE][루이&쿠킴] - 특정 음식 타입 조회 기능 commit 2bc424b Author: Jwu <sju02048@naver.com> Date: Sun Apr 24 17:06:36 2022 +0900 [team-03][FE][쥬&도리] 1주차 두 번째 PR: 컴포넌트 단위 설계 (#66) * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 * [FE] team-03브랜치에서 dev-FE로 최신화 (#14) * Feat: 프로젝트 초기 세팅 ref: #8 * [team-03][FE][쥬&도리] 1주차 첫 PR: 프로젝트 환경설정 및 설계 (#25) * [공통] Issues, PR templates 와 프로젝트 소개 README.md 추가 (#2) * Docs: 프로젝트 및 팀원 소개(readme.md) * Chore: Issues, PR templates 추가 ref: #1 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Docs: 팀원 수정 - 팀원 한 마디 추가 * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: Jwu <sju02048@naver.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> * [FE] MealContainer 레이아웃 작성 (#16) * Chore: vscode debugger .gitingore에추가 * Chore: axios 라이브러리 추가 * Feat: MealContainer - MealHeader - Carousel -> MealCard여러개 * Refactor: useMemo 삭제 * Chore: TODO 주석 작성 - 컴포넌트 분리 - stlye 코드 분리 - status 코드 * [FE] BestMealContainer 레이아웃 작성 (#18) * Chore: Prettier useTabs true로 수정 * Chore: axios 라이브러리 추가 * Feat: BestMealContainer 기본 레이아웃 Co-authored-by: YUNHO <kimyouknow@naver.com> * [FE] components단위로 파일 분리 (#20) * Refactor: App.jsx에서 BestMealContainer import수정 * Refactor: MealContainer에서 Loader와 MealCard 분리 * Chore: components 폴더 관리 * [FE] 페어 리팩토링 (#21) * Refactor: mockServerURL .env파일에서 관리 - constant폴더에서 관리 * Feat: setDefaultImage()함수 추가 - 인자로 image url을 받아서 false면 default이미지로 반환 * Chore: 폴더경로 상대경로에서 절대경로로 변경 - jsconfig.json파일 설정 Co-authored-by: YUNHO <kimyouknow@naver.com> Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> commit 1276077 Merge: e8eca13 68b6e96 Author: Louie <dhdustnr0134@naver.com> Date: Fri Apr 22 11:03:53 2022 +0900 Merge pull request #22 from Louie-03/BE-feature-GET_api_products_meal_type [BE] 특정 음식 타입 조회 기능 commit 68b6e96 Author: Louie <dhdustnr0134@naver.com> Date: Fri Apr 22 10:39:03 2022 +0900 Fix: DiscountPolicy NPE 문제 해결 - DiscountPolicy가 존재하지 않는 상품의 인수 테스트 추가 Co-authored-by: “ku-kim” <kukim.dev@gmail.com> commit 5335f2e Author: Louie <dhdustnr0134@naver.com> Date: Fri Apr 22 10:37:09 2022 +0900 Refactor: 계산 로직의 책임을 Product에서 DiscountPolicy로 위임 - 기존 Product의 계산 로직을 DiscountPolicy의 calculateFixedPrice 메서드로 옮겼다. Co-authored-by: “ku-kim” <kukim.dev@gmail.com> commit 1e27697 Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 17:47:25 2022 +0900 Feat: meal type으로 음식 조회가 되지 않는 경우 조회 실패 구현(404 NOT FOUND) commit db93682 Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 17:27:13 2022 +0900 Fix: Product 객체 fixedPrice 계산 로직 수정 - 기존 연산 괄호 실수 -> 올바르게 변경 - 테스트 코드 추가 commit 3b74382 Author: Louie <dhdustnr0134@naver.com> Date: Thu Apr 21 16:53:35 2022 +0900 Refactor: Entity와 Domain 객체 분리 - Entity를 Domain 객체로 변경해주는 DomainEntityMapper 구현 - 변경된 코드에 따른 테스트 코드 수정 Co-authored-by: “ku-kim” <kukim.dev@gmail.com> commit ca34b5a Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 15:17:09 2022 +0900 Feat: 특정 Products의 meal type 조회 기능의 리포지토리 구현 - 테스트 작성 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> commit 06cebb6 Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 15:15:29 2022 +0900 Feat: product, product_image, discount_policy 테이블 DDL과 더미데이터 생성, 테스트 환경 구분 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> commit feb2909 Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 09:32:59 2022 +0900 Refactor: Product <-> Response Dto 변환 위치를 컨트롤러에서 서비스로 변경 commit fc57090 Author: Jwu <sju02048@naver.com> Date: Wed Apr 20 21:07:11 2022 +0900 [team-03][FE][쥬&도리] 1주차 첫 PR: 프로젝트 환경설정 및 설계 (#25) * [공통] Issues, PR templates 와 프로젝트 소개 README.md 추가 (#2) * Docs: 프로젝트 및 팀원 소개(readme.md) * Chore: Issues, PR templates 추가 ref: #1 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Docs: 팀원 수정 - 팀원 한 마디 추가 * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> commit 4f385a1 Merge: a002511 e8eca13 Author: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Date: Wed Apr 20 18:29:42 2022 +0900 Merge pull request #20 from Louie-03/dev-BE [Team-03][BE] 쿠킴 & 루이 - 데이터베이스 설계, Mock API Server, 배포 아키텍처, 프로젝트 세팅 commit f4c13a4 Author: “kukim” <kukim.dev@gmail.com> Date: Wed Apr 20 17:32:01 2022 +0900 Feat: 특정 Products의 meal type 조회 기능의 서비스 구현 - 테스트 작성 commit 8e691b4 Author: “kukim” <kukim.dev@gmail.com> Date: Wed Apr 20 17:03:56 2022 +0900 Feat: 특정 Products의 meal type 조회 기능의 컨트롤러 구현 - API : GET /api/products?meal={value} - 컨트롤러 테스트 구현 - 서비스 계층은 Mock 처리 - Product 도메인 객체 생성 - ProductsDtoMapper 객체 생성 : Product 도메인 <-> ProductsMealTypeResponse 변환 commit b9873d0 Author: “kukim” <kukim.dev@gmail.com> Date: Wed Apr 20 15:57:24 2022 +0900 Test: 특정 Products의 meal type 조회 기능 테스트코드만 작성 - 인수 테스트 작성 commit e8eca13 Author: Louie <dhdustnr0134@naver.com> Date: Wed Apr 20 14:24:31 2022 +0900 Feat: 프로젝트 초기 세팅 ref: #8 Co-Authored-By: YUNHO <kimyouknow@naver.com> Co-Authored-By: Louie <dhdustnr0134@naver.com> Co-Authored-By: kukim <57086195+ku-kim@users.noreply.github.com> * [FE] Styled Component Best Header 부분 (#25) * Feat: 프로젝트 초기 세팅 ref: #8 * [team-03][FE][쥬&도리] 1주차 첫 PR: 프로젝트 환경설정 및 설계 (#25) * [공통] Issues, PR templates 와 프로젝트 소개 README.md 추가 (#2) * Docs: 프로젝트 및 팀원 소개(readme.md) * Chore: Issues, PR templates 추가 ref: #1 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Docs: 팀원 수정 - 팀원 한 마디 추가 * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Chore: env 추가 * Style: SVG 아이콘 추가 * Feat: theme 추가 * Style: 폰트 추가 * Style: 파일 이름 변경 * Design: BestMeal 헤더&네비게이션 Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> * [FE] PR 반영 및 styledCSS 수정 (#28) - 두 번째 PR 반영 - 코드 스타일 리팩토링 ref: #26 Co-authored-by: YUNHO <kimyouknow@naver.com> * [FE] 일반 Meal 컴포넌트 UI 구현 (#39) * Design: Meal Card styles.js 분리 * Design: 카드에 hover시 택배서비스 표시 * Design: MealConatiner 헤더 및 레이아웃 * Design: 캐러셀 컨테이너 - svg추가 * Chore: Card컨테이너에서 hover할 때 보여지는 배송정보 코드 상 위치 변경 - 컴포넌트 하단으로 빼기 * Build: mock servser url 환경변수로 관리 .env파일에서 관리하던 url을 각 로컬에서 관리하기 * Refactor: mock sever 403에러 일때 constant에 있는 mock데이터 사용 * Design: theme 세부속성 분해할당해서 접근 이전: theme -> theme.color 이후: theme: {color} -> color * Refactor: mealCard hover 속성 js변수에서 css로 제어 * Chore: 주석 정리 * [FE] Best 컴포넌트 구현 (#40) * Feat: 금액 toLocalString로 구분 * Feat: mock api -> mock data로 수정 - postman api 호출횟수 초과해서 로컬로 값 보내는 걸로 수정 * Design: Best 컴포넌트 추가 Co-authored-by: YUNHO <kimyouknow@naver.com> * [FE] 캐러셀 디자인, getCarouselDesign() (#48) * Design: App에서 Main 컴포넌트 분리 * Desgin: 캐러셀 디자인, getCarouselDesign() - getCarouselDesign: 이미지 사이즈, 이미지 개수에 따라 동적으로 UI 결정 * [FE] GNB Design 구현 (#49) * Style: 오타 수정 * Design: 글로벌스타일 button poiner 추가 * Design: Header Component 추가 - 헤더에 hover 시 레이아웃 나타나는 디자인 - 글씨, 아이콘 hover 디자인 - 전체적인 헤더 UI 디자인 * [FE] BestMealCard 컴포넌트와 MealCard 컴포넌트 통합 (#50) * Refactor: BestMeal Container mock데이터 분리 및 탭 변수 수정 - MOCK_DATA_JS -> MOCK_BEST_MEAT: 변수명 변경 및 contant로 이동 - BEST_SUBTITLE -> BEST_TAB_TYPE: 변수명 변경 및 api Params추가 - Tabs컴포넌트 BestMeals컴포넌트처럼 양식 통일 * Refactor: BestMealCard를 MealCard컴포넌트와 통일 - MealCard를 받을 때 이미지 사이즈 넘겨받기 * Feat: BestMeal에서 findTargetTab()함수 선택한 탭의 id를 인자로 받고 apiParams를 반환함. * Chore: Main위치 src/components -> src/pages * Chore: 메인 레이아웃 헤더 mainWidth설정 * Chore: 함수 선언식 -> arrow function * Design 캐러셀 양 옆 svg 스타일 수정 - border 없애기 - 크기 키움 * Fix: Main 경로 오타 수정 * Refactor: 호버창 컴포넌트 단위로 분리 * Refactor: state값 이용하지 않고 hover로 수정 * Design: 컴포넌트 간 간격 수정 * [FE] 컴포넌트 리팩토링 (#51) Refactor: 호버창 컴포넌트 단위로 분리 Refactor: state값 이용하지 않고 hover로 수정 Design: 컴포넌트 간 간격 수정 * Chore: 오타수정 * Chore: 충돌해결하면서 지우지 못한 폴더 삭제 - constant - util * Chore: reset.css 삭제 * [FE} 캐러셀 컴포넌트 구현 (#58) * Chore: mock server에서 실제서버url로 변경 * Feat: Carousel 구현 * Feat: Carousel 재사용성 고려해서 children을 밖에서 선언 * [FE] Custom Axios 작성 및 데이터 fetch 기능 (#59) * Style: API 변수이름 수정 * Fix: price 오타 수정 * Delete: PR 충돌 오류로 삭제 * Style: 여백 오타 수정 * Feat: useAxios 추가 * Design: 더보기 버튼 * Feat: 카테고리 더보기 * Design: 버튼 가운데 정렬 * Feat: 카테고리 추가 렌더링 버그 고쳐야함 * Feat: 추가 데이터 버튼 감추기 Co-authored-by: yunho <kimyouknow@naver.com> Co-authored-by: Jwu <sju02048@naver.com> * [FE] team-03브랜치에서 dev-FE로 최신화 * [FE] Deatil 페이지 및 OAuth 테스트용 뷰 추가 (#63) * Design: CSS 스타일 변경 * Refactor: 유틸함수 따로 관리 * Feat: 세부정보(detail) 페이지 * Refactor: useAxios response state 수정 * Design: OAuth 테스트용 추가 * Squashed commit of the following: commit 274e734 Merge: 43ee842 3bc6667 Author: sju02048 <sju02048@naver.com> Date: Fri Apr 29 12:10:31 2022 +0900 Merge branch 'team-03' of https://github.com/Louie-03/sidedish into team-03 commit 3bc6667 Author: Jwu <sju02048@naver.com> Date: Fri Apr 29 11:40:04 2022 +0900 Revert "[FE] Deatil 페이지 및 OAuth 테스트용 뷰 추가 (#61)" (#62) This reverts commit 2baf578. commit 2baf578 Author: Jwu <sju02048@naver.com> Date: Fri Apr 29 11:38:13 2022 +0900 [FE] Deatil 페이지 및 OAuth 테스트용 뷰 추가 (#61) * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 * [FE] team-03브랜치에서 dev-FE로 최신화 (#14) * Feat: 프로젝트 초기 세팅 ref: #8 * [team-03][FE][쥬&도리] 1주차 첫 PR: 프로젝트 환경설정 및 설계 (#25) * [공통] Issues, PR templates 와 프로젝트 소개 README.md 추가 (#2) * Docs: 프로젝트 및 팀원 소개(readme.md) * Chore: Issues, PR templates 추가 ref: #1 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Docs: 팀원 수정 - 팀원 한 마디 추가 * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: Jwu <sju02048@naver.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> * [FE] MealContainer 레이아웃 작성 (#16) * Chore: vscode debugger .gitingore에추가 * Chore: axios 라이브러리 추가 * Feat: MealContainer - MealHeader - Carousel -> MealCard여러개 * Refactor: useMemo 삭제 * Chore: TODO 주석 작성 - 컴포넌트 분리 - stlye 코드 분리 - status 코드 * [FE] BestMealContainer 레이아웃 작성 (#18) * Chore: Prettier useTabs true로 수정 * Chore: axios 라이브러리 추가 * Feat: BestMealContainer 기본 레이아웃 Co-authored-by: YUNHO <kimyouknow@naver.com> * [FE] components단위로 파일 분리 (#20) * Refactor: App.jsx에서 BestMealContainer import수정 * Refactor: MealContainer에서 Loader와 MealCard 분리 * Chore: components 폴더 관리 * [FE] 페어 리팩토링 (#21) * Refactor: mockServerURL .env파일에서 관리 - constant폴더에서 관리 * Feat: setDefaultImage()함수 추가 - 인자로 image url을 받아서 false면 default이미지로 반환 * Chore: 폴더경로 상대경로에서 절대경로로 변경 - jsconfig.json파일 설정 * [FE] team-03브랜치에서 dev-FE로 최신화 commit a773a14 Merge: 2bc424b 1276077 Author: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Date: Sun Apr 24 22:54:48 2022 +0900 Merge pull request #59 from Louie-03/dev-BE [Team-03][BE][루이&쿠킴] - 특정 음식 타입 조회 기능 commit 2bc424b Author: Jwu <sju02048@naver.com> Date: Sun Apr 24 17:06:36 2022 +0900 [team-03][FE][쥬&도리] 1주차 두 번째 PR: 컴포넌트 단위 설계 (#66) * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 * [FE] team-03브랜치에서 dev-FE로 최신화 (#14) * Feat: 프로젝트 초기 세팅 ref: #8 * [team-03][FE][쥬&도리] 1주차 첫 PR: 프로젝트 환경설정 및 설계 (#25) * [공통] Issues, PR templates 와 프로젝트 소개 README.md 추가 (#2) * Docs: 프로젝트 및 팀원 소개(readme.md) * Chore: Issues, PR templates 추가 ref: #1 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Docs: 팀원 수정 - 팀원 한 마디 추가 * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: Jwu <sju02048@naver.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> * [FE] MealContainer 레이아웃 작성 (#16) * Chore: vscode debugger .gitingore에추가 * Chore: axios 라이브러리 추가 * Feat: MealContainer - MealHeader - Carousel -> MealCard여러개 * Refactor: useMemo 삭제 * Chore: TODO 주석 작성 - 컴포넌트 분리 - stlye 코드 분리 - status 코드 * [FE] BestMealContainer 레이아웃 작성 (#18) * Chore: Prettier useTabs true로 수정 * Chore: axios 라이브러리 추가 * Feat: BestMealContainer 기본 레이아웃 Co-authored-by: YUNHO <kimyouknow@naver.com> * [FE] components단위로 파일 분리 (#20) * Refactor: App.jsx에서 BestMealContainer import수정 * Refactor: MealContainer에서 Loader와 MealCard 분리 * Chore: components 폴더 관리 * [FE] 페어 리팩토링 (#21) * Refactor: mockServerURL .env파일에서 관리 - constant폴더에서 관리 * Feat: setDefaultImage()함수 추가 - 인자로 image url을 받아서 false면 default이미지로 반환 * Chore: 폴더경로 상대경로에서 절대경로로 변경 - jsconfig.json파일 설정 Co-authored-by: YUNHO <kimyouknow@naver.com> Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> commit 1276077 Merge: e8eca13 68b6e96 Author: Louie <dhdustnr0134@naver.com> Date: Fri Apr 22 11:03:53 2022 +0900 Merge pull request #22 from Louie-03/BE-feature-GET_api_products_meal_type [BE] 특정 음식 타입 조회 기능 commit 68b6e96 Author: Louie <dhdustnr0134@naver.com> Date: Fri Apr 22 10:39:03 2022 +0900 Fix: DiscountPolicy NPE 문제 해결 - DiscountPolicy가 존재하지 않는 상품의 인수 테스트 추가 Co-authored-by: “ku-kim” <kukim.dev@gmail.com> commit 5335f2e Author: Louie <dhdustnr0134@naver.com> Date: Fri Apr 22 10:37:09 2022 +0900 Refactor: 계산 로직의 책임을 Product에서 DiscountPolicy로 위임 - 기존 Product의 계산 로직을 DiscountPolicy의 calculateFixedPrice 메서드로 옮겼다. Co-authored-by: “ku-kim” <kukim.dev@gmail.com> commit 1e27697 Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 17:47:25 2022 +0900 Feat: meal type으로 음식 조회가 되지 않는 경우 조회 실패 구현(404 NOT FOUND) commit db93682 Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 17:27:13 2022 +0900 Fix: Product 객체 fixedPrice 계산 로직 수정 - 기존 연산 괄호 실수 -> 올바르게 변경 - 테스트 코드 추가 commit 3b74382 Author: Louie <dhdustnr0134@naver.com> Date: Thu Apr 21 16:53:35 2022 +0900 Refactor: Entity와 Domain 객체 분리 - Entity를 Domain 객체로 변경해주는 DomainEntityMapper 구현 - 변경된 코드에 따른 테스트 코드 수정 Co-authored-by: “ku-kim” <kukim.dev@gmail.com> commit ca34b5a Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 15:17:09 2022 +0900 Feat: 특정 Products의 meal type 조회 기능의 리포지토리 구현 - 테스트 작성 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> commit 06cebb6 Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 15:15:29 2022 +0900 Feat: product, product_image, discount_policy 테이블 DDL과 더미데이터 생성, 테스트 환경 구분 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> commit feb2909 Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 09:32:59 2022 +0900 Refactor: Product <-> Response Dto 변환 위치를 컨트롤러에서 서비스로 변경 commit fc57090 Author: Jwu <sju02048@naver.com> Date: Wed Apr 20 21:07:11 2022 +0900 [team-03][FE][쥬&도리] 1주차 첫 PR: 프로젝트 환경설정 및 설계 (#25) * [공통] Issues, PR templates 와 프로젝트 소개 README.md 추가 (#2) * Docs: 프로젝트 및 팀원 소개(readme.md) * Chore: Issues, PR templates 추가 ref: #1 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Docs: 팀원 수정 - 팀원 한 마디 추가 * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> commit 4f385a1 Merge: a002511 e8eca13 Author: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Date: Wed Apr 20 18:29:42 2022 +0900 Merge pull request #20 from Louie-03/dev-BE [Team-03][BE] 쿠킴 & 루이 - 데이터베이스 설계, Mock API Server, 배포 아키텍처, 프로젝트 세팅 commit f4c13a4 Author: “kukim” <kukim.dev@gmail.com> Date: Wed Apr 20 17:32:01 2022 +0900 Feat: 특정 Products의 meal type 조회 기능의 서비스 구현 - 테스트 작성 commit 8e691b4 Author: “kukim” <kukim.dev@gmail.com> Date: Wed Apr 20 17:03:56 2022 +0900 Feat: 특정 Products의 meal type 조회 기능의 컨트롤러 구현 - API : GET /api/products?meal={value} - 컨트롤러 테스트 구현 - 서비스 계층은 Mock 처리 - Product 도메인 객체 생성 - ProductsDtoMapper 객체 생성 : Product 도메인 <-> ProductsMealTypeResponse 변환 commit b9873d0 Author: “kukim” <kukim.dev@gmail.com> Date: Wed Apr 20 15:57:24 2022 +0900 Test: 특정 Products의 meal type 조회 기능 테스트코드만 작성 - 인수 테스트 작성 commit e8eca13 Author: Louie <dhdustnr0134@naver.com> Date: Wed Apr 20 14:24:31 2022 +0900 Feat: 프로젝트 초기 세팅 ref: #8 Co-Authored-By: YUNHO <kimyouknow@naver.com> Co-Authored-By: Louie <dhdustnr0134@naver.com> Co-Authored-By: kukim <57086195+ku-kim@users.noreply.github.com> * [FE] Styled Component Best Header 부분 (#25) * Feat: 프로젝트 초기 세팅 ref: #8 * [team-03][FE][쥬&도리] 1주차 첫 PR: 프로젝트 환경설정 및 설계 (#25) * [공통] Issues, PR templates 와 프로젝트 소개 README.md 추가 (#2) * Docs: 프로젝트 및 팀원 소개(readme.md) * Chore: Issues, PR templates 추가 ref: #1 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Docs: 팀원 수정 - 팀원 한 마디 추가 * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Chore: env 추가 * Style: SVG 아이콘 추가 * Feat: theme 추가 * Style: 폰트 추가 * Style: 파일 이름 변경 * Design: BestMeal 헤더&네비게이션 Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> * [FE] PR 반영 및 styledCSS 수정 (#28) - 두 번째 PR 반영 - 코드 스타일 리팩토링 ref: #26 Co-authored-by: YUNHO <kimyouknow@naver.com> * [FE] 일반 Meal 컴포넌트 UI 구현 (#39) * Design: Meal Card styles.js 분리 * Design: 카드에 hover시 택배서비스 표시 * Design: MealConatiner 헤더 및 레이아웃 * Design: 캐러셀 컨테이너 - svg추가 * Chore: Card컨테이너에서 hover할 때 보여지는 배송정보 코드 상 위치 변경 - 컴포넌트 하단으로 빼기 * Build: mock servser url 환경변수로 관리 .env파일에서 관리하던 url을 각 로컬에서 관리하기 * Refactor: mock sever 403에러 일때 constant에 있는 mock데이터 사용 * Design: theme 세부속성 분해할당해서 접근 이전: theme -> theme.color 이후: theme: {color} -> color * Refactor: mealCard hover 속성 js변수에서 css로 제어 * Chore: 주석 정리 * [FE] Best 컴포넌트 구현 (#40) * Feat: 금액 toLocalString로 구분 * Feat: mock api -> mock data로 수정 - postman api 호출횟수 초과해서 로컬로 값 보내는 걸로 수정 * Design: Best 컴포넌트 추가 Co-authored-by: YUNHO <kimyouknow@naver.com> * [FE] 캐러셀 디자인, getCarouselDesign() (#48) * Design: App에서 Main 컴포넌트 분리 * Desgin: 캐러셀 디자인, getCarouselDesign() - getCarouselDesign: 이미지 사이즈, 이미지 개수에 따라 동적으로 UI 결정 * [FE] GNB Design 구현 (#49) * Style: 오타 수정 * Design: 글로벌스타일 button poiner 추가 * Design: Header Component 추가 - 헤더에 hover 시 레이아웃 나타나는 디자인 - 글씨, 아이콘 hover 디자인 - 전체적인 헤더 UI 디자인 * [FE] BestMealCard 컴포넌트와 MealCard 컴포넌트 통합 (#50) * Refactor: BestMeal Container mock데이터 분리 및 탭 변수 수정 - MOCK_DATA_JS -> MOCK_BEST_MEAT: 변수명 변경 및 contant로 이동 - BEST_SUBTITLE -> BEST_TAB_TYPE: 변수명 변경 및 api Params추가 - Tabs컴포넌트 BestMeals컴포넌트처럼 양식 통일 * Refactor: BestMealCard를 MealCard컴포넌트와 통일 - MealCard를 받을 때 이미지 사이즈 넘겨받기 * Feat: BestMeal에서 findTargetTab()함수 선택한 탭의 id를 인자로 받고 apiParams를 반환함. * Chore: Main위치 src/components -> src/pages * Chore: 메인 레이아웃 헤더 mainWidth설정 * Chore: 함수 선언식 -> arrow function * Design 캐러셀 양 옆 svg 스타일 수정 - border 없애기 - 크기 키움 * Fix: Main 경로 오타 수정 * Refactor: 호버창 컴포넌트 단위로 분리 * Refactor: state값 이용하지 않고 hover로 수정 * Design: 컴포넌트 간 간격 수정 * [FE] 컴포넌트 리팩토링 (#51) Refactor: 호버창 컴포넌트 단위로 분리 Refactor: state값 이용하지 않고 hover로 수정 Design: 컴포넌트 간 간격 수정 * Chore: 오타수정 * Chore: 충돌해결하면서 지우지 못한 폴더 삭제 - constant - util * Chore: reset.css 삭제 * [FE} 캐러셀 컴포넌트 구현 (#58) * Chore: mock server에서 실제서버url로 변경 * Feat: Carousel 구현 * Feat: Carousel 재사용성 고려해서 children을 밖에서 선언 * [FE] Custom Axios 작성 및 데이터 fetch 기능 (#59) * Style: API 변수이름 수정 * Fix: price 오타 수정 * Delete: PR 충돌 오류로 삭제 * Style: 여백 오타 수정 * Feat: useAxios 추가 * Design: 더보기 버튼 * Feat: 카테고리 더보기 * Design: 버튼 가운데 정렬 * Feat: 카테고리 추가 렌더링 버그 고쳐야함 * Feat: 추가 데이터 버튼 감추기 Co-authored-by: yunho <kimyouknow@naver.com> Co-authored-by: Jwu <sju02048@naver.com> * Design: CSS 스타일 변경 * Refactor: 유틸함수 따로 관리 * Feat: 세부정보(detail) 페이지 * Refactor: useAxios response state 수정 * Design: OAuth 테스트용 추가 Co-authored-by: YUNHO <kimyouknow@naver.com> Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> commit 43ee842 Author: Jwu <sju02048@naver.com> Date: Fri Apr 29 01:12:56 2022 +0900 [team-03][FE][쥬&도리] 2주차 첫 번째: 컴포넌트 구현 (#143) * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 * [FE] team-03브랜치에서 dev-FE로 최신화 (#14) * Feat: 프로젝트 초기 세팅 ref: #8 * [team-03][FE][쥬&도리] 1주차 첫 PR: 프로젝트 환경설정 및 설계 (#25) * [공통] Issues, PR templates 와 프로젝트 소개 README.md 추가 (#2) * Docs: 프로젝트 및 팀원 소개(readme.md) * Chore: Issues, PR templates 추가 ref: #1 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Docs: 팀원 수정 - 팀원 한 마디 추가 * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: Jwu <sju02048@naver.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> * [FE] MealContainer 레이아웃 작성 (#16) * Chore: vscode debugger .gitingore에추가 * Chore: axios 라이브러리 추가 * Feat: MealContainer - MealHeader - Carousel -> MealCard여러개 * Refactor: useMemo 삭제 * Chore: TODO 주석 작성 - 컴포넌트 분리 - stlye 코드 분리 - status 코드 * [FE] BestMealContainer 레이아웃 작성 (#18) * Chore: Prettier useTabs true로 수정 * Chore: axios 라이브러리 추가 * Feat: BestMealContainer 기본 레이아웃 Co-authored-by: YUNHO <kimyouknow@naver.com> * [FE] components단위로 파일 분리 (#20) * Refactor: App.jsx에서 BestMealContainer import수정 * Refactor: MealContainer에서 Loader와 MealCard 분리 * Chore: components 폴더 관리 * [FE] 페어 리팩토링 (#21) * Refactor: mockServerURL .env파일에서 관리 - constant폴더에서 관리 * Feat: setDefaultImage()함수 추가 - 인자로 image url을 받아서 false면 default이미지로 반환 * Chore: 폴더경로 상대경로에서 절대경로로 변경 - jsconfig.json파일 설정 * [FE] team-03브랜치에서 dev-FE로 최신화 commit a773a14 Merge: 2bc424b 1276077 Author: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Date: Sun Apr 24 22:54:48 2022 +0900 Merge pull request #59 from Louie-03/dev-BE [Team-03][BE][루이&쿠킴] - 특정 음식 타입 조회 기능 commit 2bc424b Author: Jwu <sju02048@naver.com> Date: Sun Apr 24 17:06:36 2022 +0900 [team-03][FE][쥬&도리] 1주차 두 번째 PR: 컴포넌트 단위 설계 (#66) * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 * [FE] team-03브랜치에서 dev-FE로 최신화 (#14) * Feat: 프로젝트 초기 세팅 ref: #8 * [team-03][FE][쥬&도리] 1주차 첫 PR: 프로젝트 환경설정 및 설계 (#25) * [공통] Issues, PR templates 와 프로젝트 소개 README.md 추가 (#2) * Docs: 프로젝트 및 팀원 소개(readme.md) * Chore: Issues, PR templates 추가 ref: #1 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Docs: 팀원 수정 - 팀원 한 마디 추가 * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: Jwu <sju02048@naver.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> * [FE] MealContainer 레이아웃 작성 (#16) * Chore: vscode debugger .gitingore에추가 * Chore: axios 라이브러리 추가 * Feat: MealContainer - MealHeader - Carousel -> MealCard여러개 * Refactor: useMemo 삭제 * Chore: TODO 주석 작성 - 컴포넌트 분리 - stlye 코드 분리 - status 코드 * [FE] BestMealContainer 레이아웃 작성 (#18) * Chore: Prettier useTabs true로 수정 * Chore: axios 라이브러리 추가 * Feat: BestMealContainer 기본 레이아웃 Co-authored-by: YUNHO <kimyouknow@naver.com> * [FE] components단위로 파일 분리 (#20) * Refactor: App.jsx에서 BestMealContainer import수정 * Refactor: MealContainer에서 Loader와 MealCard 분리 * Chore: components 폴더 관리 * [FE] 페어 리팩토링 (#21) * Refactor: mockServerURL .env파일에서 관리 - constant폴더에서 관리 * Feat: setDefaultImage()함수 추가 - 인자로 image url을 받아서 false면 default이미지로 반환 * Chore: 폴더경로 상대경로에서 절대경로로 변경 - jsconfig.json파일 설정 Co-authored-by: YUNHO <kimyouknow@naver.com> Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> commit 1276077 Merge: e8eca13 68b6e96 Author: Louie <dhdustnr0134@naver.com> Date: Fri Apr 22 11:03:53 2022 +0900 Merge pull request #22 from Louie-03/BE-feature-GET_api_products_meal_type [BE] 특정 음식 타입 조회 기능 commit 68b6e96 Author: Louie <dhdustnr0134@naver.com> Date: Fri Apr 22 10:39:03 2022 +0900 Fix: DiscountPolicy NPE 문제 해결 - DiscountPolicy가 존재하지 않는 상품의 인수 테스트 추가 Co-authored-by: “ku-kim” <kukim.dev@gmail.com> commit 5335f2e Author: Louie <dhdustnr0134@naver.com> Date: Fri Apr 22 10:37:09 2022 +0900 Refactor: 계산 로직의 책임을 Product에서 DiscountPolicy로 위임 - 기존 Product의 계산 로직을 DiscountPolicy의 calculateFixedPrice 메서드로 옮겼다. Co-authored-by: “ku-kim” <kukim.dev@gmail.com> commit 1e27697 Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 17:47:25 2022 +0900 Feat: meal type으로 음식 조회가 되지 않는 경우 조회 실패 구현(404 NOT FOUND) commit db93682 Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 17:27:13 2022 +0900 Fix: Product 객체 fixedPrice 계산 로직 수정 - 기존 연산 괄호 실수 -> 올바르게 변경 - 테스트 코드 추가 commit 3b74382 Author: Louie <dhdustnr0134@naver.com> Date: Thu Apr 21 16:53:35 2022 +0900 Refactor: Entity와 Domain 객체 분리 - Entity를 Domain 객체로 변경해주는 DomainEntityMapper 구현 - 변경된 코드에 따른 테스트 코드 수정 Co-authored-by: “ku-kim” <kukim.dev@gmail.com> commit ca34b5a Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 15:17:09 2022 +0900 Feat: 특정 Products의 meal type 조회 기능의 리포지토리 구현 - 테스트 작성 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> commit 06cebb6 Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 15:15:29 2022 +0900 Feat: product, product_image, discount_policy 테이블 DDL과 더미데이터 생성, 테스트 환경 구분 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> commit feb2909 Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 21 09:32:59 2022 +0900 Refactor: Product <-> Response Dto 변환 위치를 컨트롤러에서 서비스로 변경 commit fc57090 Author: Jwu <sju02048@naver.com> Date: Wed Apr 20 21:07:11 2022 +0900 [team-03][FE][쥬&도리] 1주차 첫 PR: 프로젝트 환경설정 및 설계 (#25) * [공통] Issues, PR templates 와 프로젝트 소개 README.md 추가 (#2) * Docs: 프로젝트 및 팀원 소개(readme.md) * Chore: Issues, PR templates 추가 ref: #1 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Docs: 팀원 수정 - 팀원 한 마디 추가 * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> commit 4f385a1 Merge: a002511 e8eca13 Author: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Date: Wed Apr 20 18:29:42 2022 +0900 Merge pull request #20 from Louie-03/dev-BE [Team-03][BE] 쿠킴 & 루이 - 데이터베이스 설계, Mock API Server, 배포 아키텍처, 프로젝트 세팅 commit f4c13a4 Author: “kukim” <kukim.dev@gmail.com> Date: Wed Apr 20 17:32:01 2022 +0900 Feat: 특정 Products의 meal type 조회 기능의 서비스 구현 - 테스트 작성 commit 8e691b4 Author: “kukim” <kukim.dev@gmail.com> Date: Wed Apr 20 17:03:56 2022 +0900 Feat: 특정 Products의 meal type 조회 기능의 컨트롤러 구현 - API : GET /api/products?meal={value} - 컨트롤러 테스트 구현 - 서비스 계층은 Mock 처리 - Product 도메인 객체 생성 - ProductsDtoMapper 객체 생성 : Product 도메인 <-> ProductsMealTypeResponse 변환 commit b9873d0 Author: “kukim” <kukim.dev@gmail.com> Date: Wed Apr 20 15:57:24 2022 +0900 Test: 특정 Products의 meal type 조회 기능 테스트코드만 작성 - 인수 테스트 작성 commit e8eca13 Author: Louie <dhdustnr0134@naver.com> Date: Wed Apr 20 14:24:31 2022 +0900 Feat: 프로젝트 초기 세팅 ref: #8 Co-Authored-By: YUNHO <kimyouknow@naver.com> Co-Authored-By: Louie <dhdustnr0134@naver.com> Co-Authored-By: kukim <57086195+ku-kim@users.noreply.github.com> * [FE] Styled Component Best Header 부분 (#25) * Feat: 프로젝트 초기 세팅 ref: #8 * [team-03][FE][쥬&도리] 1주차 첫 PR: 프로젝트 환경설정 및 설계 (#25) * [공통] Issues, PR templates 와 프로젝트 소개 README.md 추가 (#2) * Docs: 프로젝트 및 팀원 소개(readme.md) * Chore: Issues, PR templates 추가 ref: #1 Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Docs: 팀원 수정 - 팀원 한 마디 추가 * Chore: 초기개발환경 Chore: CRA 초기구성 Chore: eslint 구성 Chore: prettier 구성 * Style: App.js -> jsx 수정 Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> Co-authored-by: “Louie-03” <dhdustnr0134@naver.com> * Chore: env 추가 * Style: SVG 아이콘 추가 * Feat: theme 추가 * Style: 폰트 추가 * Style: 파일 이름 변경 * Design: BestMeal 헤더&네비게이션 Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> * [FE] PR 반영 및 styledCSS 수정 (#28) - 두 번째 PR 반영 - 코드 스타일 리팩토링 ref: #26 Co-authored-by: YUNHO <kimyouknow@naver.com> * [FE] 일반 Meal 컴포넌트 UI 구현 (#39) * Design: Meal Card styles.js 분리 * Design: 카드에 hover시 택배서비스 표시 * Design: MealConatiner 헤더 및 레이아웃 * Design: 캐러셀 컨테이너 - svg추가 * Chore: Card컨테이너에서 hover할 때 보여지는 배송정보 코드 상 위치 변경 - 컴포넌트 하단으로 빼기 * Build: mock servser url 환경변수로 관리 .env파일에서 관리하던 url을 각 로컬에서 관리하기 * Refactor: mock sever 403에러 일때 constant에 있는 mock데이터 사용 * Design: theme 세부속성 분해할당해서 접근 이전: theme -> theme.color 이후: theme: {color} -> color * Refactor: mealCard hover 속성 js변수에서 css로 제어 * Chore: 주석 정리 * [FE] Best 컴포넌트 구현 (#40) * Feat: 금액 toLocalString로 구분 * Feat: mock api -> mock data로 수정 - postman api 호출횟수 초과해서 로컬로 값 보내는 걸로 수정 * Design: Best 컴포넌트 추가 Co-authored-by: YUNHO <kimyouknow@naver.com> * [FE] 캐러셀 디자인, getCarouselDesign() (#48) * Design: App에서 Main 컴포넌트 분리 * Desgin: 캐러셀 디자인, getCarouselDesign() - getCarouselDesign: 이미지 사이즈, 이미지 개수에 따라 동적으로 UI 결정 * [FE] GNB Design 구현 (#49) * Style: 오타 수정 * Design: 글로벌스타일 button poiner 추가 * Design: Header Component 추가 - 헤더에 hover 시 레이아웃 나타나는 디자인 - 글씨, 아이콘 hover 디자인 - 전체적인 헤더 UI 디자인 * [FE] BestMealCard 컴포넌트와 MealCard 컴포넌트 통합 (#50) * Refactor: BestMeal Container mock데이터 분리 및 탭 변수 수정 - MOCK_DATA_JS -> MOCK_BEST_MEAT: 변수명 변경 및 contant로 이동 - BEST_SUBTITLE -> BEST_TAB_TYPE: 변수명 변경 및 api Params추가 - Tabs컴포넌트 BestMeals컴포넌트처럼 양식 통일 * Refactor: BestMealCard를 MealCard컴포넌트와 통일 - MealCard를 받을 때 이미지 사이즈 넘겨받기 * Feat: BestMeal에서 findTargetTab()함수 선택한 탭의 id를 인자로 받고 apiParams를 반환함. * Chore: Main위치 src/components -> src/pages * Chore: 메인 레이아웃 헤더 mainWidth설정 * Chore: 함수 선언식 -> arrow function * Design 캐러셀 양 옆 svg 스타일 수정 - border 없애기 - 크기 키움 * Fix: Main 경로 오타 수정 * Refactor: 호버창 컴포넌트 단위로 분리 * Refactor: state값 이용하지 않고 hover로 수정 * Design: 컴포넌트 간 간격 수정 * [FE] 컴포넌트 리팩토링 (#51) Refactor: 호버창 컴포넌트 단위로 분리 Refactor: state값 이용하지 않고 hover로 수정 Design: 컴포넌트 간 간격 수정 * Chore: 오타수정 * Chore: 충돌해결하면서 지우지 못한 폴더 삭제 - constant - util * Chore: reset.css 삭제 * [FE} 캐러셀 컴포넌트 구현 (#58) * Chore: mock server에서 실제서버url로 변경 * Feat: Carousel 구현 * Feat: Carousel 재사용성 고려해서 children을 밖에서 선언 * [FE] Custom Axios 작성 및 데이터 fetch 기능 (#59) * Style: API 변수이름 수정 * Fix: price 오타 수정 * Delete: PR 충돌 오류로 삭제 * Style: 여백 오타 수정 * Feat: useAxios 추가 * Design: 더보기 버튼 * Feat: 카테고리 더보기 * Design: 버튼 가운데 정렬 * Feat: 카테고리 추가 렌더링 버그 고쳐야함 * Feat: 추가 데이터 버튼 감추기 Co-authored-by: yunho <kimyouknow@naver.com> Co-authored-by: Jwu <sju02048@naver.com> Co-authored-by: YUNHO <kimyouknow@naver.com> Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com> commit e00348e Merge: a773a14 97dd386 Author: kukim <57086195+ku-kim@users.noreply.github.com> Date: Thu Apr 28 14:20:36 2022 +0900 Merge pull request #135 from Louie-03/dev-BE [Team-03][BE][루이&쿠킴] - 로그인 제외한 모든 API 기능 구현, 배포 commit 97dd386 Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 28 11:54:59 2022 +0900 Chore: 운영 DB 더미데이터 추가 commit d84f4a6 Author: Louie <dhdustnr0134@naver.com> Date: Thu Apr 28 11:45:23 2022 +0900 Feat: 주문 실패 시 현재 재고 수량을 반환해주도록 GlobalExceptionHandler 구현 - 인수 테스트 작성 commit ecac1da Author: “kukim” <kukim.dev@gmail.com> Date: Thu Apr 28 10:43:13 2022 +0900 Refactor: PR 리뷰 피드백 적용(오타, 사용하지 않는 코드제거(Valid), Long -> long 타입 변환) commit b3cb1eb Merge: 05b9d52 dc7383d Author: Louie <dhdustnr0134@naver.com> Date: Wed Apr 27 16:58:07 2022 +0900 Merge pull request #55 from Louie-03/BE-feature-remove_id_field [BE] 도메인 객체의 불필요한 id 필드 제거 commit dc7383d Author: seok <dhdustnr0134@naver.com> Date: Wed Apr 27 16:45:42 2022 +0900 Refactor: 도메인 객체의 불필요한 id 필드 제거 commit 05b9d52 Merge: 947bdca c8826e0 Author: Louie <dhdustnr0134@naver.com> Date: Wed Apr 27 16:20:40 2022 +0900 Merge pull request #53 from Louie-03/BE-feature-cors_bug_fix [BE] 도메인 설정으로 CORS 문제 해결 commit c8826e0 Author: seok <dhdustnr0134@naver.com> Date: Wed Apr 27 16:17:00 2022 +0900 Fix: 도메인 설정으로 인한 CORS 문제 해결 commit 947bdca Merge: 3375244 921e065 Author: kukim <57086195+ku-kim@users.noreply.github.com> Date: Tue Apr 26 16:20:37 2022 +0900 Merge pull request #43 from Louie-03/BE-feature-POST_products_order [BE] 특정 상품 주문 기능 구현 commit 921e065 Author: seok <dhdustnr0134@naver.com> Date: Tue Apr 26 16:13:35 2022 +0900 Fix: Spring Data Jdbc에서 save 메서드를 통해서 update 할 때 PK를 List의 index 값으로 입력되는 오류 수정 update 쿼리를 직접 작성해서 사용하는 방식으로 해당 문제를 해결했습니다. commit 3375244 Merge: b8753ad b67ecc9 Author: Louie <dhdustnr0134@naver.com> Date: Tue Apr 26 15:54:25 2022 +0900 Merge pull request #41 from Louie-03/BE-feature-CORS [BE] CORS 기능 추가 (시스템 환경변수 활용) commit b67ecc9 Author: “kukim” <kukim.dev@gmail.com> Date: Tue Apr 26 15:34:49 2022 +0900 Feat: CORS 기능 추가 (시스템 환경변수 활용하여 LOCAL_IP, AWS_IP 추가) - 환경변수로 LOCAl_IP, AWS_IP 추가해야함 commit d5c67f6 Author: seok <dhdustnr0134@naver.com> Date: Tue Apr 26 15:03:27 2022 +0900 Feat: 특정 상품 주문하기의 RequestBody 검증 구현 - 만약 count가 음수라면 400(Bad Request) 상태코드를 반환한다. commit b7fcfef Author: seok <dhdustnr0134@naver.com> Date: Tue Apr 26 14:41:26 2022 +0900 Feat: 특정 상품 주문하기 기능 구현 - 서비스, 리파지토리 계층에 특정 상품 주문하기와 관련된 로직 구현 - Response 전용 객체인 OrderSaveResponse 구현 commit 825fb39 Author: seok <dhdustnr0134@naver.com> Date: Tue Apr 26 14:32:37 2022 +0900 Feat: 도메인 객체에 id 필드 추가 - 특정 상품 주문 시 엔티티를 도메인 객체로 변경하는 과정에서 id가 사라지는 문제가 발생했습니다. - 해당 문제를 해결하기 위해 도메인 객체에 id 필드를 추가했습니다. commit 95511a7 Author: seok <dhdustnr0134@naver.com> Date: Tue Apr 26 13:20:36 2022 +0900 Style: ProductsDtoMapper의 클래스명, 메서드명 변경 - ProductsDtoMapper 클래스의 이름을 DomainDtoMapper로 변경 - DomainDtoMapper에서 두개의 도메인 객체를 참조하기 때문에 메서드명에 사용되었던 Domain이라는 단어를 실제 도메인 객체 이름으로 변경했습니다. commit 5ff762d Author: seok <dhdustnr0134@naver.com> Date: Tue Apr 26 13:15:43 2022 +0900 Feat: OrderEntity 구현 commit 6543cb6 Author: seok <dhdustnr0134@naver.com> Date: Tue Apr 26 13:14:09 2022 +0900 Feat: Product 클래스에 재고 수량 차감 로직 구현 - 만약 주문 개수보다 재고 수량이 부족하다면 NotEnoughStockQuantityException이 발생한다. commit 0fdbb79 Author: seok <dhdustnr0134@naver.com> Date: Tue Apr 26 13:11:18 2022 +0900 Feat: Order 도메인 객체 구현 - totalPrice를 계산하는 calculateTotalPrice() 구현 - deliveryPrice를 계산하는 calculateDeliveryPrice() 구현 commit c20b925 Author: seok <dhdustnr0134@naver.com> Date: Tue Apr 26 13:06:34 2022 +0900 Feat: orders 테이블 스키마 작성 commit b8753ad Merge: a763171 9f62389 Author: kukim <57086195+ku-kim@users.noreply.github.com> Date: Tue Apr 26 12:52:20 2022 +0900 Merge pull request #38 from Louie-03/BE-feature-GET_api_products_recommendation [BE] 배포/개발 환경 application 분리 commit 9f62389 Author: “kukim” <kukim.dev@gmail.com> Date: Tue Apr 26 12:47:29 2022 +0900 Build: 배포/개발 환경 분리 application 프로파일 설정 - 환경변수 설정 commit 401b9ad Author: Louie <dhdustnr0134@naver.com> Date: Tue Apr 26 00:38:58 2022 +0900 Feat: 특정 음식 주문하기 기능의 컨트롤러 구현 - Product 테이블과 객체에 stock_quantity 필드 추가 - stock_quantity 샘플 데이터 추가 - 컨트롤러 테스트 구현 commit a763171 Merge: 52dd9da 1541eb2 Author: kukim <57086195+ku-kim@users.noreply.github.com> Date: Mon Apr 25 21:02:47 2022 +0900 Merge pull request #36 from Louie-03/BE-feature-GET_products_best_category [BE] 특정 카테고리의 베스트 음식 조회 기능 구현 commit 1541eb2 Author: Louie <dhdustnr0134@naver.com> Date: Mon Apr 25 19:20:06 2022 +0900 Feat: 특정 베스트 카테고리 음식 조회 기능 구현 특정 베스트 카테고리 음식 조회 기능 인수테스트 작성 특정 베스트 카테고리 음식 조회 기능 리파지토리 테스트 작성 @repository 어노테이션 제거 discountRate 자료형 float에서 long으로 변경 validProducts 메서드 이름 validateProducts로 이름 변경 commit 9882c4a Author: Louie <dhdustnr0134@naver.com> Date: Mon Apr 25 15:34:35 2022 +0900 Feat: 특정 베스트 음식 카테고리 조회 기능의 컨트롤러 구현 - API : GET /api/products/best?category={value} - 컨트롤러 테스트 구현 - 서비스 계층은 Mock 처리 commit 52dd9da Merge: 5810e2e fbb5a66 Author: Louie <dhdustnr0134@naver.com> Date: Mon Apr 25 15:19:24 2022 +0900 Merge pull request #31 from Louie-03/BE-feature-GET_api_products_recommendation [BE] 추천 음식 조회 기능 commit fbb5a66 Author: “kukim” <kukim.dev@gmail.com> Date: Mon Apr 25 14:57:30 2022 +0900 feat: 추천 음식 조회 기능 - 현재 10개의 Product 랜덤하게 전달 - 추후 로그인, 유저별 추천 가능성이 있다. commit 5810e2e Author: “kukim” <kukim.dev@gmail.com> Date: Mon Apr 25 13:06:37 2022 +0900 Refactor: ProductMealTypeResponse -> ProductBasicTypeResponse 이름 변경 commit b11552c Merge: a773a14 e750413 Author: kukim <57086195+ku-kim@users.noreply.github.com> Date: Mon Apr 25 12:30:56 2022 +0900 Merge pull request #27 from Louie-03/BE-feature-GET_api_products_id [BE] 특정 id의 음식 조회 기능 commit e750413 Author: “kukim” <kukim.dev@gmail.com> Date: Mon Apr 25 12:22:32 2022 +0900 feat: 특정 id의 음식 조회 기능 구현 (Controller, Service 계층) - 테스트 코드 작성 commit 5bda672 Author: “kukim” <kukim.dev@gmail.com> Date: Mon Apr 25 12:21:14 2022 +0900 feat: Product 도메인 객체에 Delivery 객체 연결 commit d63a0f6 Author: “kukim” <kukim.dev@gmail.com> Date: Mon Apr 25 12:17:54 2022 +0900 feat: DeliveryPolicy Repository 구현과 테스트 commit 1157fca Author: “kukim” <kukim.dev@gmail.com> Date: Mon Apr 25 12:12:32 2022 +0900 feat: DeliveryPolicy 테이블 설계와 Dummy 데이터 추가 * Style: 주석 제거 * Refactor: api 주소 변경 * Chore: FE/src/Pages -> FE/src/pages 폴더명 변경 * Chore: src/Pages 폴더 삭제 Co-authored-by: YUNHO <kimyouknow@naver.com> Co-authored-by: Louie <dhdustnr0134@naver.com> Co-authored-by: HYUNJUN SON <55608425+guswns1659@users.noreply.github.com> Co-authored-by: kukim <57086195+ku-kim@users.noreply.github.com>
* [#6] Chore: CRA 없이 React 빌드 환경 구축 * [#6] Chore: sass 모듈 추가, react 인식 불가 에러 해결 * [#6] Fix: typo 수정 * [#8] Chore: Header 이미지 파일 추가 * [#8] Feat: Header 구현 * [#8] Design: Header 스타일 작성 * [#8] Rename: 컴포넌트 확장자 변경 * [#8] Rename: assets 디렉토리 생성 및 image 디렉토리 이동 * [#6] Chore: webpack.config.js에 절대경로 alias 설정 * [#8] Refactor: import 경로 수정 * [#8] Refactor: Nav함수 구조분해할당 적용 * [#8] Refactor: PR리뷰 반영 Nav 컴포넌트 함수에 conditional rendering 적용 makeNavCatetory함수 로직을 MainSubNav 컴포넌트 함수에서 처리 * [#8] Refactor: MainNav, MainSubNav 컴포넌트 함수 이름 변경 * [#8] Design: subCategory 마우스 호버 스타일 추가 * [#13] Feat: Promotion 1차 구현 * [#13] Chore: babel transform-runtime-plugin 설치, 설정 * [#13] Feat: 기획전 컴포넌트 구현 목서버에서 데이터 fetch 함수 구현 PromotionBar에서 클릭이벤트 등록 클릭이벤트의 타겟 ID에 따른 PromotionSection 렌더링 구현 * Chore: 깃 충돌 해결 과정에서 꼬인 코드 수정 * Remove: 깃 수정 과정에서 생긴 오류 수정 * [#13] Feat: useEffect를 사용하여 TAB 랜더링 구현 & TAB 클릭 스타일 변경 구현 * [#6] Chore: babel config에 `runtime: automatic' 추가 * Chore: config의 절대경로 alias 수정 * Feat: constant 파일을 만들어서 상수 변수를 관리함 * [#8] Refactor: img 태그에 alt 속성 추가 * [#13] Refactor: img 태그에 alt 속성 추가 * [#13] Refactor: fetchData API를 util 파일로 분리 * [#13] Refactor: label 컴포넌트 수정 * [#31] Feat: Header 컴포넌트에 Atomic Design Pattern 적용 * [#13] Chore: data URL 수정 * [#31] Rename: Nav를 HeaderNav로 이름 변경 * [#36] Feat: Promotion 컴포넌트 분리 * Test: 임시 사용하는 fake data 생성 * [#31] Remove: 중복되는 image 디렉토리(src/image) 제거 * [#39] Chore: styled-components, babel-plugin-styled-components 설치 * [#39] Feat: Header 컴포넌트에 styled-components 적용 * Chore: development, production mode build 환경 설정 * Chore: 깃 충돌 해결 과정에서 꼬인 코드 수정 * Remove: 깃 수정 과정에서 생긴 오류 수정 * [#13] Feat: useEffect를 사용하여 TAB 랜더링 구현 & TAB 클릭 스타일 변경 구현 * [#6] Chore: babel config에 `runtime: automatic' 추가 * Chore: config의 절대경로 alias 수정 * Feat: constant 파일을 만들어서 상수 변수를 관리함 * [#8] Refactor: img 태그에 alt 속성 추가 * [#13] Refactor: img 태그에 alt 속성 추가 * [#13] Refactor: fetchData API를 util 파일로 분리 * [#13] Refactor: label 컴포넌트 수정 * [#31] Feat: Header 컴포넌트에 Atomic Design Pattern 적용 * [#13] Chore: data URL 수정 * [#31] Rename: Nav를 HeaderNav로 이름 변경 * [#36] Feat: Promotion 컴포넌트 분리 * Test: 임시 사용하는 fake data 생성 * [#31] Remove: 중복되는 image 디렉토리(src/image) 제거 * [#39] Chore: styled-components, babel-plugin-styled-components 설치 * [#39] Feat: Header 컴포넌트에 styled-components 적용 * Chore: development, production mode build 환경 설정 * [#6] Chore: CRA 없이 React 빌드 환경 구축 * [#6] Chore: sass 모듈 추가, react 인식 불가 에러 해결 * [#6] Fix: typo 수정 * [#8] Chore: Header 이미지 파일 추가 * [#8] Feat: Header 구현 * [#8] Design: Header 스타일 작성 * [#8] Rename: 컴포넌트 확장자 변경 * [#8] Rename: assets 디렉토리 생성 및 image 디렉토리 이동 * [#6] Chore: webpack.config.js에 절대경로 alias 설정 * [#8] Refactor: import 경로 수정 * [#8] Refactor: Nav함수 구조분해할당 적용 * [#8] Refactor: PR리뷰 반영 Nav 컴포넌트 함수에 conditional rendering 적용 makeNavCatetory함수 로직을 MainSubNav 컴포넌트 함수에서 처리 * [#8] Refactor: MainNav, MainSubNav 컴포넌트 함수 이름 변경 * [#8] Design: subCategory 마우스 호버 스타일 추가 * [#13] Feat: Promotion 1차 구현 * [#13] Chore: babel transform-runtime-plugin 설치, 설정 * [#13] Feat: 기획전 컴포넌트 구현 목서버에서 데이터 fetch 함수 구현 PromotionBar에서 클릭이벤트 등록 클릭이벤트의 타겟 ID에 따른 PromotionSection 렌더링 구현 * Chore: 깃 충돌 해결 과정에서 꼬인 코드 수정 * [#13] Feat: useEffect를 사용하여 TAB 랜더링 구현 & TAB 클릭 스타일 변경 구현 * [#6] Chore: babel config에 `runtime: automatic' 추가 * Chore: config의 절대경로 alias 수정 * Feat: constant 파일을 만들어서 상수 변수를 관리함 * [#8] Refactor: img 태그에 alt 속성 추가 * [#13] Refactor: img 태그에 alt 속성 추가 * [#13] Refactor: fetchData API를 util 파일로 분리 * [#13] Refactor: label 컴포넌트 수정 * [#31] Feat: Header 컴포넌트에 Atomic Design Pattern 적용 * [#13] Chore: data URL 수정 * [#31] Rename: Nav를 HeaderNav로 이름 변경 * [#36] Feat: Promotion 컴포넌트 분리 * Test: 임시 사용하는 fake data 생성 * [#39] Chore: styled-components, babel-plugin-styled-components 설치 * [#39] Feat: Header 컴포넌트에 styled-components 적용 * . * [#6] Chore: .gitignore에 build 추가 * [#43] Refactor: 변수에 할당하지 않고 section 태그 내에서 map 사용 * [#46] Feat: Category 컴포넌트 구현 * [#49] Feat: image에 hover시 delivery type 표시 기능 구현 * [#6] Chore: react-is 추가 * Chore: 배포를 위한 build 폴더 업데이트 * [#49] Refactor: DealiveryLabel에 onMouseLeave 추가 * [#50] Design: article에 hover시 box-shadow 효과 적용 * [#52] Feat: Modal과 상세페이지 구현 * [#6] Chore: 배포를 위한 build 폴더 업데이트 * [#52] Refactor: API에서 데이터를 요청하는 것으로 수정 * [#6] 배포를 위한 build 폴더 업데이트 Co-authored-by: DESKTOP-88VMMCI\user <luzverde0314@gmail.com> Co-authored-by: ver <95198109+lv0314@users.noreply.github.com>
안녕하세요 Dion!!
BC, JERRY 입니다~~
앞으로 2주간 잘 부탁드립니다 🙇♂️🙇♂️
구현 사항
금요일까지 할 일
질문사항
menu 테이블에서 image_id를 FK로, image 테이블에서 menu_id를 FK로 서로 순환하여 FK로 설계했었습니다.
이렇게 진행하다보니 data.sql을 통해 더미 데이터 입력 시에 menu를 등록 시 image의 fk가 없어서 데이터를 넣을 수 없고 image를 등록 시 menu의 fk가 없어서 순환참조처럼 되어 데이터를 넣을 수 없었습니다. 따라서 fk를 제약조건을 제거하여 진행했는데 이와 같은 경우에는 어떻게 문제를 해결할 수 있을까요?