No description, website, or topics provided.
HTML Java JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Simple SpingBoot JPA demo using Thymeleaf/Bootstrap

Simple SpingBoot JPA demo using Thymeleaf/Bootstrap with web UI as as well as REST based API

Rest Endpoints

$ curl http://{url}/emps | jq -r

$ curl http://{url}/emp/1 | jq -r

Run Locally

http://localhost:8080/

Push to Cloud Foundry

  • edit manifest.yml to use a MySQL service
---
applications:
- name: springboot-jpa-bootstrap-employee
  memory: 512M
  instances: 1
  random-route: true
  timeout: 180
  path: ./target/springbootpcfpas-0.0.1-SNAPSHOT.jar
  services:
    - apples-mysql
  env:
    JAVA_OPTS: -Djava.security.egd=file:///dev/urando
    SPRING_PROFILES_ACTIVE: cloud
  • cf push

Screen Shots

alt tag

alt tag

alt tag


Pas Apicella [papicella at pivotal.io] is a Senior Platform Architect at Pivotal Australia