Spring Boot Quickstart Guide

Category: Software Engineering

Quickstart

Create a zip file with (start.spring.io)[https://start.spring.io/] including the following dependencies:

  • Spring Web
  • Rest Repositories

Unzip the file

unzip helloworld.zip

Open the project in IntelliJ. Start the server and verify that the application is running by visiting http://localhost:8080/hello

Running the application

./gradlew bootRun

Building the application

./gradlew build

Deploying the application

./gradlew build
cp build/libs/<JAR_NAME>.jar <DEPLOYMENT_DIRECTORY>