【文件属性】:
文件名称:spring-boot-prototype:Spring Boot 原型项目。 克隆并快速开始使用 Spring Boot
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-04 22:37:22
Java
##spring-boot-prototype
考虑利用 Spring Boot 为您的应用程序或企业快速开发 REST 服务。 这个原型项目将帮助您尽快启动和运行。
快速开始
开始使用原型的最简单方法是克隆或下载此存储库。
git clone https://github.com/markramach/spring-boot-prototype.git
然后只需运行以下命令:
mvn spring-boot:run
一旦 Spring Boot 应用程序启动并运行,您就可以对示例资源执行 HTTP GET请求。
http://localhost:8080/say-hello?name=world
您应该会看到以下响应:
{"hello":"world"}
构建一个可运行的 Jar 文件
使用 Spring Boot 的一大优势是 Spring Boot Maven 插件
【文件预览】:
spring-boot-prototype-master
----pom.xml(2KB)
----LICENSE(1KB)
----src()
--------main()
----.gitignore(43B)
----README.md(2KB)