Skip to content

olle/cockroachdb-spring-boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CockroachDB - Spring Boot

An example project, for trying out and presenting an example-setup of Spring Boot and CockroachDB.

Getting started

A local three node CockroachDB cluster can be started using Docker. The script start.sh will ensure that the cluster is booted up, initialized and that a database test is created.

The Spring Boot application can be started using the Maven wrapper. Running ./mvnw spring-boot:run will compile and run the app. The application is then available at http://localhost:8080.

To shut down and remove the CockroachDB cluster, run the stop.sh script.

About

Just trying out CockroachDB and Spring Boot - FTW!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published