View Code? Open in Web Editor
NEW
This project forked from nab5m/ecomovie
The Movie DB API 클론 코딩
Python 4.15%
Java 94.96%
HTML 0.89%
ecomovie's Introduction
EcoMovie - The Movie DB API 클론 코딩
- 실행 전 mysql 관련 환경변수 설정
- SPRING_DATASOURCE_URL
- 예시 : jdbc:mysql://127.0.0.1:3306/ecomovie?serverTimezone=UTC&characterEncoding=UTF-8
- SPRING_DATASOURCE_USERNAME
- SPRING_DATASOURCE_PASSWORD
- (선택) 번역 기능을 사용하기 위해서는 네이버 개발자센터 API 키를 환경변수에 설정해야합니다. 네이버 개발자센터 바로가기
- NAVER_DEVELOPERS_CLIENT_ID
- NAVER_DEVELOPERS_CLIENT_SECRET
- DB 구조 설계 및 샘플 데이터 추가
- ERD 작성
- DDL 작성
- 샘플 데이터 구성
- 원본 json을 가공하는 python script 작성
- insert sql 파일 생성
- 상세 API 구현
- 엔티티 매핑
- QueryDSL 설정
- Controller, Service, Repository 구현
- 테스트 코드 작성
- Swagger 설정
- CORS 확인
- 추천 API 구현
- 쿼리 설계
- 중간점수 = 컬렉션 +5점, 장르 +3점, 제작사 +2점
- 최종점수 = 중간점수 + (투표평점 * 가중치, 인기지수 * 가중치)
- Controller 404 응답 처리
- 페이징 처리
- 번역 (파파고 번역 API)
- append_to_response
- 배포
- tmdb는 imdb와 데이터를 연결할 수 있도록 imdb_id 값을 저장하고 있다. 데이터를 가져올 때 tmdb_id라는 칼럼을 만들어 저장했으면 상호 참조할 때 더 좋을 것 같다.
ecomovie's People
Contributors