Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 860 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 860 Bytes

springboot-demo

JDK-8 google code style License

A springboot demo application

Usage

  • Directly using maven: mvn spring-boot:run
  • From executable jar file:
mvn clean package -Dmaven.test.skip
java -jar target/springboot-demo-0.0.1-SNAPSHOT.jar

error: The main class org. apache. maven. wrapper. MavenWrapperMain cannot be found or loaded: mvn -N io.takari:maven:wrapper

  • From within your IDE right click run SpringbootDemoApplication.java

test

Use curl to authenticate the interface

curl --request GET -sL \
  --url 'http://localhost:8081/'