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-19][BE] Bongf/Tree 기능 구현 #75

Open
wants to merge 115 commits into
base: dahun-lee-daji
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
f3b304d
[All] Doc : Update Readme.md (#none)
dahun-lee-daji May 17, 2021
c6b142a
feat: Mock API 생성
bong6981 May 20, 2021
035e6ce
feat: 배포를 위한 환경설정 변경
bong6981 May 20, 2021
08d999b
feat: 데이터타입 변경
bong6981 May 21, 2021
6a1ce19
feat: DTO request entity 타입 변경
bong6981 May 21, 2021
7a61a95
feat: Entity 생성
bong6981 May 21, 2021
4cc210c
feat: Entity 생성(#8)
bong6981 May 21, 2021
0b4248b
chore : 데이터베이스 경로변경(#8)
bong6981 May 21, 2021
818e5e9
Merge pull request #19 from dahun-lee-daji/be/feat/8/entity
bong6981 May 21, 2021
43b63aa
chore: merge를 위한 커밋(#8)
bong6981 May 21, 2021
690caf6
chore: 머지를 위한 커밋(#8)
bong6981 May 21, 2021
0a01de9
feat: Contorller 분리(#16)
bong6981 May 21, 2021
57a2e5e
feat: gitignore 파일에 build 폴더 추가(#16)
bong6981 May 22, 2021
7baf303
feat: gitignore 파일 수정
bong6981 May 22, 2021
fed88da
chore : Room클래스에 변수명 수정
choitree May 22, 2021
1b8c75f
chore : 추적되고 있는 불필요한 .class 파일 삭제
choitree May 22, 2021
0172265
feat: entity내 파일들을 폴더로 묶음(#16)
bong6981 May 23, 2021
9c12f6c
feat: entity 관계 설정(#16)
bong6981 May 23, 2021
51f516b
feat: 관계적용을 한 스키마 변경(#16)
bong6981 May 24, 2021
7a2e23b
feat: entity 변경(#16)
bong6981 May 24, 2021
4cd7faf
Merge branch 'be/feat/16/get_booking' of https://github.com/dahun-lee…
bong6981 May 24, 2021
714ba6f
feat: 스키마 sql수정(#16)
bong6981 May 24, 2021
33257b9
feat: entity와 sql 일치하지 않은 부분 수정(#16)
bong6981 May 24, 2021
3c59509
feat: Booking 관계변경(#16)
bong6981 May 24, 2021
2dd678d
feat: Booking DAO에서 findById, save 구현(#16)
bong6981 May 25, 2021
cc92ed5
chore : .idea 디렉토리 내 파일캐시 삭제 불가능으로 커밋
choitree May 25, 2021
dd73db4
chore : 추적되고 있는 불필요한 파일 삭제
choitree May 25, 2021
3abd2e0
feat: 예외 추가(#16)
bong6981 May 25, 2021
aeb32ce
feat: NotFoundException 에 대한 예외 처리 구현(#16)
bong6981 May 25, 2021
7c286b3
Feat : post_booking 기능 구현(#11)
choitree May 25, 2021
8dd6bec
Feat : post_booking 기능 구현(#11)
choitree May 25, 2021
2e2977f
chore : 오타 수정 (#11)
choitree May 25, 2021
9de7a9f
chore : 16브랜치에서 pull한 코드 커밋
choitree May 25, 2021
81924e6
chore : 16브랜치에서 pull한 코드 커밋
choitree May 25, 2021
3e9187b
chore : 16브랜치에서 pull한 코드 커밋
choitree May 25, 2021
0c4b392
feat : 예약 삭제 기능 구현 (#13)
choitree May 25, 2021
f23589e
feat : 예약 삭제 기능 구현 (#13)
choitree May 25, 2021
cadf812
chore : BookingRequestDTO 수정
choitree May 25, 2021
e59c61c
chore : BookingDAO 수정
choitree May 25, 2021
f791edf
feat: Booking 가져오는 기능 구현완료(#16)
bong6981 May 25, 2021
46df044
feat: Booking 가져오는 기능 구현완료(#16)
bong6981 May 25, 2021
c069c84
feat: 생성자 추가하여 null 전달 삭제(#16)
bong6981 May 25, 2021
bf67dad
feat: null전달을 피하기 위한 생성자 추가(#16)
bong6981 May 25, 2021
0f14d7f
feat: null전달을 피하기 위한 생성자 추가 (#16)
bong6981 May 25, 2021
113ad6b
chore : PR 리뷰 반영
choitree May 25, 2021
7575b0b
chore : PR 리뷰 반영
choitree May 25, 2021
5a298b9
chore : PR 리뷰 반영
choitree May 25, 2021
7c0f810
chore : PR 리뷰 반영
choitree May 25, 2021
972ef88
chore : PR 리뷰 반영
choitree May 25, 2021
993efe5
chore : PR 리뷰 반영
choitree May 25, 2021
bfebe33
feat: booking 목록 가져오는 기능 구현(#15)
bong6981 May 25, 2021
7001965
Merge pull request #20 from dahun-lee-daji/be/feat/11/post_booking
bong6981 May 26, 2021
740f5f6
Merge branch 'Dev-BE' into be/feat/13/delete_booking
choitree May 26, 2021
5f3cb5a
Merge pull request #21 from dahun-lee-daji/be/feat/13/delete_booking
bong6981 May 26, 2021
20fbf95
chore : PR 리뷰 반영
choitree May 26, 2021
45f5367
Merge branch 'Dev-BE' into be/feat/16/get_booking
bong6981 May 26, 2021
a21e5e5
Merge pull request #22 from dahun-lee-daji/be/feat/16/get_booking
choitree May 26, 2021
34f82d8
Merge branch 'Dev-BE' into be/feat/15/get_bookings
bong6981 May 26, 2021
c55dc26
Merge pull request #23 from dahun-lee-daji/be/feat/15/get_bookings
choitree May 26, 2021
f20a594
feat: UserDao에서 조회 기능 구현(#9)
bong6981 May 26, 2021
6168e13
Delete .idea directory
choitree May 26, 2021
d3c4a60
Delete be/.idea directory
choitree May 26, 2021
e9975dd
Delete be/airbnb/.idea directory
choitree May 26, 2021
5e3640f
Delete .DS_Store
choitree May 26, 2021
562098d
Delete be/airbnb/.idea directory
choitree May 26, 2021
993165a
Delete be/.idea directory
choitree May 26, 2021
02c89dc
Delete .idea directory
choitree May 26, 2021
b493a2e
feat: RoomReponseDTO 반환기능 구현(#9)
bong6981 May 26, 2021
8f7dc88
fix: PR을 위한 코드 수정(#9)
bong6981 May 26, 2021
6035c42
feat: Main페이지 데이터 가져오기 구현(#10)
bong6981 May 27, 2021
f046a64
style: 불필요한 개행삭제(#10)
bong6981 May 27, 2021
bc3b79b
chore: 요구사항 보면서 부족한 부분 더함(#10)
bong6981 May 27, 2021
da968bc
feat : wishlist 추가 기능 구현 (#12)
choitree May 27, 2021
a6db7e3
feat : Room 안에 필드들 묶음(#10)
bong6981 May 27, 2021
65b03c8
feat: Get Room 기능 구현(#18)
bong6981 May 27, 2021
d8cbfa5
Merge pull request #24 from dahun-lee-daji/be/feat/9/get_wishlists
choitree May 28, 2021
eb8412b
Merge pull request #25 from dahun-lee-daji/be/feat/10/get_main
choitree May 28, 2021
c56591e
feat : wishlist 삭제 기능 구현 (#14)
choitree May 28, 2021
b334585
chore : wishlist를 리스트에 add하는 기능 분리(#12)
choitree May 28, 2021
8a67c1e
style : sql문 내부에 ; 제거
choitree May 28, 2021
8ca8e4c
chore : wishlist를 리스트에서 제거하는 기능 user 클래스로 분리
choitree May 28, 2021
e39d1b6
Merge branch 'Dev-BE' into be/feat/12/post_wishlist
bong6981 May 28, 2021
96aa51a
Merge pull request #29 from dahun-lee-daji/be/feat/12/post_wishlist
bong6981 May 28, 2021
881924f
Merge branch 'Dev-BE' into be/feat/14/delete_wishlist
bong6981 May 28, 2021
7fa0d02
Merge pull request #30 from dahun-lee-daji/be/feat/14/delete_wishlist
bong6981 May 28, 2021
28e638e
feat: dto 변수명 변경(#18)
bong6981 May 28, 2021
74cff12
feat: 수정된 entity에 맞게 테이블 필드 변경(#31)
bong6981 May 29, 2021
b608548
chore: 요구사항 보면서 부족한 부분 더함(#10)
bong6981 May 27, 2021
ac175d5
feat : Room 안에 필드들 묶음(#10)
bong6981 May 27, 2021
87546a0
feat: Get Room 기능 구현(#18)
bong6981 May 29, 2021
3b1bd96
feat: dto 변수명 변경(#18)
bong6981 May 28, 2021
49ed78b
feat: 수정된 entity에 맞게 테이블 필드 변경(#31)
bong6981 May 29, 2021
14f1652
Merge branch 'be/feat/31/findBookingById' of https://github.com/dahun…
bong6981 May 29, 2021
3305847
feat: Merge from DEV-BE(#31)
bong6981 May 29, 2021
e0b8033
Merge pull request #33 from dahun-lee-daji/be/feat/31/findBookingById
choitree May 29, 2021
7649197
feat : 가격 범위 검색하는 기능 구현 (#17)
choitree May 29, 2021
6cf4a03
feat : 가격 범위 검색하는 기능 구현 (#17)
choitree May 29, 2021
a1055c6
Merge pull request #34 from dahun-lee-daji/be/feat/17/price_range
bong6981 May 30, 2021
a8cafa0
chore : 위도 경도를 기준으로 반경 계산하는 로직을 dao로 분리 (#17)
choitree May 30, 2021
08daac3
feat: 예상 금액 가져오는 기능 구현(#35)
bong6981 May 30, 2021
2adec48
feat: Booking에서 totalPrice 계산할 수 있는 메소드 추가(#35)
bong6981 May 30, 2021
2163ad2
Merge pull request #36 from dahun-lee-daji/be/feat/35/getEstimate
choitree May 30, 2021
a128a79
feat : 전체 검색하는 기능(#32)
choitree May 30, 2021
4b369fe
feat : 전체 검색 기능 구현 (#32)
choitree May 30, 2021
3263dd9
chore : 풀하고 충돌 해결
choitree May 30, 2021
28a45ec
feat : 전체 검색하는 기능(#32)
choitree May 30, 2021
9dd79f2
style : 주석 삭제 및 인덴팅 수정(#32)
choitree May 30, 2021
06044b1
Merge pull request #37 from dahun-lee-daji/be/feat/32/search_rooms
bong6981 May 31, 2021
ca045b7
chore: room 데이터 20개입력
bong6981 May 31, 2021
edf5dbc
refactor: RoomController와 RoomService 리팩토링
bong6981 May 31, 2021
5f5b212
refactor: Booking 생성자를 builder 패턴으로 변경
bong6981 Jun 4, 2021
ee3a3c2
refactor : 코드 리팩토링
choitree Jun 4, 2021
0a8e755
Merge branch 'be/refactor/refactor' of https://github.com/dahun-lee-d…
choitree Jun 4, 2021
68c6c57
refactor : 코드 리팩토링
choitree Jun 4, 2021
82cbbb6
Merge pull request #39 from dahun-lee-daji/be/refactor/refactor
choitree 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
35 changes: 33 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,33 @@
# airbnb
그룹 프로젝트 #4
# airbnb ( 숙박업소 예약 어플리케이션 )

숙박 업소를 예약하는 앱

## [팀원소개, 팀자랑](https://github.com/dahun-lee-daji/airbnb/wiki/%ED%8C%80-%EC%86%8C%EA%B0%9C)

## 기획

- [모바일 기획서](https://www.figma.com/proto/inTClwuq2Hr7E33JPIMKza/iOS_%EC%88%99%EC%86%8C%EC%98%88%EC%95%BD%EC%84%9C%EB%B9%84%EC%8A%A4?page-id=56%3A1424&node-id=56%3A1465&viewport=70%2C228%2C0.25&scaling=contain)
- [모바일 디자인](https://www.figma.com/file/inTClwuq2Hr7E33JPIMKza/iOS_%EC%88%99%EC%86%8C%EC%98%88%EC%95%BD%EC%84%9C%EB%B9%84%EC%8A%A4?node-id=1%3A133)

## 커뮤니케이션

- 10시에 스크럼: 잡담 시간으로 잠깨우기
- 유연하게 회의시간 가져가기! ( 보통 16시 )에 좀 서로 본격적인 이야기하기
- 모바일 팀에서 추가된 API 요구사항 이야기해주기
- 먼저 개발해 주었으면 좋겠는 API 우선순위도 이야기해주기

## [마일스톤 정책](https://github.com/dahun-lee-daji/airbnb/wiki/%EB%A7%88%EC%9D%BC%EC%8A%A4%ED%86%A4-%EC%A0%95%EC%B1%85)

나누어진 Agile BackLog에 따라, Story의 하위 Task를 묶는 MileStone을 구성한다.

## [이슈 정책](https://github.com/dahun-lee-daji/airbnb/wiki/%EB%A7%88%EC%9D%BC%EC%8A%A4%ED%86%A4-%EC%A0%95%EC%B1%85)

`[BE|iOS] {요구사항 제목 or 구현할 기능의 제목}`

## [브랜치 정책](https://github.com/dahun-lee-daji/airbnb/wiki/%EB%B8%8C%EB%9E%9C%EC%B9%98-%EC%A0%95%EC%B1%85)

`{development part}/{branch header}/{issue number}/{short description}`

## [커밋 메시지 정책](https://github.com/dahun-lee-daji/airbnb/wiki/%EC%BB%A4%EB%B0%8B-%EC%BB%A8%EB%B2%A4%EC%85%98)

`{commit header}: {commit title} (#{issue number})`
142 changes: 142 additions & 0 deletions be/airbnb/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@

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

### 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
.idea/

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

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

# End of https://www.toptal.com/developers/gitignore/api/java,intellij
/.idea/compiler.xml
/.idea/misc.xml
/.idea/vcs.xml
/.idea/libraries-with-intellij-classes.xml
/.idea/jarRepositories.xml
/.idea/.gitignore
26 changes: 26 additions & 0 deletions be/airbnb/HELP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Getting Started

### Reference Documentation
For further reference, please consider the following sections:

* [Official Gradle documentation](https://docs.gradle.org)
* [Spring Boot Gradle Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.4.5/gradle-plugin/reference/html/)
* [Create an OCI image](https://docs.spring.io/spring-boot/docs/2.4.5/gradle-plugin/reference/html/#build-image)
* [Spring Data JDBC](https://docs.spring.io/spring-data/jdbc/docs/current/reference/html/)
* [Spring Web](https://docs.spring.io/spring-boot/docs/2.4.5/reference/htmlsingle/#boot-features-developing-web-applications)
* [Spring Boot DevTools](https://docs.spring.io/spring-boot/docs/2.4.5/reference/htmlsingle/#using-boot-devtools)

### Guides
The following guides illustrate how to use some features concretely:

* [Using Spring Data JDBC](https://github.com/spring-projects/spring-data-examples/tree/master/jdbc/basics)
* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/)
* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/)
* [Building REST services with Spring](https://spring.io/guides/tutorials/bookmarks/)
* [Accessing data with MySQL](https://spring.io/guides/gs/accessing-data-mysql/)

### Additional Links
These additional references should also help you:

* [Gradle Build Scans – insights for your project's build](https://scans.gradle.com#gradle)

25 changes: 25 additions & 0 deletions be/airbnb/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.team19'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'

repositories {
mavenCentral()
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-web'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'mysql:mysql-connector-java'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}

test {
useJUnitPlatform()
}
Binary file added be/airbnb/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions be/airbnb/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