• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

bmuschko/todo-spring-boot: A sample To Do web application built with Gradle and ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

bmuschko/todo-spring-boot

开源软件地址(OpenSource Url):

https://github.com/bmuschko/todo-spring-boot

开源编程语言(OpenSource Language):

Java 74.7%

开源软件介绍(OpenSource Introduction):

A sample To Do web application Build Status

This project is a simple, MVC-based task management web application written in Java powered by Spring Boot. Its main purpose is to demonstrate implementation approaches for typical project automation requirements with the help of Gradle. The code of this project is featured in the book "Gradle in Action" published by Manning.

Applied Gradle features

  • Usage of the Gradle Wrapper.

  • Support for a multi-project build.

  • Implements various testing strategies:

    • Unit testing with Spock.

    • Integration testing Spring test utilities.

  • Static code analysis with publishing of result to SonarCloud.

  • Deployment of the WAR file to Heroku.

Build pipeline

The project includes a Jenkins pipeline definition file named Jenkinsfile. The pipeline consists of the following steps:

  1. Compile source code: Executes the Java compiler to turn production and test source code into byte code.

  2. Execute unit tests: Runs the unit test suite for fast feedback.

  3. Execute integration tests: Performs long-running integration tests.

  4. Perform static code analysis: Analyzes the source code and identifies quality hotspots. For convenience reasons, the project uses the cloud-based service of Sonarqube.

  5. Assemble the WAR file: Builds the final deliverable, a WAR file containing all resources needed in the runtime environment.

  6. Deploy the deliverable to production: Pushes the WAR file to the Paas, Heroku, upon request.

Running the application

You can directly run your application your local machine. There’s no need to install a Servlet container. In a terminal window execute the following command from the root level of the project:

Mac OS X/*nix

./gradlew bootRun

Windows

gradlew.bat bootRun

Open your browser of choice and navigate to the URL http://localhost:8080/.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap