Skip to content

Latest commit

 

History

History

spring_boot

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Universal Kotlin

Application -> Backend -> JVM -> Spring Boot

Module with a Spring Boot API JVM application.

It uses the common modules as dependencies.

Setting Up

export enabledModules="application-backend-jvm-spring_boot"

Building

./gradlew :application-backend-jvm-spring_boot:build

or in a simplified way (can run more tasks):

./gradlew build

Testing

./gradlew :application-backend-jvm-spring_boot:check

or in a simplified way (can run more tasks):

./gradlew check

Running

Starting:

./gradlew :application-backend-jvm-spring_boot:bootRun

or in a simplified way (can run more tasks):

./gradlew bootRun

Calling the API:

curl "http://localhost:8080/exampleController/exampleMethod"

The output should be similar to this one:

["com.company.team.project.common.multiple_sources.jvm","com.company.team.project.common.single_source.common","com.company.team.project.common.single_source.jvm.common","com.company.team.project.application.backend.jvm.spring_boot"]