Skip to content
Merged

Dev #56

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
fd07b05
feat: ์Šคํ”„๋ง ์ดˆ๊ธฐ ์„ธํŒ… ๋ฐ ์—”ํ‹ฐํ‹ฐ ์ถ”๊ฐ€
chaeyeonlee898 Nov 6, 2025
251702a
Merge branch 'dev' of https://github.com/Lions-Forest/server into dev
chaeyeonlee898 Nov 6, 2025
4875b2e
feat: ๋ชจ์ž„ ๋ฐ ์ฐธ์—ฌ API ๊ฐœ๋ฐœ
limdaecheol Nov 8, 2025
c17249b
feat: ๋Œ“๊ธ€ API ๊ฐœ๋ฐœ
limdaecheol Nov 8, 2025
826b9e0
Create pull request template
limdaecheol Nov 8, 2025
3fa5336
feat: ํ›„๊ธฐ API ๊ฐœ๋ฐœ
limdaecheol Nov 8, 2025
fb0c08f
feat: google oauth2.0 ๋กœ๊ทธ์ธ ๊ธฐ๋Šฅ ์ถ”๊ฐ€
chaeyeonlee898 Nov 9, 2025
f994243
Merge pull request #2 from Lions-Forest/review
chaeyeonlee898 Nov 9, 2025
58caba8
chore: .gitignore ํŒŒ์ผ ์ˆ˜์ •
chaeyeonlee898 Nov 9, 2025
89cd718
Merge pull request #3 from Lions-Forest/feat/login
limdaecheol Nov 9, 2025
ab6a495
์ˆ˜์ •
limdaecheol Nov 9, 2025
a468ae5
์ˆ˜์ •
limdaecheol Nov 9, 2025
1c7fef4
Merge branch 'dev' of https://github.com/Lions-Forest/server into review
limdaecheol Nov 9, 2025
22b6f56
๋ธŒ๋žœ์น˜๋ณ€๊ฒฝ
limdaecheol Nov 9, 2025
d2d089c
refactor: API ์ˆ˜์ •
limdaecheol Nov 9, 2025
c0d410d
feat: user api ๋ฐ jwt ํ•„ํ„ฐ ์ถ”๊ฐ€
chaeyeonlee898 Nov 10, 2025
0776b32
Merge pull request #4 from Lions-Forest/feat/login
limdaecheol Nov 10, 2025
96d6fa8
Merge branch 'dev' of https://github.com/Lions-Forest/server into group
limdaecheol Nov 10, 2025
542fe9f
fix: ์˜ค๋ฅ˜ ์ฝ”๋“œ ์ˆ˜์ •
chaeyeonlee898 Nov 10, 2025
e88e54d
Merge pull request #5 from Lions-Forest/fix/review
chaeyeonlee898 Nov 10, 2025
280fb51
chore: ec2 ๋ฐฐํฌ ์œ„ํ•œ ์„ค์ • ์ถ”๊ฐ€
chaeyeonlee898 Nov 10, 2025
e5c5cc3
Merge pull request #6 from Lions-Forest/chore
chaeyeonlee898 Nov 10, 2025
1ebe963
chore: gitignore ๋ณ€๊ฒฝ
chaeyeonlee898 Nov 10, 2025
02a59fb
Merge pull request #7 from Lions-Forest/chore
chaeyeonlee898 Nov 10, 2025
ed87fc8
feat: ๋ชจ์ž„, ํ›„๊ธฐ ์‚ฌ์ง„ ๊ด€๋ จ api ์ถ”๊ฐ€ ๋ฐ s3 ์„ค์ •
limdaecheol Nov 10, 2025
4bf26d9
Merge origin/dev into group: resolve conflicts
limdaecheol Nov 10, 2025
58f26c5
fix: ๋นŒ๋“œ ์—๋Ÿฌ ํ•ด๊ฒฐ ๋ฐ s3 ์„ค์ • ์ถ”๊ฐ€
limdaecheol Nov 10, 2025
1f6060f
Merge pull request #8 from Lions-Forest/group
chaeyeonlee898 Nov 11, 2025
b65c8e7
feat:Swagger ์„ค์ • ์ถ”๊ฐ€
limdaecheol Nov 11, 2025
fa4788f
feat:Swagger ์„ค์ • .yml ์ถ”๊ฐ€
limdaecheol Nov 11, 2025
c419975
fix: firebase ์‚ฌ์šฉํ•˜๋„๋ก ๋กœ๊ทธ์ธ api ๋ฐ ์„ค์ • ์ˆ˜์ •
chaeyeonlee898 Nov 11, 2025
d54a784
Merge pull request #10 from Lions-Forest/chore
chaeyeonlee898 Nov 11, 2025
b5c0f33
Merge branch 'dev' into group
chaeyeonlee898 Nov 11, 2025
95b5254
Merge pull request #9 from Lions-Forest/group
chaeyeonlee898 Nov 11, 2025
4ca1485
fix: ์˜คํƒ€ ์ˆ˜์ • ๋ฐ gitignore ์ถ”๊ฐ€
chaeyeonlee898 Nov 11, 2025
57dc777
Merge pull request #11 from Lions-Forest/chore
chaeyeonlee898 Nov 11, 2025
828b9ae
feat: ์œ ์ € api ์Šค์›จ๊ฑฐ ์ถ”๊ฐ€
chaeyeonlee898 Nov 11, 2025
b2d7ab5
feat: swagger RequestBody ํฌ๋งท ์„ค์ •
limdaecheol Nov 11, 2025
466cc85
Merge branch 'group' of https://github.com/Lions-Forest/server into gโ€ฆ
limdaecheol Nov 11, 2025
ddcd3fc
feat: ์—๋Ÿฌ์ฝ”๋“œ ๋ฐ ์Šค์›จ๊ฑฐ jwt ์„ค์ • ์ถ”๊ฐ€
chaeyeonlee898 Nov 11, 2025
20db552
Merge pull request #12 from Lions-Forest/group
chaeyeonlee898 Nov 11, 2025
93e0913
Merge pull request #13 from Lions-Forest/chore
limdaecheol Nov 11, 2025
282b038
fix:์˜ค๋ฅ˜ ์ˆ˜์ •
limdaecheol Nov 11, 2025
2f76171
fix:์˜ค๋ฅ˜ ์ˆ˜์ •
limdaecheol Nov 11, 2025
7b4bd28
fix:๋จธ์ง€ ์ถฉ๋Œ ํ•ด๊ฒฐ
limdaecheol Nov 11, 2025
e45f6e4
feat: swagger ๋ฐฐํฌ ์ฃผ์†Œ ์ถ”๊ฐ€
chaeyeonlee898 Nov 11, 2025
5d488e2
Merge pull request #14 from Lions-Forest/chore
chaeyeonlee898 Nov 11, 2025
5b42c99
feat: ์ž„์‹œ jwt ํ† ํฐ ๋ฐœ๊ธ‰
chaeyeonlee898 Nov 11, 2025
7a0a09f
Merge pull request #15 from Lions-Forest/feat/login
chaeyeonlee898 Nov 11, 2025
54a79ab
feat: ์•Œ๋ฆผ API ์ถ”๊ฐ€, fix: ๊ธฐ์กด API ๋””ํ…Œ์ผ ์ถ”๊ฐ€
limdaecheol Nov 11, 2025
04cb65e
Merge branch 'dev' of https://github.com/Lions-Forest/server into group
limdaecheol Nov 11, 2025
45fcc66
Merge pull request #16 from Lions-Forest/group
chaeyeonlee898 Nov 12, 2025
7cf8234
fix: ์ž„์‹œ ๋กœ๊ทธ์ธ ํ…Œ์ŠคํŠธ์ฝ”๋“œ ์ˆ˜์ •
chaeyeonlee898 Nov 12, 2025
e99dc21
feat: cors ํ—ˆ์šฉ ๋„๋ฉ”์ธ ์ถ”๊ฐ€
chaeyeonlee898 Nov 12, 2025
0eccf19
fix: ํ”„๋ก ํŠธ ํ…Œ์ŠคํŠธ์šฉ ์ž„์‹œ๋กœ๊ทธ์ธ api
chaeyeonlee898 Nov 12, 2025
f6f0394
Merge pull request #17 from Lions-Forest/chore
chaeyeonlee898 Nov 12, 2025
681c8c3
fix: ๋กœ๊ทธ์ธ ์ด๋ฉ”์ผ์ธ์ฆ ์ˆ˜์ •
chaeyeonlee898 Nov 12, 2025
275a6d1
Merge pull request #18 from Lions-Forest/feat/login
chaeyeonlee898 Nov 12, 2025
fbf0013
Merge branch 'dev' of https://github.com/Lions-Forest/server into group
limdaecheol Nov 12, 2025
5bc474c
fix: ์ž„์‹œ ๋กœ๊ทธ์ธ api ํŒŒ๋ผ๋ฏธํ„ฐ ์ˆ˜์ •
chaeyeonlee898 Nov 12, 2025
1fd66a4
Merge pull request #19 from Lions-Forest/feat/login
limdaecheol Nov 12, 2025
11894ea
Merge branch 'dev' of https://github.com/Lions-Forest/server into group
limdaecheol Nov 12, 2025
acad44b
feat:์•Œ๋ฆผ API ๊ตฌํ˜„
limdaecheol Nov 12, 2025
87dc597
Merge pull request #20 from Lions-Forest/group
chaeyeonlee898 Nov 12, 2025
055d9d5
fix: ๋ชจ์ž„ ์นดํ…Œ๊ณ ๋ฆฌ ๋ณ€๊ฒฝ
chaeyeonlee898 Nov 12, 2025
7016d23
fix: ๋ชจ์ž„ ์นดํ…Œ๊ณ ๋ฆฌ ๋ณ€๊ฒฝ
chaeyeonlee898 Nov 12, 2025
9603c1a
Merge pull request #21 from Lions-Forest/fix/group
chaeyeonlee898 Nov 12, 2025
b1e89bc
feat:ํ›„๊ธฐ response์— groupTitle ์ถ”๊ฐ€
limdaecheol Nov 13, 2025
c408742
Merge branch 'group' of https://github.com/Lions-Forest/server into gโ€ฆ
limdaecheol Nov 13, 2025
460556e
Merge pull request #22 from Lions-Forest/group
limdaecheol Nov 13, 2025
8fc167d
fix: response ํ˜•์‹ ๋ณ€๊ฒฝ
limdaecheol Nov 13, 2025
23b6ba4
Merge pull request #23 from Lions-Forest/group
limdaecheol Nov 13, 2025
71ded51
fix: ๋‚ด์ •๋ณด ์ˆ˜์ • api ์ด๋ฏธ์ง€ ์—…๋กœ๋“œ ์ˆ˜์ •
chaeyeonlee898 Nov 13, 2025
96abe47
Merge pull request #24 from Lions-Forest/feat/user
chaeyeonlee898 Nov 13, 2025
60aa44b
chore: ๋””๋ ‰ํ† ๋ฆฌ ๊ตฌ์กฐ ๋ณ€๊ฒฝ
chaeyeonlee898 Nov 13, 2025
6d9ecc3
feat: ๋žœ๋ค ๋‹‰๋„ค์ž„ api ๊ตฌํ˜„
chaeyeonlee898 Nov 13, 2025
4056a83
Merge pull request #25 from Lions-Forest/feat/user
chaeyeonlee898 Nov 14, 2025
09d5183
fix: ๋‚ด์ •๋ณด์ˆ˜์ • api ์ˆ˜์ •
chaeyeonlee898 Nov 14, 2025
407e267
Merge pull request #26 from Lions-Forest/feat/login
chaeyeonlee898 Nov 14, 2025
a647dd1
fix: notblank ์ˆ˜์ •
chaeyeonlee898 Nov 14, 2025
4ddf784
Merge pull request #27 from Lions-Forest/feat/user
chaeyeonlee898 Nov 14, 2025
07a4160
feat:ํ›„๊ธฐ ์ „์ฒด ์กฐํšŒ API
limdaecheol Nov 14, 2025
ab71c59
Merge pull request #28 from Lions-Forest/group
limdaecheol Nov 14, 2025
b8015b9
feat: ๋Œ“๊ธ€ ์ข‹์•„์š” ์—ฌ๋ถ€ ์กฐํšŒํ•˜๋Š” api ์ถ”๊ฐ€
chaeyeonlee898 Nov 14, 2025
bb5e5cf
Merge pull request #29 from Lions-Forest/comment
chaeyeonlee898 Nov 14, 2025
09ad390
feat: ์Šค์ผ€์ค„๋Ÿฌ๋กœ ๋ชจ์ž„ state ๊ด€๋ฆฌ
chaeyeonlee898 Nov 15, 2025
d07b2b7
fix: ์ตœ์ดˆ ํšŒ์›๊ฐ€์ž… ์‹œ ๋ฒ„๊ทธ ์ˆ˜์ •
chaeyeonlee898 Nov 15, 2025
4065550
fix: ๋Œ“๊ธ€ ์ข‹์•„์š” ํ™•์ธ api ์—”๋“œํฌ์ธํŠธ ์ˆ˜์ •
chaeyeonlee898 Nov 15, 2025
9a016b6
Merge pull request #30 from Lions-Forest/fix/group
chaeyeonlee898 Nov 15, 2025
5adb6aa
feat: ๋ชจ์ž„ ์ •๋ณด ๊ฐ„๋‹จ ์กฐํšŒ api ๊ตฌํ˜„
chaeyeonlee898 Nov 15, 2025
4cc973d
Merge pull request #31 from Lions-Forest/fix/group
chaeyeonlee898 Nov 15, 2025
c2fec63
fix: ํ›„๊ธฐ ์กฐํšŒ api dto ์ˆ˜์ •
chaeyeonlee898 Nov 15, 2025
555fb89
Merge pull request #32 from Lions-Forest/fix/review
chaeyeonlee898 Nov 15, 2025
60b64b9
chore: ํ”„๋ก ํŠธ URL ์ถ”๊ฐ€
limdaecheol Nov 15, 2025
258398c
Merge pull request #33 from Lions-Forest/group
limdaecheol Nov 15, 2025
2c606bd
chore: ๋Œ“๊ธ€ ์•Œ๋ฆผ ํฌ๋งท ๋ณ€๊ฒฝ
limdaecheol Nov 16, 2025
989ab58
Merge pull request #34 from Lions-Forest/chore
limdaecheol Nov 16, 2025
f2dc371
chore: ์ปค์Šคํ…€ ์˜ˆ์™ธ์ฒ˜๋ฆฌ
limdaecheol Nov 17, 2025
bc8b72c
Merge pull request #35 from Lions-Forest/chore
limdaecheol Nov 17, 2025
edec738
feat: ์•Œ๋ฆผ TargetId ํ•„๋“œ ์ถ”๊ฐ€
limdaecheol Nov 17, 2025
f270aac
Merge pull request #36 from Lions-Forest/notification
chaeyeonlee898 Nov 17, 2025
3bebd3f
feat: ci์ฝ”๋“œ ์ถ”๊ฐ€
chaeyeonlee898 Nov 17, 2025
180199e
Merge pull request #37 from Lions-Forest/chore
chaeyeonlee898 Nov 17, 2025
ced0292
fix: ci์ฝ”๋“œ ๊ฒฝ๋กœ ์ˆ˜์ •
chaeyeonlee898 Nov 17, 2025
fcdb9be
Merge pull request #38 from Lions-Forest/chore
chaeyeonlee898 Nov 17, 2025
7dcfb9c
fix: oauth ๋กœ๊ทธ์ธ์œผ๋กœ ์ˆ˜์ •
chaeyeonlee898 Nov 17, 2025
2701f5b
Merge pull request #39 from Lions-Forest/feat/login
chaeyeonlee898 Nov 17, 2025
e379cf2
fix: CI build๋ฅผ ์œ„ํ•œ H2 db ์„ค์ •
chaeyeonlee898 Nov 17, 2025
ddf6f2b
feat: test/application.yml ์ถ”๊ฐ€
chaeyeonlee898 Nov 17, 2025
88e5797
Merge pull request #40 from Lions-Forest/chore
chaeyeonlee898 Nov 17, 2025
9906caa
feat: ํ…Œ์ŠคํŠธ ์œ„ํ•œ ํŒŒ์ผ ์ถ”๊ฐ€
chaeyeonlee898 Nov 17, 2025
4b4113f
Merge pull request #41 from Lions-Forest/chore
chaeyeonlee898 Nov 17, 2025
6e35e2c
fix: ci ์ฝ”๋“œ ๋นŒ๋“œ์—์„œ ํ…Œ์ŠคํŠธ ์—†์• ๋„๋ก ์ˆ˜์ •
chaeyeonlee898 Nov 17, 2025
ac3e568
Merge pull request #42 from Lions-Forest/chore
chaeyeonlee898 Nov 17, 2025
6e056d9
fix: ์‹คํ–‰ ๊ถŒํ•œ ๊ด€๋ จ ์ฝ”๋“œ ์‚ญ์ œ
chaeyeonlee898 Nov 17, 2025
82dea5c
Merge pull request #43 from Lions-Forest/chore
chaeyeonlee898 Nov 17, 2025
9ae4f04
fix: ๋กœ๊ทธ์ธ ๊ตฌ๊ธ€ ์ฝ”๋“œ ๋ฐ›๋„๋ก ๋ณ€๊ฒฝ
chaeyeonlee898 Nov 17, 2025
dfd5473
Merge pull request #44 from Lions-Forest/feat/user
chaeyeonlee898 Nov 17, 2025
d81746c
chore: -plain.jar ์ƒ์„ฑ ์•ˆ๋˜๋„๋ก ์ˆ˜์ •
chaeyeonlee898 Nov 17, 2025
eaff1ea
Merge pull request #45 from Lions-Forest/chore
chaeyeonlee898 Nov 17, 2025
b8febbb
chore: ๋””๋ฒ„๊น… ๋กœ๊ทธ ์ถ”๊ฐ€
chaeyeonlee898 Nov 17, 2025
9dad05a
Merge pull request #46 from Lions-Forest/chore
chaeyeonlee898 Nov 17, 2025
41f295c
chore: jar ๋””๋ ‰ํ† ๋ฆฌ ํ•˜๋“œ์ฝ”๋”ฉ์œผ๋กœ ์ˆ˜์ •
chaeyeonlee898 Nov 17, 2025
a25c5cd
chore: ์‚ญ์ œํ•œ ํŒŒ์ผ ์ถ”๊ฐ€
chaeyeonlee898 Nov 17, 2025
7c0c9de
Merge pull request #47 from Lions-Forest/chore
chaeyeonlee898 Nov 17, 2025
602282b
feat:ํ—ฌ์Šค์ฒดํฌ api ์ถ”๊ฐ€
chaeyeonlee898 Nov 18, 2025
043a0c2
feat: ์ง€๋„ ์ข‹์•„์š” ์•Œ๋ฆผ ์ƒ์„ฑ
chaeyeonlee898 Nov 18, 2025
13ae43d
Merge pull request #48 from Lions-Forest/radar
chaeyeonlee898 Nov 18, 2025
6365d77
chore: ํ—ˆ์šฉ ๊ฒฝ๋กœ ์ถ”๊ฐ€
chaeyeonlee898 Nov 18, 2025
126c19b
Merge pull request #49 from Lions-Forest/chore
chaeyeonlee898 Nov 18, 2025
c9536e4
fix: targetId ๋ณ€๊ฒฝ
limdaecheol Nov 18, 2025
276638b
Merge pull request #50 from Lions-Forest/notification
limdaecheol Nov 18, 2025
6f7bce8
fix: targetType ๋ณ€๊ฒฝ
limdaecheol Nov 18, 2025
f6d03bb
Merge pull request #51 from Lions-Forest/notification
limdaecheol Nov 18, 2025
714c1d1
trigger deploy
limdaecheol Nov 18, 2025
7268d79
Merge pull request #52 from Lions-Forest/notification
limdaecheol Nov 18, 2025
091de1d
feat: ๋‹‰๋„ค์ž„ ๋ณ€๊ฒฝ ์˜ˆ์™ธ์ฒ˜๋ฆฌ ์ถ”๊ฐ€
chaeyeonlee898 Nov 18, 2025
0079dab
feat: ๋กœ๊ทธ์ธ ๊ณผ์ • ์—๋Ÿฌ์ฒ˜๋ฆฌ
chaeyeonlee898 Nov 18, 2025
448307b
Merge pull request #53 from Lions-Forest/feat/user
chaeyeonlee898 Nov 18, 2025
ae2028f
feat: ๋ชจ์ž„ ๊ฐœ์„ค ์‹œ๊ฐ ๊ฒ€์ฆํ•˜๋Š” ๋กœ์ง ์ถ”๊ฐ€
chaeyeonlee898 Nov 18, 2025
9c555e5
Merge pull request #54 from Lions-Forest/group
chaeyeonlee898 Nov 18, 2025
9780377
fix: ์—๋Ÿฌ์ฝ”๋“œ ์˜คํƒ€ ์ˆ˜์ •
chaeyeonlee898 Nov 18, 2025
3187685
Merge pull request #55 from Lions-Forest/chore
chaeyeonlee898 Nov 18, 2025
70b2b92
Merge branch 'main' into dev
chaeyeonlee898 Nov 18, 2025
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
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/gradlew text eol=lf
*.bat text eol=crlf
*.jar binary
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@

[pull_request_template.md](https://github.com/user-attachments/files/23431873/pull_request_template.md)

## ๐Ÿ“ ์š”์•ฝ(Summary)

<!--- ๋ณ€๊ฒฝ ์‚ฌํ•ญ ๋ฐ ๊ด€๋ จ ์ด์Šˆ์— ๋Œ€ํ•ด ๊ฐ„๋‹จํ•˜๊ฒŒ ์ž‘์„ฑํ•ด์ฃผ์„ธ์š”. ์–ด๋–ป๊ฒŒ๋ณด๋‹ค ๋ฌด์—‡์„ ์™œ ์ˆ˜์ •ํ–ˆ๋Š”์ง€ ์„ค๋ช…ํ•ด์ฃผ์„ธ์š”. -->
Expand Down
80 changes: 80 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# ์›Œํฌํ”Œ๋กœ์šฐ์˜ ์ด๋ฆ„
name: Spring Boot CI/CD with Gradle

# ์›Œํฌํ”Œ๋กœ์šฐ๊ฐ€ ์‹คํ–‰๋  ์‹œ์ (์ด๋ฒคํŠธ)์„ ์ •์˜
on:
# dev ๋ธŒ๋žœ์น˜๋กœ push ์ด๋ฒคํŠธ๊ฐ€ ๋ฐœ์ƒํ–ˆ์„ ๋•Œ
push:
branches: [ "dev" ]

jobs:
# 'build-and-deploy'๋ผ๋Š” ์ด๋ฆ„์˜ Job ์ •์˜
build-and-deploy:
# ์ด Job์„ ์‹คํ–‰ํ•  ๊ฐ€์ƒ ๋จธ์‹  ํ™˜๊ฒฝ (Ubuntu ์ตœ์‹  ๋ฒ„์ „)
runs-on: ubuntu-latest

# Job ๋‚ด๋ถ€์—์„œ ์‹คํ–‰๋  ๋‹จ๊ณ„(Step)๋“ค
steps:
# 1. ์ฝ”๋“œ ์ฒดํฌ์•„์›ƒ
- name: Checkout Repository
uses: actions/checkout@v4

# 2. JDK 17 ์„ค์น˜
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'

# 3. Gradle ์บ์‹œ ์„ค์ • (๋นŒ๋“œ ์†๋„ ํ–ฅ์ƒ)
- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-

# 4. gradlew ์‹คํ–‰ ๊ถŒํ•œ ๋ถ€์—ฌ
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew

# 5. Gradle๋กœ ๋นŒ๋“œ (ํ…Œ์ŠคํŠธ ์Šคํ‚ต์„ ์›ํ•˜๋ฉด -x test ์ถ”๊ฐ€)
- name: Build with Gradle
run: ./gradlew bootJar -x test

# =======================================================
# 5-1. (์ด ๋‹จ๊ณ„๋ฅผ ์ถ”๊ฐ€ํ•˜์„ธ์š”!!!) ๋นŒ๋“œ ํด๋” ๋‚ด์šฉ ํ™•์ธ
# =======================================================
- name: Check build/libs directory
run: |
echo "--- Contents of build/libs ---"
ls -l build/libs/
echo "------------------------------"
# =======================================================
# 6. (CD ์‹œ์ž‘) ๋นŒ๋“œ๋œ JAR ํŒŒ์ผ์„ EC2๋กœ ์ „์†ก
# =======================================================
- name: Copy JAR to EC2
uses: appleboy/scp-action@v0.1.7
with:
host: ${{ secrets.EC2_HOST }} # (ํ•„์ˆ˜) GitHub Secret์—์„œ ๊ฐ€์ ธ์˜ด
username: ${{ secrets.EC2_USERNAME }} # (ํ•„์ˆ˜) GitHub Secret์—์„œ ๊ฐ€์ ธ์˜ด
key: ${{ secrets.EC2_SSH_PRIVATE_KEY }} # (ํ•„์ˆ˜) GitHub Secret์—์„œ ๊ฐ€์ ธ์˜ด
port: 22 # SSH ํฌํŠธ (๊ธฐ๋ณธ 22)
source: "build/libs/*.jar" # ๋กœ์ปฌ(GitHub Runner)์˜ .jar ํŒŒ์ผ ์œ„์น˜
target: "/home/ubuntu/server/jars" # ์›๊ฒฉ(EC2) ์„œ๋ฒ„์— ์ €์žฅ๋  ๊ฒฝ๋กœ ๋ฐ ์ด๋ฆ„

# =======================================================
# 7. (CD ์™„๋ฃŒ) EC2์— ์ ‘์†ํ•˜์—ฌ ๋ฐฐํฌ ์Šคํฌ๋ฆฝํŠธ ์‹คํ–‰
# =======================================================
- name: Execute deployment script on EC2
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_SSH_PRIVATE_KEY }}
script: |
echo "Starting deployment script..."
/home/ubuntu/server/deploy.sh # (๊ฒฝ๋กœ ์ฃผ์˜) EC2์— ์žˆ๋Š” ์Šคํฌ๋ฆฝํŠธ ์‹คํ–‰
44 changes: 44 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
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/

#Spring ์„ค์ • ํŒŒ์ผ
application.yml
src/main/resources/application-secret.yml
src/main/resources/members.txt
src/main/resources/firebase-service-account.json
!src/test/resources/application.yml
60 changes: 60 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.5.7'
id 'io.spring.dependency-management' version '1.1.7'
}

group = 'com.example'
version = '0.0.1-SNAPSHOT'
description = '์ค‘์ปคํ†ค - ์‚ฌ์ž์˜ ์ˆฒ ์Šคํ”„๋ง ํ”„๋กœ์ ํŠธ'

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}

configurations {
compileOnly {
extendsFrom annotationProcessor
}
}

repositories {
mavenCentral()
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'com.mysql:mysql-connector-j'
implementation 'org.springframework.boot:spring-boot-starter-web'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client' //๊ตฌ๊ธ€ oauth
// JJWT (Java JWT) ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.5'
// @Valid ์–ด๋…ธํ…Œ์ด์…˜์„ ์œ„ํ•œ ์˜์กด์„ฑ
implementation 'org.springframework.boot:spring-boot-starter-validation'
// s3 AWS SDK v2 (์ตœ์‹  ๋ฒ„์ „)
implementation 'software.amazon.awssdk:s3:2.20.26'
// mysql jdbc ๋“œ๋ผ์ด๋ฒ„ ์˜์กด์„ฑ
runtimeOnly 'com.mysql:mysql-connector-j'
// ์Šค์›จ๊ฑฐ
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.13'
//๊ตฌ๊ธ€๋กœ๊ทธ์ธ-firebase
implementation 'com.google.firebase:firebase-admin:9.3.0'
// ํ…Œ์ŠคํŠธ ์‹œ์—๋งŒ ์‚ฌ์šฉํ•  H2 ์ธ๋ฉ”๋ชจ๋ฆฌ DB
testImplementation 'com.h2database:h2'
}

tasks.named('test') {
useJUnitPlatform()
}

jar{
enabled = false
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
7 changes: 7 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading