Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
d120d97
feat: .gitignore 추가
janeljs May 3, 2021
10f47b3
feat: 프로젝트 설정 및 schema.sql 추가
janeljs May 3, 2021
713965b
feat: History, Match 추가 #2
janeljs May 3, 2021
774438c
feat: 전체 조회 메서드 추가
janeljs May 4, 2021
420b6af
임시 커밋
janeljs May 4, 2021
26e8c3b
feat: DB설계 수정 및 controller에 play 화면 추가
rla36 May 4, 2021
852bba9
Merge pull request #6 from janeljs/be-test
janeljs May 4, 2021
530ace5
feat: Mock API 설계 #4
janeljs May 6, 2021
13613a9
feat: GameController 추가
janeljs May 6, 2021
913df85
fix: 빌드 문제 해결
janeljs May 6, 2021
2220d56
fix: 중복 아이디로 인한 DB 저장 에러 해결
janeljs May 7, 2021
c7336c6
Merge pull request #12 from janeljs/be-test
rla36 May 7, 2021
ccf1f63
fix: CORS 문제 해결 위해 WebConfig 추가
rla36 May 7, 2021
8cc77ca
fix: mysql auto reconnection 설정 추가
janeljs May 7, 2021
3cf320b
fix: cross origin 관련 설정 변경
janeljs May 8, 2021
897b53b
feat: Team,Match를 찾지 못할때 발생하는 예외 추가
rla36 May 10, 2021
0667d03
feat: Inning에 아웃 수를 더하고, 교체가 필요한지 검증하고, 교체하는 메소드 추가
rla36 May 10, 2021
ee137d8
feat: 회의결과에 따라 leftTeam, rightTeam을 expeditionTeam, homeTeam으로 수정
rla36 May 10, 2021
76df526
feat: mysql data source url을 localhost에서 private ip로 변경
janeljs May 10, 2021
e454702
feat: team에게 투수, 첫 타자, 다음 타자를 물어보는 메소드 추가
rla36 May 11, 2021
6bf1a8c
feat: 찾는 Player없을 시 발생하는 예외 추가
rla36 May 11, 2021
64d4ff5
feat: match에 홈팀, 원정팀 id를 리턴하는 메소드, 그리고 주어진 팀 id와 다른 id를 리턴하는 메소드 추가
rla36 May 11, 2021
c380ba1
feat: TeamGameScore에 id없는 생성자 추가
rla36 May 11, 2021
1931f4e
feat: 사용하지 않는 repository삭제
rla36 May 11, 2021
36ff62e
feat: Player의 히스토리 삭제, 투수여부 묻는 메소드 추가
rla36 May 11, 2021
05d6127
feat: 액션에 대한 스태틱 변수와 액션을 판별하는 메소드 추가
rla36 May 11, 2021
c7f0ce2
feat: 안타/아웃/볼넷 중 어떤 액션으로 플레이어가 교체되었는지 확인하기 위해 필드에 lastAction추가
rla36 May 11, 2021
fbf6f42
feat: 테이블 player에 필드 lastAction 추가
rla36 May 11, 2021
68a7c84
feat: 불필요한 데이터 삭제
rla36 May 11, 2021
841caf7
feat: request에 선수의 마지막액션과 팀의 현재 점수 받아올 수 있도록 해당 필드 DTO에 추가
rla36 May 11, 2021
e1a1e99
feat: ApiResponse에 matchId 추가
rla36 May 11, 2021
718f337
feat: 마지막 액션 검증 메소드 추가
rla36 May 11, 2021
46e82f6
feat: 선수 타구 수/타율 업데이트 메소드 추가
rla36 May 11, 2021
efe9cc0
feat: Constants클래스 추가해 전역변수 한 곳에서 관리하도록 함
rla36 May 11, 2021
fb2f3ae
feat: 컨트롤러에 야구게임 로직 추가
rla36 May 11, 2021
cb00e98
fix: 컨트롤러에 Redirect제거
rla36 May 11, 2021
d7ef2f0
fix: 이닝별 상세점수 초기화 메소드 수정
rla36 May 11, 2021
bfc62cd
Merge branch 'be-14' of https://github.com/janeljs/baseball into be-test
janeljs May 11, 2021
ff0b13c
feat: 선수 추가
rla36 May 11, 2021
2e7594c
feat: PlayerDTO 생성자 파라미터에 role추가
rla36 May 11, 2021
4febe7c
feat: totalScore을 기존 리스트에 append하는 메소드 추가
rla36 May 11, 2021
a15c249
fix: TeamLogDTO에 베팅을 완료한 선수의 히스토리만 뜨도록 수정
rla36 May 11, 2021
9c8c7ca
fix: 정렬 및 쓰이지 않는 코드 제거
rla36 May 11, 2021
44b57c4
fix: totalScore초기화 시 리스트 삭제 후 totalScore추가하도록 수정
rla36 May 11, 2021
56b7bbf
fix: 바뀐 메소드 사용하도록 수정
rla36 May 11, 2021
d019912
Merge branch 'be-14' of https://github.com/janeljs/baseball into be-14
janeljs May 11, 2021
eec1665
feat: service 클래스 추가
rla36 May 11, 2021
f59d695
Merge branch 'be-14' of https://github.com/janeljs/baseball into be-14
janeljs May 11, 2021
8d99756
refactor: 전체 클래스 리팩토링
janeljs May 11, 2021
85c903a
fix: gameService 리팩토링
rla36 May 12, 2021
a76e162
fix: service 리팩토링
rla36 May 12, 2021
3193beb
fix: mysql연결 설정 수정
rla36 May 13, 2021
076990e
fix: url 설계 수정 #25
janeljs May 13, 2021
37b0f5d
feat: 프론트 빌드 스크립트 수정 #27
janeljs May 13, 2021
af51c8d
fix: isHome이 false일 때 발생했던 에러 해결
janeljs May 14, 2021
15f7e16
fix: pr 보내기 위해 프론트 코드 삭제
janeljs May 14, 2021
5047e17
refactor: 코드 정렬 및 불필요한 코드 삭제
janeljs May 14, 2021
5d55700
fix: gitignore 설정
janeljs May 14, 2021
5c59456
fix: gitignore 설정
janeljs May 14, 2021
f8a80fd
fix: .gitignore 파일 업데이트
janeljs May 14, 2021
a783dcb
fix: .gitignore 설정
janeljs May 14, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
158 changes: 158 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
# Default ignored files
/shelf/
/.idea/workspace.xml
# Datasource local storage ignored files
/../../../../../../../:\Users\jisun\Documents\projects\baseball\.idea/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/

# Created by https://www.toptal.com/developers/gitignore/api/java-web,windows,java,intellij+all
# Edit at https://www.toptal.com/developers/gitignore?templates=java-web,windows,java,intellij+all

### Intellij+all ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

### Intellij+all Patch ###
# Ignores the whole .idea folder and all .iml files
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360

.idea

# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023

*.iml
modules.xml
.idea/misc.xml
*.ipr

# Sonarlint plugin
.idea/sonarlint

### Java ###
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

### Java-Web ###
## ignoring target file
target/

### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

# End of https://www.toptal.com/developers/gitignore/api/java-web,windows,java,intellij+all

194 changes: 194 additions & 0 deletions BE/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
HELP.md
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/

### VS Code ###
.vscode/


# Created by https://www.toptal.com/developers/gitignore/api/java-web,windows,java,intellij+all
# Edit at https://www.toptal.com/developers/gitignore?templates=java-web,windows,java,intellij+all

### Intellij+all ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/dataSources/
.idea/dataSources.ids
.idea/dataSources.local.xml
.idea/sqlDataSources.xml
.idea/dynamic.xml
.idea/uiDesigner.xml
.idea/dbnavigator.xml
.idea/
# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

### Intellij+all Patch ###
# Ignores the whole .idea folder and all .iml files
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360

.idea/

# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023

*.iml
modules.xml
.idea/misc.xml
*.ipr

# Sonarlint plugin
.idea/sonarlint

### Java ###
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

### Java-Web ###
## ignoring target file
target/

### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

# End of https://www.toptal.com/developers/gitignore/api/java-web,windows,java,intellij+all
Loading