Skip to content

hibuz/spring-boot-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🌱 Spring Boot 3.0 Skeleton Project

Step 1. Create Initial Project

spring-initializr

Project URL

dependencies {
  implementation 'org.springframework.boot:spring-boot-starter-actuator'
  implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
  implementation 'org.springframework.boot:spring-boot-starter-security'
  implementation 'org.springframework.boot:spring-boot-starter-validation'
  implementation 'org.springframework.boot:spring-boot-starter-web'
  compileOnly 'org.projectlombok:lombok'
  developmentOnly 'org.springframework.boot:spring-boot-devtools'
  runtimeOnly 'com.h2database:h2'
  annotationProcessor 'org.projectlombok:lombok'
  testImplementation 'org.springframework.boot:spring-boot-starter-test'
  testImplementation 'org.springframework.restdocs:spring-restdocs-mockmvc'
  testImplementation 'org.springframework.security:spring-security-test'
}

Building for production

Packaging as jar

To build the final jar and optimize the example application for production, run:

./gradlew clean bootJar

To ensure everything worked, run:

java -jar build/libs/*.jar

Then navigate to followings below in your browser.

References

About

🌱SpringBoot 3.0 Gradle Skeleton Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages