Skip to content

Commit 03211bd

Browse files
committed
Initial commit
0 parents  commit 03211bd

18 files changed

+835
-0
lines changed

.gitignore

+160
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
/target/
2+
!.mvn/wrapper/maven-wrapper.jar
3+
4+
### STS ###
5+
.apt_generated
6+
.classpath
7+
.factorypath
8+
.project
9+
.settings
10+
.springBeans
11+
.sts4-cache
12+
13+
# External tool builders
14+
.externalToolBuilders/
15+
16+
# Locally stored "Eclipse launch configurations"
17+
*.launch
18+
19+
# PyDev specific (Python IDE for Eclipse)
20+
*.pydevproject
21+
22+
# CDT-specific (C/C++ Development Tooling)
23+
.cproject
24+
25+
# CDT- autotools
26+
.autotools
27+
28+
# PDT-specific (PHP Development Tools)
29+
.buildpath
30+
31+
# sbteclipse plugin
32+
.target
33+
34+
# Tern plugin
35+
.tern-project
36+
37+
# TeXlipse plugin
38+
.texlipse
39+
40+
# Code Recommenders
41+
.recommenders/
42+
43+
# Annotation Processing
44+
.apt_generated/
45+
46+
# Scala IDE specific (Scala & Java development for Eclipse)
47+
.cache-main
48+
.scala_dependencies
49+
.worksheet
50+
51+
### Git ###
52+
# Created by git for backups. To disable backups in Git:
53+
# $ git config --global mergetool.keepBackup false
54+
*.orig
55+
56+
# Created by git when using merge tools for conflicts
57+
*.BACKUP.*
58+
*.BASE.*
59+
*.LOCAL.*
60+
*.REMOTE.*
61+
*_BACKUP_*.txt
62+
*_BASE_*.txt
63+
*_LOCAL_*.txt
64+
*_REMOTE_*.txt
65+
66+
### Java ###
67+
# Compiled class file
68+
*.class
69+
70+
# Log file
71+
*.log
72+
73+
# BlueJ files
74+
*.ctxt
75+
76+
# Mobile Tools for Java (J2ME)
77+
.mtj.tmp/
78+
79+
# Package Files #
80+
*.jar
81+
*.war
82+
*.nar
83+
*.ear
84+
*.zip
85+
*.tar.gz
86+
*.rar
87+
88+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
89+
hs_err_pid*
90+
91+
### Maven ###
92+
target/
93+
pom.xml.tag
94+
pom.xml.releaseBackup
95+
pom.xml.versionsBackup
96+
pom.xml.next
97+
release.properties
98+
dependency-reduced-pom.xml
99+
buildNumber.properties
100+
.mvn/timing.properties
101+
.mvn/wrapper/maven-wrapper.jar
102+
103+
### Windows ###
104+
# Windows thumbnail cache files
105+
Thumbs.db
106+
ehthumbs.db
107+
ehthumbs_vista.db
108+
109+
# Dump file
110+
*.stackdump
111+
112+
# Folder config file
113+
[Dd]esktop.ini
114+
115+
# Recycle Bin used on file shares
116+
$RECYCLE.BIN/
117+
118+
# Windows Installer files
119+
*.cab
120+
*.msi
121+
*.msix
122+
*.msm
123+
*.msp
124+
125+
# Windows shortcuts
126+
*.lnk
127+
128+
### IntelliJ IDEA ###
129+
.idea
130+
*.iws
131+
*.iml
132+
*.ipr
133+
134+
### NetBeans ###
135+
/nbproject/private/
136+
/nbbuild/
137+
/dist/
138+
/nbdist/
139+
/.nb-gradle/
140+
build/
141+
!**/src/main/**/build/
142+
!**/src/test/**/build/
143+
144+
### VS Code ###
145+
.vscode/
146+
147+
### Some additional ignores (sort later)
148+
*.DS_Store
149+
*.sw?
150+
.#*
151+
*#
152+
*~
153+
bin
154+
build
155+
target
156+
*.sublime-*
157+
/scratch
158+
.gradle
159+
README.html
160+
.exercism

HELP.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Getting Started
2+
3+
### Reference Documentation
4+
5+
For further reference, please consider the following sections:
6+
7+
* [Official Gradle documentation](https://docs.gradle.org)
8+
* [Spring Boot Gradle Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/3.3.0/gradle-plugin/reference/html/)
9+
* [Create an OCI image](https://docs.spring.io/spring-boot/docs/3.3.0/gradle-plugin/reference/html/#build-image)
10+
* [Spring Data JDBC](https://docs.spring.io/spring-boot/docs/3.3.0/reference/htmlsingle/index.html#data.sql.jdbc)
11+
* [Spring Data JPA](https://docs.spring.io/spring-boot/docs/3.3.0/reference/htmlsingle/index.html#data.sql.jpa-and-spring-data)
12+
* [Spring Boot DevTools](https://docs.spring.io/spring-boot/docs/3.3.0/reference/htmlsingle/index.html#using.devtools)
13+
* [JDBC API](https://docs.spring.io/spring-boot/docs/3.3.0/reference/htmlsingle/index.html#data.sql)
14+
* [Spring Web](https://docs.spring.io/spring-boot/docs/3.3.0/reference/htmlsingle/index.html#web)
15+
16+
### Guides
17+
18+
The following guides illustrate how to use some features concretely:
19+
20+
* [Using Spring Data JDBC](https://github.com/spring-projects/spring-data-examples/tree/master/jdbc/basics)
21+
* [Accessing Data with JPA](https://spring.io/guides/gs/accessing-data-jpa/)
22+
* [Accessing Relational Data using JDBC with Spring](https://spring.io/guides/gs/relational-data-access/)
23+
* [Managing Transactions](https://spring.io/guides/gs/managing-transactions/)
24+
* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/)
25+
* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/)
26+
* [Building REST services with Spring](https://spring.io/guides/tutorials/rest/)
27+
28+
### Additional Links
29+
30+
These additional references should also help you:
31+
32+
* [Gradle Build Scans – insights for your project's build](https://scans.gradle.com#gradle)
33+

build.gradle

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
plugins {
2+
id 'java'
3+
id 'org.springframework.boot' version '3.3.0'
4+
id 'io.spring.dependency-management' version '1.1.5'
5+
}
6+
7+
group = 'com.onevizion.test'
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-jdbc'
26+
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
27+
// implementation 'org.springframework.boot:spring-boot-starter-jdbc'
28+
implementation 'org.springframework.boot:spring-boot-starter-web'
29+
compileOnly 'org.projectlombok:lombok'
30+
developmentOnly 'org.springframework.boot:spring-boot-devtools'
31+
annotationProcessor 'org.projectlombok:lombok'
32+
testImplementation 'org.springframework.boot:spring-boot-starter-test'
33+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
34+
runtimeOnly 'com.h2database:h2'
35+
}
36+
37+
tasks.named('test') {
38+
useJUnitPlatform()
39+
}
+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.7-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
6+
zipStoreBase=GRADLE_USER_HOME
7+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)