Skip to content
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

[team-11 이노] FE, iOS에 따른 GitHub OAuth 구현, 프로젝트 API 구현 #42

Open
wants to merge 73 commits into
base: team-11
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 56 commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
92eb500
Feat: [#10] .gitignore 파일 추가
eNoLJ May 18, 2021
99d2225
Merge pull request #12 from HongzCloud/BE/feature/setting
eNoLJ May 18, 2021
301349a
Feat: [#14] HouseController 클래스에 searchHouses 메소드 생성
eNoLJ May 18, 2021
f795393
Feat: [#16] HouseController 클래스에 searchCharges 메소드 생성
eNoLJ May 18, 2021
fde4cfa
Feat: [#18] HouseController 클래스에 getReservationPage 메소드 생성
eNoLJ May 18, 2021
3e8917b
Feat: [#20] HouseController 클래스에 makeReservation 메소드 생성
eNoLJ May 18, 2021
a1b135f
Feat: [#21] HouseController 클래스에 getWishes 메소드 생성
eNoLJ May 18, 2021
5ccf24b
Feat: [#22] HouseController 클래스에 changeWish 메소드 생성
eNoLJ May 18, 2021
b80e61c
Feat: [#23] HouseController 클래스에 getReservationList 메소드 생성
eNoLJ May 18, 2021
eed336b
Feat: [#24] HouseController 클래스에 getReservationDetail 메소드 생성
eNoLJ May 18, 2021
2114f61
Feat: [#25] HouseController 클래스에 cancelReservation 메소드 생성
eNoLJ May 18, 2021
9024877
Merge pull request #26 from HongzCloud/BE/feature/mockupAPI
eNoLJ May 18, 2021
cdd002d
Chore: ReservationInfoResponseDTO 패키지 이동
eNoLJ May 20, 2021
91c321c
Chore: .gitignore 파일에 build.sh 스크립트 추가
eNoLJ May 20, 2021
d6e0485
Feat: [#33] RequestLoggingFilterConfig 클래스 생성
eNoLJ May 20, 2021
f24a91c
Feat: [#33] WebConfig 클래스 생성
eNoLJ May 20, 2021
181fcb2
Chore: 불필요한 테스트 제거
eNoLJ May 21, 2021
bde96fe
Merge pull request #37 from HongzCloud/BE/feature/config
eNoLJ May 21, 2021
1b76254
Refactor: DB password 변경으로 설정 변경
eNoLJ May 21, 2021
6e936c5
Refactor: HouseService 클래스에 가독성을 위해 makeCharges 메소드를 만들어 searchCharge…
eNoLJ May 21, 2021
3125371
Refactor: [#38] HouseController 클래스에 searchHouses, searchCharges 메소드의…
eNoLJ May 21, 2021
d47a263
Merge pull request #40 from HongzCloud/BE/refactor/mockupAPI
eNoLJ May 21, 2021
fa6621c
Feat: [#44] 유저의 정보를 저장하기 위한 스키마 생성
eNoLJ May 21, 2021
8a916e5
Feat: [#44] 유저의 정보를 저장하기 위해 User 클래스와 UserRepository 인터페이스 생성
eNoLJ May 21, 2021
7da62e8
Feat: [#44] UserController 클래스 생성
eNoLJ May 21, 2021
9a727bf
Feat: [#44] GitHubOAuth 클래스 생성
eNoLJ May 21, 2021
474fe90
Feat: [#44] 로그인, 로그아웃 기능 구현에 있어 필요한 예외 생성
eNoLJ May 21, 2021
d5a9f9e
Feat: [#44] Jwt를 사용하기 위해 의존성 추가
eNoLJ May 21, 2021
cd8e4e8
Feat: [#44] .gitignore 파일에 oauth.properties 파일 추가
eNoLJ May 21, 2021
8615608
Merge pull request #45 from HongzCloud/BE/feature/OAuth
eNoLJ May 21, 2021
c3d5a81
Feat: [#47] airbnb 프로젝트 schema 생성
eNoLJ May 22, 2021
0ad7138
Merge pull request #48 from HongzCloud/BE/feature/schema
eNoLJ May 22, 2021
964fdc4
Feat: [#49] 프로젝트에 사용할 기본 데이터 삽입
eNoLJ May 22, 2021
89a1ad5
Merge pull request #50 from HongzCloud/BE/feature/data
eNoLJ May 22, 2021
9c0f3b5
Refactor: [#51] mockup API 수정
eNoLJ May 22, 2021
93fba53
Merge pull request #52 from HongzCloud/BE/refactor/mockupAPI
eNoLJ May 22, 2021
07de1ee
Refactor: [#58] UserRepository 클래스를 JDBC Template를 사용한 UserDAO 클래스로 리팩토링
eNoLJ May 24, 2021
c06b6b2
Feat: [#59] House, Image 엔티티 클래스, 관련 DAO 생성
eNoLJ May 25, 2021
36a718f
Feat: [#59] HouseService 클래스의 searchHousesByCondition 메소드 구현
eNoLJ May 25, 2021
18d00a4
Feat: [#60] HouseService 클래스의 searchChargesByCondition 메소드 구현
eNoLJ May 25, 2021
29da8ff
Feat: [#61] HouseService 클래스의 getReservationInfo 메소드 구현
eNoLJ May 25, 2021
bab687b
Feat: [#62] HouseService 클래스의 makeReservation 메소드 구현
eNoLJ May 25, 2021
170650e
Refactor: UserService 클래스에 있던 getTokenFromAuthorization 메소드를 JwtUtil …
eNoLJ May 25, 2021
ca1f37a
Feat: 토큰이 null일 때 에러를 내보내도록 수정
eNoLJ May 25, 2021
793e78f
Feat: [#64] HouseService 클래스의 getWishList 메소드 구현
eNoLJ May 25, 2021
2d4e76d
Feat: [#65] HouseService 클래스의 changeWish 메소드 구현
eNoLJ May 25, 2021
fc13484
Feat: [#66] HouseService 클래스의 getReservationList 메소드 구현
eNoLJ May 25, 2021
c643d76
Refactor: Authorization을 통한 인증 방법 수정
eNoLJ May 25, 2021
5d0b74d
Feat: [#67] HouseService 클래스의 cancelReservation 메소드 구현
eNoLJ May 25, 2021
c1af4a0
Feat: [#68] HouseService 클래스의 getReservationDetail 메소드 구현
eNoLJ May 25, 2021
681b19b
Merge pull request #69 from HongzCloud/BE/feature/API
eNoLJ May 25, 2021
562d9db
Chore: 불필요한 코드 삭제
eNoLJ May 26, 2021
51da48d
Refactor: JsonProperty 어노테이션을 활용하여 리팩토링
eNoLJ May 26, 2021
b779125
Feat: UserDAO 클래스의 save 메소드 수정
eNoLJ May 26, 2021
20bb4df
Fix: 프론트의 요구사항에 맞게 API 수정
eNoLJ May 26, 2021
6cf6669
Feat: [#77] 숙소 상세 페이지 요청 API 생성
eNoLJ May 26, 2021
dbb2dfa
Refactor: [#90] WebConfig 클래스에 logFilter 메소드 생성
eNoLJ Jun 3, 2021
4141676
Refactor: [#90] OAuth 인터페이스의 메소드 이름 변경
eNoLJ Jun 3, 2021
06ee701
Refactor: [#90] GitHubOAuth 클래스 리팩토링
eNoLJ Jun 3, 2021
0997442
Chore: data.sql의 이미지 변경
eNoLJ Jun 3, 2021
44bd8f3
Merge pull request #91 from HongzCloud/BE/refactor
eNoLJ Jun 3, 2021
5a4754d
Refactor: [#90] JwtUtil 클래스 리팩토링
eNoLJ Jun 3, 2021
e50e19c
Merge pull request #92 from HongzCloud/BE/refactor
eNoLJ Jun 3, 2021
148b0be
Refactor: [#90] HouseController 분리
eNoLJ Jun 3, 2021
a94fa7d
Refactor: [#90] HouseService 분리
eNoLJ Jun 3, 2021
1c4dc5d
Merge pull request #94 from HongzCloud/BE/refactor
eNoLJ Jun 3, 2021
cbf796f
Refactor: [#90] OAuth 인터페이스의 메소드 이름 수정
eNoLJ Jun 4, 2021
1f76bf8
Refactor: [#90] TokenDTO 클래스의 token_type 멤버변수를 tokenType으로 변경
eNoLJ Jun 4, 2021
3e51082
Refactor: [#90] House 클래스에 불필요한 메소드 제거
eNoLJ Jun 4, 2021
b001bca
Refactor: [#90] DAO 클래스에서 리턴 타입이 Optional인 메소드 수정
eNoLJ Jun 4, 2021
136a8d4
Refactor: [#90] Join 클래스에 불필요한 메소드 제거
eNoLJ Jun 4, 2021
acca41b
Refactor: [#90] DTO 패키지 내 VO 분리
eNoLJ Jun 4, 2021
4ccc42e
Merge pull request #98 from HongzCloud/BE/refactor
eNoLJ Jun 4, 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
193 changes: 193 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@

# Created by https://www.toptal.com/developers/gitignore/api/macos,intellij,gradle,java
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,intellij,gradle,java

### Intellij ###
# 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 Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721

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

# Sonarlint plugin
# https://plugins.jetbrains.com/plugin/7973-sonarlint
.idea/**/sonarlint/

# SonarQube Plugin
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
.idea/**/sonarIssues.xml

# Markdown Navigator plugin
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
.idea/**/markdown-navigator.xml
.idea/**/markdown-navigator-enh.xml
.idea/**/markdown-navigator/

# Cache file creation bug
# See https://youtrack.jetbrains.com/issue/JBR-2257
.idea/$CACHE_FILE$

# CodeStream plugin
# https://plugins.jetbrains.com/plugin/12206-codestream
.idea/codestream.xml

### 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*

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Gradle ###
.gradle
build/

# Ignore Gradle GUI config
gradle-app.setting

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

# Cache of project
.gradletasknamecache

# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties

### Gradle Patch ###
**/build/

# End of https://www.toptal.com/developers/gitignore/api/macos,intellij,gradle,java


/BE/.gitignore
/.idea/.gitignore
/.idea/airbnb.iml
/.idea/misc.xml
/.idea/modules.xml
/.idea/vcs.xml
/.idea/jarRepositories.xml
/.idea/libraries-with-intellij-classes.xml
/BE/build.sh
/BE/src/main/resources/oauth.properties
25 changes: 25 additions & 0 deletions BE/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
plugins {
id 'org.springframework.boot' version '2.4.5'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}

group = 'com.enolj'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'

repositories {
mavenCentral()
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
implementation 'com.auth0:java-jwt:3.8.2'
runtimeOnly 'mysql:mysql-connector-java'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}

test {
useJUnitPlatform()
}
Binary file added BE/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions BE/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading