tree: 033c64137ea16285af99df51d3ec0eb1040114a1 [path history] [tgz]
  1. calculator/
  2. webapp/
  3. build.gradle
  4. pom.xml
  5. README.md
  6. settings.gradle
java-chassis-samples/bmi/README.md

Body Mass Index(BMI) Calculator Microservice Demo

Check this document for details explanations about this demo.

Architecture of BMI Calculator

There are two microservices in this demo.

  • Webapp (API Gateway)
  • BMI Calculator (computing service)

Prerequisite

  1. Oracle JDK 1.8+
  2. Maven 3.x
  3. Gradle 4.x(Optional)

Quick Start(Linux)

cd bmi/calculator; mvn spring-boot:run
  • Run the webapp service
cd bmi/webapp; mvn spring-boot:run
  • via gradle

    • Run the BMI calculator service
cd bmi/calculator; gradle bootRun
  • Run the webapp service
cd bmi/webapp; gradle bootRun