-
Notifications
You must be signed in to change notification settings - Fork 46
[BE] [team-16] 기능구현 #13
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
Open
choigiseong
wants to merge
101
commits into
codesquad-members-2021:team-16
Choose a base branch
from
choigiseong:BE
base: team-16
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
- property와 schema 작성
- 팀의 이름이 기본 키가 된다.
- class 생성
- 기본 data 추가
- 이름으로 찾기 추가
- 선수들이 잘 보인다.
- 모든 필드를 가지는 생성자 추가 - template에서 DB를 읽어오면서 만들기 위해 생성
- DB설계 변경으로 인해 수정
- sql도 볼 수 있도록 변경
- 누구대 누구 를 저장하는 Game class
- 해당 게임의 점수를 관리한다.
- 점수를 관리한다. scoreBoard가 1이고 이닝이 다 이다.
- Game이 Team을 각각 2 개 같고 있다. - spring data jdbc로 풀기가 쉽지 않아 template로 노선을 변경했다.
- 선수들을 팀명으로 가지고 오기위해 정의
- 그저 잘 가져오는지 log찍기만 합니다
- domain 밑에 modle을 두었다
- 스코어 판을 확인하기 위해서 추가
- 패키지 이동 import 변경
- 이닝을 가져오는 DAO
- game을 세이브할때 점수판도 같이 저장한다 - game저장 후 id를 받아서 점수판을 저장 - find시 점수판도 함께 가져온다 - 점수판은 이닝을 같이 가져온다
… feature_BE/29
- 게임 DTO를 받는다
- service로 이전
- makeGame으로 변경
- 각기 다른 생성자 제거
- DB의 타율 제거
- 코틀린으로 변경
Feature be/29
sphilee
pushed a commit
that referenced
this pull request
May 12, 2021
dahun-lee-daji
pushed a commit
that referenced
this pull request
May 12, 2021
- 코틀린으로 변경했기에 삭제
- server key 올리지 않기 위해
- libs 밑에 옮겨 놨다
- 억세스 토큰과 리프레쉬 토큰을 DB에서 관리한다
- jwt를 사용해서 관리한다
- enum으로 관리 한다
- github_id를 통해 새로운 user인지 체크한다 - 새로운 유저는 회원가입, 아니면 update한다
- 둘을 구현.새로운 user면 create, 이미 있는 user이면 update
- serverKey는 util이 더 어울린다
- FE가 특정 url로 요청을 보내면 토큰을 다시 받아온다 - FE가 시간을 계산해서 짧게 남았으면 요청한다
- 예외 컨트롤 계획
ghis22130
pushed a commit
that referenced
this pull request
May 14, 2021
- 특정 포트의 cors 요청은 허용한다
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.
안녕하세요. 백엔드반의 coco입니다.
DB설계는 다음과 같습니다.

DB설계 시에 일대일이 두 번 왔다갔다 해도 되나요? 설계는 어렵네요..
api 설계
https://documenter.getpostman.com/view/15264844/TzRNEpcQ
이번에는 spring data jdbc를 사용하지 않고 jdbcTemplate를 사용해 보았습니다.
감사합니다.