Skip to content

Latest commit

 

History

History

java-spring

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Java Spring JDBC Backend App

A Java backend app using Spring Data JDBC , Spring Boot and the CrateDB JDBC driver contributed by Jürgen Mayrbäurl <[email protected]>.

Prerequisites

  • Make sure Java 11 installed.
  • CrateDB 4.1.4 with CrateDB JDBC driver 2.6.0 was used for testing.

Build

Build the application with Gradle:

./gradlew clean build

Run

Start the application:

./gradlew bootRun

Then, open the application URL:

open http://localhost:8080/

Run the application on a specific port:

gradle bootRun --args='--server.port=9000'