Skip to content

Commit 0cdc711

Browse files
Merge pull request #312 from smart-sangmin/week1
[4기 박상민] Springboot-jpa weekly 미션 1차 PR입니다.
2 parents 085fa5f + 5a8ba05 commit 0cdc711

File tree

22 files changed

+1134
-0
lines changed

22 files changed

+1134
-0
lines changed

.gitignore

Lines changed: 275 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,275 @@
1+
application.yml
2+
logs
3+
4+
HELP.md
5+
.gradle
6+
build/
7+
!gradle/wrapper/gradle-wrapper.jar
8+
!**/src/main/**/build/
9+
!**/src/test/**/build/
10+
11+
### STS ###
12+
.apt_generated
13+
.classpath
14+
.factorypath
15+
.project
16+
.settings
17+
.springBeans
18+
.sts4-cache
19+
bin/
20+
!**/src/main/**/bin/
21+
!**/src/test/**/bin/
22+
23+
### IntelliJ IDEA ###
24+
.idea
25+
*.iws
26+
*.iml
27+
*.ipr
28+
out/
29+
!**/src/main/**/out/
30+
!**/src/test/**/out/
31+
32+
### NetBeans ###
33+
/nbproject/private/
34+
/nbbuild/
35+
/dist/
36+
/nbdist/
37+
/.nb-gradle/
38+
39+
### VS Code ###
40+
.vscode/
41+
### Java template
42+
# Compiled class file
43+
*.class
44+
45+
# Log file
46+
*.log
47+
48+
# BlueJ files
49+
*.ctxt
50+
51+
# Mobile Tools for Java (J2ME)
52+
.mtj.tmp/
53+
54+
# Package Files #
55+
*.jar
56+
*.war
57+
*.nar
58+
*.ear
59+
*.zip
60+
*.tar.gz
61+
*.rar
62+
63+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
64+
hs_err_pid*
65+
replay_pid*
66+
67+
### JetBrains template
68+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
69+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
70+
71+
# User-specific stuff
72+
.idea/**/workspace.xml
73+
.idea/**/tasks.xml
74+
.idea/**/usage.statistics.xml
75+
.idea/**/dictionaries
76+
.idea/**/shelf
77+
78+
# AWS User-specific
79+
.idea/**/aws.xml
80+
81+
# Generated files
82+
.idea/**/contentModel.xml
83+
84+
# Sensitive or high-churn files
85+
.idea/**/dataSources/
86+
.idea/**/dataSources.ids
87+
.idea/**/dataSources.local.xml
88+
.idea/**/sqlDataSources.xml
89+
.idea/**/dynamic.xml
90+
.idea/**/uiDesigner.xml
91+
.idea/**/dbnavigator.xml
92+
93+
# Gradle
94+
.idea/**/gradle.xml
95+
.idea/**/libraries
96+
97+
# Gradle and Maven with auto-import
98+
# When using Gradle or Maven with auto-import, you should exclude module files,
99+
# since they will be recreated, and may cause churn. Uncomment if using
100+
# auto-import.
101+
# .idea/artifacts
102+
# .idea/compiler.xml
103+
# .idea/jarRepositories.xml
104+
# .idea/modules.xml
105+
# .idea/*.iml
106+
# .idea/modules
107+
# *.iml
108+
# *.ipr
109+
110+
# CMake
111+
cmake-build-*/
112+
113+
# Mongo Explorer plugin
114+
.idea/**/mongoSettings.xml
115+
116+
# File-based project format
117+
*.iws
118+
119+
# IntelliJ
120+
out/
121+
122+
# mpeltonen/sbt-idea plugin
123+
.idea_modules/
124+
125+
# JIRA plugin
126+
atlassian-ide-plugin.xml
127+
128+
# Cursive Clojure plugin
129+
.idea/replstate.xml
130+
131+
# SonarLint plugin
132+
.idea/sonarlint/
133+
134+
# Crashlytics plugin (for Android Studio and IntelliJ)
135+
com_crashlytics_export_strings.xml
136+
crashlytics.properties
137+
crashlytics-build.properties
138+
fabric.properties
139+
140+
# Editor-based Rest Client
141+
.idea/httpRequests
142+
143+
# Android studio 3.1+ serialized cache file
144+
.idea/caches/build_file_checksums.ser
145+
146+
### Intellij+all template
147+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
148+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
149+
150+
# User-specific stuff
151+
.idea/**/workspace.xml
152+
.idea/**/tasks.xml
153+
.idea/**/usage.statistics.xml
154+
.idea/**/dictionaries
155+
.idea/**/shelf
156+
157+
# AWS User-specific
158+
.idea/**/aws.xml
159+
160+
# Generated files
161+
.idea/**/contentModel.xml
162+
163+
# Sensitive or high-churn files
164+
.idea/**/dataSources/
165+
.idea/**/dataSources.ids
166+
.idea/**/dataSources.local.xml
167+
.idea/**/sqlDataSources.xml
168+
.idea/**/dynamic.xml
169+
.idea/**/uiDesigner.xml
170+
.idea/**/dbnavigator.xml
171+
172+
# Gradle
173+
.idea/**/gradle.xml
174+
.idea/**/libraries
175+
176+
# Gradle and Maven with auto-import
177+
# When using Gradle or Maven with auto-import, you should exclude module files,
178+
# since they will be recreated, and may cause churn. Uncomment if using
179+
# auto-import.
180+
# .idea/artifacts
181+
# .idea/compiler.xml
182+
# .idea/jarRepositories.xml
183+
# .idea/modules.xml
184+
# .idea/*.iml
185+
# .idea/modules
186+
# *.iml
187+
# *.ipr
188+
189+
# CMake
190+
cmake-build-*/
191+
192+
# Mongo Explorer plugin
193+
.idea/**/mongoSettings.xml
194+
195+
# File-based project format
196+
*.iws
197+
198+
# IntelliJ
199+
out/
200+
201+
# mpeltonen/sbt-idea plugin
202+
.idea_modules/
203+
204+
# JIRA plugin
205+
atlassian-ide-plugin.xml
206+
207+
# Cursive Clojure plugin
208+
.idea/replstate.xml
209+
210+
# SonarLint plugin
211+
.idea/sonarlint/
212+
213+
# Crashlytics plugin (for Android Studio and IntelliJ)
214+
com_crashlytics_export_strings.xml
215+
crashlytics.properties
216+
crashlytics-build.properties
217+
fabric.properties
218+
219+
# Editor-based Rest Client
220+
.idea/httpRequests
221+
222+
# Android studio 3.1+ serialized cache file
223+
.idea/caches/build_file_checksums.ser
224+
225+
### Gradle template
226+
.gradle
227+
**/build/
228+
!src/**/build/
229+
230+
# Ignore Gradle GUI config
231+
gradle-app.setting
232+
233+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
234+
!gradle-wrapper.jar
235+
236+
# Avoid ignore Gradle wrappper properties
237+
!gradle-wrapper.properties
238+
239+
# Cache of project
240+
.gradletasknamecache
241+
242+
# Eclipse Gradle plugin generated files
243+
# Eclipse Core
244+
.project
245+
# JDT-specific (Eclipse Java Development Tools)
246+
.classpath
247+
248+
### macOS template
249+
# General
250+
.DS_Store
251+
.AppleDouble
252+
.LSOverride
253+
254+
# Icon must end with two \r
255+
Icon
256+
257+
# Thumbnails
258+
._*
259+
260+
# Files that might appear in the root of a volume
261+
.DocumentRevisions-V100
262+
.fseventsd
263+
.Spotlight-V100
264+
.TemporaryItems
265+
.Trashes
266+
.VolumeIcon.icns
267+
.com.apple.timemachine.donotpresent
268+
269+
# Directories potentially created on remote AFP share
270+
.AppleDB
271+
.AppleDesktop
272+
Network Trash Folder
273+
Temporary Items
274+
.apdisk
275+

build.gradle

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
plugins {
2+
id 'java'
3+
id 'org.springframework.boot' version '3.1.2'
4+
id 'io.spring.dependency-management' version '1.1.2'
5+
}
6+
7+
group = 'org.programmers'
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-data-jpa'
26+
implementation 'org.springframework.boot:spring-boot-starter-validation'
27+
implementation 'org.springframework.boot:spring-boot-starter-web'
28+
compileOnly 'org.projectlombok:lombok'
29+
runtimeOnly 'com.h2database:h2'
30+
runtimeOnly 'com.mysql:mysql-connector-j'
31+
annotationProcessor 'org.projectlombok:lombok'
32+
testImplementation 'org.springframework.boot:spring-boot-starter-test'
33+
}
34+
35+
tasks.named('test') {
36+
useJUnitPlatform()
37+
}

gradle/wrapper/gradle-wrapper.jar

61.9 KB
Binary file not shown.
Lines changed: 7 additions & 0 deletions
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.2.1-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
6+
zipStoreBase=GRADLE_USER_HOME
7+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)