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#6] Kiosk Project 2주 차 PR #24

Open
wants to merge 134 commits into
base: team-06
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
31c1831
Init project
Kakamotobi Jun 19, 2023
a4059c6
Add project ground rules
Kakamotobi Jun 20, 2023
aff448b
chore: FE 프로젝트 생성
Kakamotobi Jun 20, 2023
5b07fcc
be-feat : init
Sumin-Kim-dev Jun 20, 2023
df41f0f
docs: git branch 컨벤션 추가
Kakamotobi Jun 20, 2023
54b66a0
#5 feat : Entity 생성
Sumin-Kim-dev Jun 20, 2023
03da6fd
#6 chore: Prettier, ESLint 충돌 해결
Kakamotobi Jun 20, 2023
f422faa
#1 feat: Update README.md
sudago Jun 20, 2023
4739032
#4 feat : schema.sql 작성 및 DB 설정
sudago Jun 20, 2023
df41929
#5 feat : pk id로 통일, Sales.date 타입 변경
Sumin-Kim-dev Jun 20, 2023
6e390f6
Merge pull request #10 from kiosk-max-06/feature#5
sudago Jun 21, 2023
01b3fa6
Merge pull request #11 from kiosk-max-06/feature#4
Sumin-Kim-dev Jun 21, 2023
f88e9b9
#13 feat : OrderController, OrderRepository, OrderService 뼈대 작업
pie2457 Jun 21, 2023
34ce958
#4 feat : 스키마 수정
sudago Jun 21, 2023
d78a987
#4 fix : 스키마 수정
sudago Jun 21, 2023
9e47691
Merge remote-tracking branch 'origin/feature#4' into feature#4
sudago Jun 21, 2023
f117dde
#4 feat : 스키마 수정
sudago Jun 21, 2023
bee3969
#7 design: Tabs 컴포넌트 구현
Kakamotobi Jun 20, 2023
2941397
#7 design: Panel 컴포넌트 구현
Kakamotobi Jun 20, 2023
0de2be8
#7 design: Tabs UI 완료 및 mock data 설정
Kakamotobi Jun 21, 2023
eb8d391
#7 style: import 순서 수정
Kakamotobi Jun 22, 2023
71e83aa
"test"
JJONSOO Jun 22, 2023
cc3c551
feat : main.yml
JJONSOO Jun 22, 2023
5e9d940
Github Action dev branch 에서 실행됨?
JJONSOO Jun 22, 2023
c1233ca
Github Action dev branch 에서 실행됨?
JJONSOO Jun 22, 2023
a213673
Github Action dev branch
JJONSOO Jun 22, 2023
017d7cf
Github Action dev branch 에서 실행됨?
JJONSOO Jun 22, 2023
0456cbd
Github Action dev branch 에서 실행됨?
JJONSOO Jun 22, 2023
a19761c
Merge pull request #18 from JJONSOO/dev
JJONSOO Jun 22, 2023
760ba17
Revert "Dev"
JJONSOO Jun 22, 2023
10833fb
Merge pull request #19 from kiosk-max-06/revert-18-dev
JJONSOO Jun 22, 2023
d7b9cb3
#13 feat : Order 테이블에 저장하는 기능 구현 - 미완성
pie2457 Jun 22, 2023
316d79f
#4 fix: 스키마 수정
sudago Jun 22, 2023
dbc7f08
#4 feat: data.sql 추가
sudago Jun 22, 2023
befe938
#17 design: 메뉴 추가 모달 생성
Kakamotobi Jun 22, 2023
d2f26f9
#17 feat: 모달 활성/비활성 구현
Kakamotobi Jun 22, 2023
319948a
#17 feat: Modal내부 Form 컴포넌트들 구현
Kakamotobi Jun 22, 2023
c9787dd
#17 fix: modal validate 오류수정
Kakamotobi Jun 22, 2023
681daba
#17 design: Modal 기본 레이아웃 및 스타일링
Kakamotobi Jun 22, 2023
338eb56
#17 design: MenuOptionForm 스타일 적용
Kakamotobi Jun 22, 2023
beac0a4
#4 fix: 예약어에 따른 테이블명 수정
sudago Jun 23, 2023
1d02c88
#4 fix: 데이터 접근 불가 한 오류로 스크립트 수정
sudago Jun 23, 2023
fcf598b
#13 feat : Order 테이블에 저장하는 기능 구현 - 완성
pie2457 Jun 23, 2023
59ba484
Merge branch 'develop' into feature#13
pie2457 Jun 23, 2023
400012e
Merge pull request #23 from kiosk-max-06/feature#13
pie2457 Jun 23, 2023
9c5fb76
#12 feat: 메뉴 화면을 위한 dto 생성
sudago Jun 21, 2023
3cd5905
#12 feat: 생성자, 세터 애노테이션 추가
sudago Jun 22, 2023
5e7c659
#12 feat: 홈페이지 방문 시, 모든 카테고리 및 메뉴 반환
sudago Jun 22, 2023
5e22b10
#12 feat: domain에 getter 애노테이션 추가
sudago Jun 22, 2023
082ecd6
#12 fix: 메뉴 반환 시 Object -> List 로 반환
sudago Jun 23, 2023
80c4c9c
#12 fix: api 명세서의 json 형식에 따라 변수 명 변경
sudago Jun 23, 2023
609ae1e
Merge branch 'develop' into feature#4
pie2457 Jun 23, 2023
824761d
Merge pull request #20 from kiosk-max-06/feature#4
pie2457 Jun 23, 2023
259ea2e
#12 fix: 변수명 변경에 따른 테스트 코드 메서드 수정
sudago Jun 24, 2023
7426b19
#24 feat: 당일 판매량 순서대로 내림차순 정렬하는 기능 구현
sudago Jun 24, 2023
18b6078
#12 fix: 변수명 변경에 따른 테스트 코드 메서드 수정
sudago Jun 24, 2023
5c47e21
#24 feat: 당일 판매량 순서대로 내림차순 정렬하는 기능 구현
sudago Jun 24, 2023
8e7dcf0
#24 fix: 당일 판매량 기능 메서드 분리
sudago Jun 25, 2023
af56af7
#28 style : 필요없는 주석 제거
pie2457 Jun 26, 2023
97897e4
#28 feat : OrderMenu, OrderMenuOption, Sales에 주문 내역 저장
pie2457 Jun 26, 2023
96b0e18
#28 refactor : 필요없는 코드 제거
pie2457 Jun 26, 2023
ff32500
#28 sytle : order_status 삭제
pie2457 Jun 26, 2023
5ee62c4
#28 refactor : 패키지 구조 변경 및 클래스명 통일
pie2457 Jun 26, 2023
e6641b6
#28 fix : Sales 테이블에 주문 정보가 업데이트 되지 않았던 문제를 해결
pie2457 Jun 26, 2023
edcc044
#29 chore : Springboot 3.x 에 맞는 swagger dependency 설정 추가
JJONSOO Jun 27, 2023
212e45d
#29 chore : Api 요청에 대한 설명 추가
JJONSOO Jun 27, 2023
09ce046
Merge branch 'backend' into feature#29
JJONSOO Jun 27, 2023
37783db
#28 style : 날짜 형식 변경
pie2457 Jun 27, 2023
14d4034
#24 refactor: namedParameterJdbcTemplate으로 변경
sudago Jun 27, 2023
ff59ed9
#34 feat : Response Entity 생성
pie2457 Jun 27, 2023
d80a5b8
#34 refactor : 생성자 파라미터 변경
pie2457 Jun 27, 2023
94c7f7c
Merge branch 'backend' into feature#28
pie2457 Jun 27, 2023
d3ebec5
#31 refactor: menu의 service와 repository의 할 일에 맞게 리팩터링
sudago Jun 27, 2023
4a0f596
#31 refactor: SqlParameterSource로 업캐스팅
sudago Jun 27, 2023
a852df2
#22 design: Cart 생성
Kakamotobi Jun 25, 2023
310b5a0
#22 feat: Cart hide 기능추가
saejinpark Jun 26, 2023
1ecce2e
#32 refactor: 전체 리팩토링
saejinpark Jun 27, 2023
eafc204
temp
saejinpark Jun 27, 2023
3f5549a
#32 refactor: Cart timeout 초기화 조건 수정
Kakamotobi Jun 27, 2023
33c2199
Merge pull request #30 from kiosk-max-06/feature#29
pie2457 Jun 27, 2023
82583c9
#34 test : OrderRepository 테스트 코드 추가
pie2457 Jun 27, 2023
b400af3
Merge branch 'backend' into feature#34
pie2457 Jun 27, 2023
4021450
Merge branch 'backend' into feature#31
pie2457 Jun 27, 2023
230e402
#31 fix: 쿼리문 수정
sudago Jun 28, 2023
48c25d5
Merge remote-tracking branch 'origin/feature#31' into feature#31
sudago Jun 28, 2023
eb25dbc
Merge pull request #33 from kiosk-max-06/feature#28
JJONSOO Jun 28, 2023
c0bfade
Merge branch 'backend' into feature#34
JJONSOO Jun 28, 2023
a4628d9
Merge pull request #36 from kiosk-max-06/feature#34
JJONSOO Jun 28, 2023
530b61f
Merge branch 'backend' into feature#31
JJONSOO Jun 28, 2023
7e1e366
design: 임시커밋
saejinpark Jun 28, 2023
c0c4fc7
#31 fix: "*" 이 포함된 쿼리 수정
sudago Jun 28, 2023
b3d75bf
Merge remote-tracking branch 'origin/feature#31' into feature#31
sudago Jun 28, 2023
9581909
Merge pull request #35 from kiosk-max-06/feature#31
sudago Jun 28, 2023
bb7a4d1
Merge pull request #39 from kiosk-max-06/feature#31
sudago Jun 28, 2023
f65d736
#27 chore : application.yml 삭제
JJONSOO Jun 28, 2023
3edd2d6
#27 chore : Github Action을 실행시키기위한 스크립트 작성
JJONSOO Jun 28, 2023
c692198
#27 chore : Code Deploy 스크립트 작성
JJONSOO Jun 28, 2023
dc26c30
#27 chore : 새로운 프로젝트가 잘 빌드되어있는지 확인하기 위한 스크립트 작성
JJONSOO Jun 28, 2023
7fc0327
#27 chore : 현재 nginx와 연결되어있는 포트번호가 아닌 다른 포트번호에 새로운 프로젝트빌드하는 스크리브 작성
JJONSOO Jun 28, 2023
c920b9f
#27 chore : nginx 새로운 프로젝트가 빌드된 포트로 변경하는 스크립트 작성
JJONSOO Jun 28, 2023
137ab94
Merge pull request #40 from kiosk-max-06/feature#27
JJONSOO Jun 28, 2023
6757ce1
#27 chore : VISIBLE 제거
JJONSOO Jun 28, 2023
1f1e2c6
Merge pull request #41 from kiosk-max-06/feature#27
JJONSOO Jun 28, 2023
5767aad
#27 chore : spring-webapp.jar 이름 수정
JJONSOO Jun 28, 2023
05f8c80
Merge pull request #42 from kiosk-max-06/feature#27
JJONSOO Jun 28, 2023
baa392c
#27 chore : spring-webapp.jar 이름 수정
JJONSOO Jun 28, 2023
fa65ea4
Merge pull request #43 from kiosk-max-06/feature#27
JJONSOO Jun 28, 2023
e2a19cd
#27 chore : spring-webapp.jar 이름 수정
JJONSOO Jun 28, 2023
925b5e5
Merge pull request #44 from kiosk-max-06/feature#27
JJONSOO Jun 28, 2023
54a45f9
#32 design: Cart UI 일차 수정
Kakamotobi Jun 28, 2023
9195387
refactor: 전체 구조 리팩토링
Kakamotobi Jun 28, 2023
644ff3e
#45 chore : CORS 기본 적용
JJONSOO Jun 29, 2023
334fd4e
Merge pull request #46 from kiosk-max-06/feature#45
JJONSOO Jun 29, 2023
8c47b2b
Update README.md
pie2457 Jun 29, 2023
65cdcd9
Update README.md
pie2457 Jun 29, 2023
d3409fd
Update README.md
pie2457 Jun 29, 2023
c3c07f3
design: 버그 및 디자인 수정
Kakamotobi Jun 29, 2023
6c49d06
#45 chore : CORS ProxyBeansMethod 삭제
JJONSOO Jun 29, 2023
5657e23
Merge pull request #49 from kiosk-max-06/feature#45
JJONSOO Jun 29, 2023
c63ebf9
#45 chore : MenuController ResponseEntity 수정
JJONSOO Jun 29, 2023
fb6acab
Merge pull request #50 from kiosk-max-06/feature#45
JJONSOO Jun 29, 2023
6d220ad
Update README.md
saejinpark Jun 29, 2023
321d705
#45 chore : localhost:3000먼 열어두도록 수정
JJONSOO Jun 29, 2023
0f14ff1
Merge pull request #51 from kiosk-max-06/feature#45
JJONSOO Jun 29, 2023
6665510
feat: cart 추가 삭제
saejinpark Jun 29, 2023
0a207c3
#52 design: Modal form 및 Cart 디자인 수정
Kakamotobi Jun 29, 2023
436ef49
#53 feat: Receipt 구현
Kakamotobi Jun 29, 2023
6998a3d
임시커밋
saejinpark Jun 29, 2023
9d44da0
Merge branch 'frontend' of https://github.com/kiosk-max-06/kiosk-max …
saejinpark Jun 29, 2023
2ab3b2e
Update README.md
saejinpark Jun 29, 2023
20064d7
fix: paymentAmount을 receivedAmount으로 변경
Kakamotobi Jun 30, 2023
b0a627d
Merge pull request #55 from kiosk-max-06/frontend
Kakamotobi Jun 30, 2023
6c32f4c
Merge pull request #57 from kiosk-max-06/backend
JJONSOO Jun 30, 2023
8abec9a
fix: 버그 및 디자인 수정
Kakamotobi Jun 30, 2023
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
76 changes: 76 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Deploy to Amazon EC2

on:
pull_request:
branches:
- backend
- feature#27
# 본인이 설정한 값을 여기서 채워넣습니다.
# 리전, 버킷 이름, CodeDeploy 앱 이름, CodeDeploy 배포 그룹 이름
env:
AWS_REGION: ap-northeast-2
S3_BUCKET_NAME: kiosk-cicd-bucket
CODE_DEPLOY_APPLICATION_NAME: kiosk-codedeploy-app
CODE_DEPLOY_DEPLOYMENT_GROUP_NAME: kiosk-codedeploy-deployment-group

permissions:
contents: read

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
environment: production

steps:
# (1) 기본 체크아웃
- name: Checkout
uses: actions/checkout@v3

# (2) JDK 17 세팅
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'

# 1. db 정보를 담은 yml 파일 생성
- name: Make application.properties file
run: touch ./backend/src/main/resources/application.yml

- name: Output application information
run: echo '${{ secrets.APPLICATION }}' > ./backend/src/main/resources/application.yml

# (3) Gradle build (Test 제외)
- name: Build with Gradle
run: |
cd backend
chmod +x gradlew
./gradlew clean build -x test


# (4) AWS 인증 (IAM 사용자 Access Key, Secret Key 활용)
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_PRIVATE_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}

# (5) 빌드 결과물을 S3 버킷에 업로드
- name: Upload to AWS S3
run: |
aws deploy push \
--application-name ${{ env.CODE_DEPLOY_APPLICATION_NAME }} \
--ignore-hidden-files \
--s3-location s3://$S3_BUCKET_NAME/$GITHUB_SHA.zip \
--source .

# (6) S3 버킷에 있는 파일을 대상으로 CodeDeploy 실행
- name: Deploy to AWS EC2 from S3
run: |
aws deploy create-deployment \
--application-name ${{ env.CODE_DEPLOY_APPLICATION_NAME }} \
--deployment-config-name CodeDeployDefault.AllAtOnce \
--deployment-group-name ${{ env.CODE_DEPLOY_DEPLOYMENT_GROUP_NAME }} \
--s3-location bucket=$S3_BUCKET_NAME,key=$GITHUB_SHA.zip,bundleType=zip
132 changes: 131 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,131 @@
# kiosk-max
# kiosk-max

## Members

| <img src="https://avatars.githubusercontent.com/u/75569293?v=4" width=100 height=100 alt="June"/> | <img src="https://avatars.githubusercontent.com/u/87856793?v=4" width=100 height=100 alt="길사"/> | <img src="https://avatars.githubusercontent.com/u/97204689?v=4" width=100 height=100 alt="지안"/> | <img src="https://avatars.githubusercontent.com/u/54755633?v=4" width=100 height=100 alt="Geppetto"/> | <img src="https://avatars.githubusercontent.com/u/104147789?s=64&v=4" width=100 height=100 alt="파이"/> | <img src="https://avatars.githubusercontent.com/u/79886384?v=4" width=100 height=100 alt="Kakamotobi"/> |
| :-----------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------: |
| [June(BE)](https://github.com/JJONSOO) | [길사(BE)](https://github.com/Sumin-Kim-dev) | [Jian(BE)](https://github.com/sudago) | [Geppetto(FE)](https://github.com/saejinpark) | [파이(BE)](https://github.com/pie2457) | [Kakamotobi(FE)](https://github.com/Kakamotobi) |

---

## 🧾 기술 스택

### 공통

![Git](https://img.shields.io/badge/-Git-F05032?style=flat&logo=Git&logoColor=white)
![GitHub](https://img.shields.io/badge/-GitHub-181717?style=flat&logo=GitHub&logoColor=white)

### Back-End

<img src="https://img.shields.io/badge/Java-007396?style=flat&logo=Java&logoColor=white"/> <img src="https://img.shields.io/badge/SpringBoot-6DB33F?style=flat&logo=SpringBoot&logoColor=white"/> <img src="https://img.shields.io/badge/AWS-FA7343?style=flat&logo=AmazonAWS&logoColor=white"/> <img src="https://img.shields.io/badge/MySQL-4479A1?style=flat&logo=MySQL&logoColor=white"/> ![IntelliJ IDEA](https://img.shields.io/badge/-IntelliJ%20IDEA-FF3850?style=flat&logo=IntelliJ%20IDEA&logoColor=white)


### Front-End
<img src="https://img.shields.io/badge/React-61DAFB.svg?style=for-the-badge&logo=React&logoColor=black" alt="react"/> <img src="https://img.shields.io/badge/TypeScript-3178C6.svg?style=for-the-badge&logo=TypeScript&logoColor=white" alt="typescript"/> <img src="https://img.shields.io/badge/Webpack-8DD6F9.svg?style=for-the-badge&logo=Webpack&logoColor=black" alt="webpack"/> <img src="https://img.shields.io/badge/CSS%20Modules-000000.svg?style=for-the-badge&logo=CSS-Modules&logoColor=white" alt="css Modules"/>

## ⚒️ Project Infra 구조
![image](https://user-images.githubusercontent.com/75569293/249665263-cb91e160-0591-41dd-9fb6-36e1390cbb13.png)

## Ground Rules

우리끼리 지켜야하는 약속 + 공감대

### Scrum

`시간`: 10:00 - 10:30

> **내용**
> 어제 했던 일
> 오늘 할 일
> 컨디션(10점 만점)
> 스크럼 마스터

<details>
<summary><b style="color: gray">Details</b></summary>
<h2>Process</h2>
<dl>
<dt>어제 무엇을 했는지 간단하게 공유.</dt>
<dd>
<blockquote>
<b>ex</b></br>
어제 계획했던대로, 검색창과 서버를 연결해서 자동완성 기능을 구현했다.<br>
어제 계획했던 사이드바의 메인메뉴와 서브메뉴간의 이동을 ㅇㅇ문제 때문에 아직 구현하지 못했다.
</blockquote>
</dd>
</dl>
<dl>
<dt>작고 구체적인 오늘의 목표/계획 공유.</dt>
<dd>
점심시간 전까지 Promise에 대해서 공부하고 내용을 기록하기.
코어타임 마무리 전까지 사이드바의 메인메뉴와 서브메뉴간의 이동을 구현하고 커밋 올리기.
1시간 동안 딤처리 로직을 리팩토링 하기.
</dd>
</dl>

<dl>
<dt>기타 공유</dt>
<dd>
<blockquote>
<b>ex</b></br>
이부분이 도무지 이해가 안가고 해결이 안되고 있는데 도와주실 분 있나요?
</blockquote>
</dd>
</dl>

<dl>
<dt>Rules</dt>
<dd>
공유자의 공유에 따른 가벼운 멘트 가능.<br/>
<blockquote>
<b>ex</b></br>
저도 같은 고민이 있었어요. 조금 이따가 같이 의논해 볼까요?<br>
</blockquote>
공유자의 고민, 문제점에 대한 깊은 대화는 위 과정이 끝나고 잡담 시간 혹은 개인학습/미션해결 시간에 하기.
</dd>
</dl>

<dl>
<dt>Scrum Master</dt>
<dd>
위 과정과 규칙이 원활하게 따르게 되도록 스크럼 진행하기.<br/>
스크럼 마무리할 때 내일의 스크럼마스터 지정.
</dd>
</dl>
</details>

## 🤝🏼 Collaboration

### Branch Convention

Postfix feature branch with issue #.

`main`
`develop`
`feature#1`
`feature#2`

### Commit Convention

Prefix with Issue #
Ex: `#1 feat: add new feature`

> `feat` : 새로운 기능 추가
> `design`: css 등 사용자 UI 디자인 변경
> `fix` : 버그 수정
> `docs` : 문서 수정
> `test` : 테스트 코드 추가
> `refactor` : 코드 리팩토링
> `style` : 코드 의미에 영향을 주지 않는 변경사항
> `chore` : 빌드 부분 혹은 패키지 매니저 수정사항

#### GitHub Projects

- Project 단위:

#### Issue Labels

`be`, `fe`, `bug`, `docs`, `help`, `question`, `feature`

### 주간회고

`시간`: (금) 15:00 ~ 15:30
25 changes: 25 additions & 0 deletions appspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: 0.0
os: linux

files:
- source: /
destination: /home/ubuntu/app
overwrite: yes

permissions:
- object: /
pattern: "**"
owner: ubuntu
group: ubuntu

hooks:
ApplicationStart:
- location: scripts/run_new_was.sh
timeout: 60
runas: ubuntu
- location: scripts/health_check.sh
timeout: 60
runas: ubuntu
- location: scripts/switch.sh
timeout: 60
runas: ubuntu
37 changes: 37 additions & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
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/
1 change: 1 addition & 0 deletions backend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Backend
47 changes: 47 additions & 0 deletions backend/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.0.7'
id 'io.spring.dependency-management' version '1.1.0'
}

group = 'team6.codesquad'
version = '0.0.1-SNAPSHOT'

java {
sourceCompatibility = '17'
}

configurations {
compileOnly {
extendsFrom annotationProcessor
}
}

repositories {
mavenCentral()
}

jar {
enabled = false
}

bootJar{
archivesBaseName = 'kiosk'
archiveFileName = 'spring-webapp.jar'
archiveVersion = "0.0.1"
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-web'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.4'
runtimeOnly 'com.mysql:mysql-connector-j'
}

tasks.named('test') {
useJUnitPlatform()
}
Binary file added backend/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions backend/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-7.6.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading