tericcabrel / bmi

A Spring boot web application to calculate the body mass index
3 stars 21 forks source link

Body Mass Index Calculator

This is a Web application to calculate you body mass index built with Spring Boot

Prerequisites

Tech stack

Setup

Install Maven dependencies

mvn install

Install the Node dependencies for Tailwind CSS

yarn install #or npm install

Run Tailwind CSS watcher to generate the CSS required by the HTML page

yarn css

Run the application

mvn spring-boot:run

Navigate to the URL http://localhost:8000 and enjoy

Run the tests

mvn test

Packaging

Package the application to a .jar file

mvn clean package

Run the generated .jar file in the target folder

java -jar target/bmi-1.0.jar