johnboyes / gs-spring-boot

Spring Boot Getting Started example application
0 stars 0 forks source link
java maven spring spring-boot

Getting Started with Spring Boot - Example Application

https://getting-started-spring-boot.herokuapp.com/

CircleCI Heroku

The example application from the Spring Boot website: https://spring.io/guides/gs/spring-boot

Running the application

Prerequisites

Command to start the application

mvn package && java -jar target/gs-spring-boot-0.1.0.jar

Running the tests

Running the unit tests

mvn test

Running the integration tests

mvn verify

Continuous Integration

Continuous Integration is on CircleCI: https://circleci.com/gh/johnboyes/gs-spring-boot

Deploying the application

The app deploys automatically to Heroku via the CI/CD pipeline.

Spring Cloud Server Config

The app uses the Spring Cloud Config Server at https://gs-spring-cloud-config-server.herokuapp.com to fetch properties from https://github.com/johnboyes/gs-spring-cloud-config-git-storage

You can see the properties that are loaded by going to https://getting-started-spring-boot.herokuapp.com/actuator/env