Spring Boot CLI Hello World

Spring Boot CLI

For quickly getting some http endpoints up for prototyping I usually go with Spark for Java or Flask for Python. I’m also a fan of Spring Framework though I haven’t had a chance to work with it lately. Thinking of catching up again and checking out version 5, maybe with Kotlin. Spring Boot is great for getting a solid application up quickly. Looks like Spring Boot CLI might be an option for Java prototyping. I’m adding the minimal steps to expose an endpoint with plans to expand it later.

https://docs.spring.io/spring-boot/docs/current/reference/html/getting-started-installing-spring-boot.html#getting-started-installing-the-cli

Install

Create App

View in browser

Resources

  • http://www.baeldung.com/spring-boot-cli
  • http://zetcode.com/springboot/groovycli
  • https://www.concretepage.com/spring-boot/spring-boot-cli-example
  • https://www.infoq.com/articles/microframeworks1-spring-boot

Leave a Reply

Your email address will not be published. Required fields are marked *