Skip to content

A Spring Boot + Spring Data + Spring Cloud Connectors demo app

Notifications You must be signed in to change notification settings

springcoderlm/spring-boot-cities

 
 

Repository files navigation

Building a Cloud-ready Microservice

This repository contains a script for demonstrating the construction of a REST microservice using Spring Boot, Spring Data, and Spring Cloud, and deploying the microservice to Cloud Foundry.

The repository also contains the completed example, ready for deployment to Cloud Foundry.

To build and deploy the completed application, you will need to:

Once these prerequisites are met, you can follow these steps to build and deploy the microservice to Cloud Foundry:

$ gradle assemble
$ cf create-service p-mysql 100mb-dev cities-db
$ cf push --random-route

See the script for additional information on using and testing the microservice.

About

A Spring Boot + Spring Data + Spring Cloud Connectors demo app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 40.2%
  • CSS 36.3%
  • HTML 15.4%
  • JavaScript 8.1%