本项目内容为 《Spring Boot实战合集》系列文章,代码已开源,并持续保持更新。如您觉得该项目对您有用,欢迎点击右上方的 Star 按钮,给予支持!!个人博客:https://www.codesheep.cn GitHub:https://github.com/hansonwang99另外所有内容都在我的个人微信公众号 CodeSheep 最先推出,大家可以
翻译Spring Boot in Action过程中的译稿及修改. Contribute to digitalsonic/spring-boot-in-action development by creating an account on GitHub.
登录到 Github 容器注册中心 - name: Login to GitHub Container Registry uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} 在steps 中添加上面的代码,就可以登录到 GitHub Container Registry,当然也可以改用docker hub,或者可以...
在项目的根目录下新增/.github/workflows/maven.yml 并在maven.yml添加以下内容. prismjs prismjs # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time# For more information see: https://docs.github.com/en/actions/automating-...
Github Actions实现Spring Boot 前言 今天就来讲述一下如何使用GitHub结合Actions实现Spring Boot程序从提交代码到打包、容器化、部署全过程自动化。首先咱们得现有一个能够在本地运行的Spring Boot程序,并且在Github上拥有一个仓库。 一、自动化部署 1.1 提交代码到Github ...
今天就来讲述一下如何使用GitHub结合Actions实现Spring Boot程序从提交代码到打包、容器化、部署全过程自动化。首先咱们得现有一个能够在本地运行的Spring Boot程序,并且在Github上拥有一个仓库。 一、自动化部署 1.1 提交代码到Github 1.2 设置服务器密钥、GitHub私钥、DockerHub账号 ...
下面给大家整理了 10 个Github上最值得学习的 Springboot 开源项目,帮助大家提升技术,走上人生巅峰! 1. Mall 基于SpringBoot+MyBatis 实现的一套电商系统,包括前台商城系统及后台管理系统。 前台商城系统包含首页门户、商品推荐、商品搜索、商品展示、购物车、订单流程、会员中心、客户服务、帮助中心等模块。
<groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> <version>1.4.6</version> </dependency> <!-- 实体类不想写那么多setter之类的方法可以这样 而且跟slf4日志打印有关--> <dependency> <groupId>org.projectlombok</groupId> ...
https://github.com/javastacks/spring-boot-best-practice 2、状态机图 做需求时,需要了解以下六种元素:起始、终止、现态、次态(目标状态)、动作、条件,我们就可以完成一个状态机图了: 以订单为例:以从待支付状态转换为待发货状态为例 ①现态:是指当前所处的状态。待支付 ②条件:又称为“事件”,当一个条...
spring boot demo 是一个用来深度学习并实战 spring boot 的项目,目前总共包含 63 个集成demo,已经完成 52 个。 该项目已成功集成 actuator(监控)、admin(可视化监控)、logback(日志)、aopLog(通过AOP记录web请求日志)、统一异常处理(json级别和页面级别)、freemarker(模