Skip to content

Commit

Permalink
Merge pull request #20 from Louie-03/dev-BE
Browse files Browse the repository at this point in the history
[Team-03][BE] 쿠킴 & 루이 - 데이터베이스 설계, Mock API Server, 배포 아키텍처, 프로젝트 세팅
  • Loading branch information
guswns1659 committed Apr 20, 2022
2 parents a002511 + e8eca13 commit 4f385a1
Show file tree
Hide file tree
Showing 14 changed files with 641 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,32 @@
---

name: Bug report
about: Create a report to help us improve
title: "[FE|BE] OO 메서드에서 NPE 발생 가능성"
labels: 'bug'
assignees: ''

---

## 버그 내용

ex) 00 기능 클릭 시 에러 발생

## 재현 과정

ex)
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

## 우려 사항

ex) 클라이언트가 화내요

## 스크린샷

스크린샷 1

## 기타

22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
@@ -0,0 +1,22 @@
---

name: Feature request
about: Suggest an idea for this project
title: '[FE|BE] 00 기능 구현 요요청'
labels: 'feat'
assignees: ''

---

## 기능 요청사항

ex) 로그인 기능이 필요해요.

## 요청 세부사항

ex) Jwt 를 활용해서 로그인 기능을 만들어주세요.

## 레퍼런스

ex) 관련 사진 및 링크 첨부

25 changes: 25 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,25 @@
---

title: '[FE|BE] 00 기능 구현 '
labels: ''
assignees: ''

---

### Description

ex) OO 기능 구현

### Commits

ex)
구현 사항 요약
1. OO 구조 설계
2. OO 클래스 분리
3. 메서드 구현


### 결과

ex) 실행, 테스트 결과 또는 사진 첨부

141 changes: 141 additions & 0 deletions BE/.gitignore
@@ -0,0 +1,141 @@
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/
### Java template
# 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*

### Example user template template
### Example user template

# IntelliJ project files
.idea
*.iml
out
gen
### Gradle template
.gradle
**/build/
!src/**/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

### Windows template
# 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

### macOS template
# 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

42 changes: 42 additions & 0 deletions BE/build.gradle
@@ -0,0 +1,42 @@
plugins {
id 'org.springframework.boot' version '2.6.6'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}

group = 'sidedish'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'

configurations {
compileOnly {
extendsFrom annotationProcessor
}
}

repositories {
mavenCentral()
}

dependencies {
// spring web
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-web'

// lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'

// DB
runtimeOnly 'com.h2database:h2'
runtimeOnly 'mysql:mysql-connector-java'

// test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.rest-assured:rest-assured'
}

tasks.named('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
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 4f385a1

Please sign in to comment.