Skip to content

Commit 6be18f4

Browse files
committed
feat: 초기 프로젝트 세팅 및 entity 설계
1 parent 03910c9 commit 6be18f4

26 files changed

+1089
-0
lines changed

.github/ISSUE_TEMPLATE.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!---
2+
❗️ 이슈 제목은 아래의 형식을 맞춰주세요
3+
- feat: 기능 추가
4+
- fix: 에러 수정, 버그 수정
5+
- chore: gradle 세팅, 위의 것 이외에 거의 모든 것
6+
- docs: README, 문서
7+
- refactor: 코드 리펙토링 (기능 변경 없이 코드만 수정할 때)
8+
- modify: 코드 수정 (기능의 변화가 있을 때)
9+
-->
10+
11+
## ✨ 이슈 내용
12+
13+
-
14+
15+
## ✅ 체크리스트
16+
17+
- [ ] Assignees / Labels 선택
18+
- [ ]
19+
- [ ]

.github/PULL_REQUEST_TEMPLATE.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!-- -
2+
❗️ PR 제목은 아래의 형식을 맞춰주세요
3+
- feat: 기능 추가
4+
- fix: 에러 수정, 버그 수정
5+
- chore: gradle 세팅, 위의 것 이외에 거의 모든 것
6+
- docs: README, 문서
7+
- refactor: 코드 리펙토링 (기능 변경 없이 코드만 수정할 때)
8+
- modify: 코드 수정 (기능의 변화가 있을 때)
9+
-->
10+
11+
## 📌 관련 이슈
12+
<!-- 관련있는 이슈 번호(#000)을 적어주세요.
13+
해당 pull request merge와 함께 이슈를 닫으려면
14+
closed #Issue_number를 적어주세요 -->
15+
16+
## ✨ 어떤 이유로 변경된 내용인지
17+
<!-- 어떤 기능을 만들기 위한 내용인지 적어주세요 -->
18+
<!-- 그게 아닌 경우에는 어떤 문제를 해결하기 위한 것인지 적어주세요 -->
19+
20+
## 🙏 검토 혹은 리뷰어에게 남기고 싶은 말

.gitignore

+168
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
1+
# Created by https://www.gitignore.io/api/java,macos,gradle,intellij
2+
# Edit at https://www.gitignore.io/?templates=java,macos,gradle,intellij
3+
4+
### Intellij ###
5+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
6+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
7+
8+
# User-specific stuff
9+
.idea
10+
.idea/**/workspace.xml
11+
.idea/**/tasks.xml
12+
.idea/**/usage.statistics.xml
13+
.idea/**/dictionaries
14+
.idea/**/shelf
15+
16+
# Generated files
17+
.idea/**/contentModel.xml
18+
19+
# Sensitive or high-churn files
20+
.idea/**/dataSources/
21+
.idea/**/dataSources.ids
22+
.idea/**/dataSources.local.xml
23+
.idea/**/sqlDataSources.xml
24+
.idea/**/dynamic.xml
25+
.idea/**/uiDesigner.xml
26+
.idea/**/dbnavigator.xml
27+
28+
# Gradle
29+
.idea/**/gradle.xml
30+
.idea/**/libraries
31+
32+
# Gradle and Maven with auto-import
33+
# When using Gradle or Maven with auto-import, you should exclude module files,
34+
# since they will be recreated, and may cause churn. Uncomment if using
35+
# auto-import.
36+
# .idea/modules.xml
37+
# .idea/*.iml
38+
# .idea/modules
39+
# *.iml
40+
# *.ipr
41+
42+
# CMake
43+
cmake-build-*/
44+
45+
# Mongo Explorer plugin
46+
.idea/**/mongoSettings.xml
47+
48+
# File-based project format
49+
*.iws
50+
51+
# IntelliJ
52+
out/
53+
54+
# mpeltonen/sbt-idea plugin
55+
.idea_modules/
56+
57+
# JIRA plugin
58+
atlassian-ide-plugin.xml
59+
60+
# Cursive Clojure plugin
61+
.idea/replstate.xml
62+
63+
# Crashlytics plugin (for Android Studio and IntelliJ)
64+
com_crashlytics_export_strings.xml
65+
crashlytics.properties
66+
crashlytics-build.properties
67+
fabric.properties
68+
69+
# Editor-based Rest Client
70+
.idea/httpRequests
71+
72+
# Android studio 3.1+ serialized cache file
73+
.idea/caches/build_file_checksums.ser
74+
75+
### Intellij Patch ###
76+
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
77+
78+
# *.iml
79+
# modules.xml
80+
# .idea/misc.xml
81+
# *.ipr
82+
83+
# Sonarlint plugin
84+
.idea/**/sonarlint/
85+
86+
# SonarQube Plugin
87+
.idea/**/sonarIssues.xml
88+
89+
# Markdown Navigator plugin
90+
.idea/**/markdown-navigator.xml
91+
.idea/**/markdown-navigator/
92+
93+
### Java ###
94+
# Compiled class file
95+
*.class
96+
97+
# Log file
98+
*.log
99+
100+
# BlueJ files
101+
*.ctxt
102+
103+
# Mobile Tools for Java (J2ME)
104+
.mtj.tmp/
105+
106+
# Package Files #
107+
*.jar
108+
*.war
109+
*.nar
110+
*.ear
111+
*.zip
112+
*.tar.gz
113+
*.rar
114+
115+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
116+
hs_err_pid*
117+
118+
### macOS ###
119+
# General
120+
.DS_Store
121+
.AppleDouble
122+
.LSOverride
123+
124+
# Icon must end with two \r
125+
Icon
126+
127+
# Thumbnails
128+
._*
129+
130+
# Files that might appear in the root of a volume
131+
.DocumentRevisions-V100
132+
.fseventsd
133+
.Spotlight-V100
134+
.TemporaryItems
135+
.Trashes
136+
.VolumeIcon.icns
137+
.com.apple.timemachine.donotpresent
138+
139+
# Directories potentially created on remote AFP share
140+
.AppleDB
141+
.AppleDesktop
142+
Network Trash Folder
143+
Temporary Items
144+
.apdisk
145+
146+
### Gradle ###
147+
.gradle
148+
build/
149+
150+
# Ignore Gradle GUI config
151+
gradle-app.setting
152+
153+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
154+
!gradle-wrapper.jar
155+
156+
# Cache of project
157+
.gradletasknamecache
158+
159+
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
160+
# gradle/wrapper/gradle-wrapper.properties
161+
162+
### Gradle Patch ###
163+
**/build/
164+
165+
### Config ###
166+
application.yaml
167+
168+
# End of https://www.gitignore.io/api/java,macos,gradle,intellij

HELP.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Getting Started
2+
3+
### Reference Documentation
4+
For further reference, please consider the following sections:
5+
6+
* [Official Gradle documentation](https://docs.gradle.org)
7+
* [Spring Boot Gradle Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/3.0.12/gradle-plugin/reference/html/)
8+
* [Create an OCI image](https://docs.spring.io/spring-boot/docs/3.0.12/gradle-plugin/reference/html/#build-image)
9+
* [Spring Web](https://docs.spring.io/spring-boot/docs/3.0.12/reference/htmlsingle/index.html#web)
10+
11+
### Guides
12+
The following guides illustrate how to use some features concretely:
13+
14+
* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/)
15+
* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/)
16+
* [Building REST services with Spring](https://spring.io/guides/tutorials/rest/)
17+
18+
### Additional Links
19+
These additional references should also help you:
20+
21+
* [Gradle Build Scans – insights for your project's build](https://scans.gradle.com#gradle)
22+

build.gradle

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
plugins {
2+
id 'java'
3+
id 'org.springframework.boot' version '3.0.12'
4+
id 'io.spring.dependency-management' version '1.1.3'
5+
}
6+
7+
group = 'org.sopt'
8+
version = '0.0.1-SNAPSHOT'
9+
10+
java {
11+
sourceCompatibility = '17'
12+
}
13+
14+
configurations {
15+
compileOnly {
16+
extendsFrom annotationProcessor
17+
}
18+
}
19+
20+
repositories {
21+
mavenCentral()
22+
}
23+
24+
dependencies {
25+
implementation 'org.springframework.boot:spring-boot-starter-web'
26+
compileOnly 'org.projectlombok:lombok'
27+
annotationProcessor 'org.projectlombok:lombok'
28+
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
29+
30+
// mysql
31+
runtimeOnly 'com.mysql:mysql-connector-j'
32+
33+
// test
34+
testImplementation 'org.springframework.boot:spring-boot-starter-test'
35+
}
36+
37+
tasks.named('bootBuildImage') {
38+
builder = 'paketobuildpacks/builder-jammy-base:latest'
39+
}
40+
41+
tasks.named('test') {
42+
useJUnitPlatform()
43+
}

gradle/wrapper/gradle-wrapper.jar

62.2 KB
Binary file not shown.
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
6+
zipStoreBase=GRADLE_USER_HOME
7+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)