Git Product home page Git Product logo

springboot's Introduction

官网

https://huanzi-qch.gitee.io/spring-boot

简介

SpringBoot系列Demo代码

SpringBoot用的是2.1.0.RELEASE,Demo代码主要参照官方文档,以及百度、google写的,每一个子工程就是一个小案例,简单明了
这里的测试例子基本上跟博客的一样,没什么修改,大家看博客就好了

还是有很多人觉得这个项目太乱了,分不清子项目、父项目的关系,以及子项目直接的关系,我在这里简单描述一下

父项目是一个maven项目,继承spring-boot-starter-parent,同时引入了部分公用依赖

    <!--  父类继承spring-boot-starter-parent  -->
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.1.0.RELEASE</version>
        <relativePath/>
    </parent>

    <!-- 在父类引入一下通用的依赖 -->
    <dependencies>
        <!-- spring-boot-starter -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter</artifactId>
        </dependency>

        <!-- springboot web(MVC)-->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

        <!-- springboot -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>

        <!--lombok插件 -->
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
        </dependency>

        <!--热部署工具dev-tools-->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-devtools</artifactId>
            <optional>true</optional>
            <scope>runtime</scope>
        </dependency>
    </dependencies>

每个子项目都是一个独立的SpringBoot项目,子项目直接继承父类

    <!--继承父类-->
    <parent>
        <groupId>cn.huanzi.qch</groupId>
        <artifactId>parent</artifactId>
        <version>1.0.0</version>
    </parent>

每个子项目都是SpringBoot的一个知识点或者说技能点,具体见名思意!子项目相互之间并无关系,具体的知识点介绍都有对应的博客,详情请看下方的“前往博客查看详情”

仓库地址

国外:https://github.com/huanzi-qch/springBoot
国内:https://gitee.com/huanzi-qch/springBoot

前往博客查看详情

具体介绍请看我的博客《SpringBoot系列》

项目 博客
springboot-activiti7 SpringBoot系列——Activiti7工作流引擎
springboot-admin-client、springboot-admin-server SpringBoot系列——admin服务监控
springboot-aop SpringBoot系列——aop 面向切面
springboot-async SpringBoot系列——@Async优雅的异步调用
springboot-banner SpringBoot系列——花里胡哨的banner.txt
springboot-cache SpringBoot系列——cache缓存
springboot-cors SpringBoot系列——CORS(跨源资源共享)
springboot-elasticsearch SpringBoot系列——ElasticSearch
springboot-eventsandlisteners SpringBoot系列——事件发布与监听
springboot-exceptionhandler SpringBoot系列——自定义统一异常处理
springboot-filter SpringBoot系列——Filter 过滤器
springboot-https SpringBoot系列——启用https
springboot-i18n SpringBoot系列——i18n国际化
springboot-idem SpringBoot系列——防重放与操作幂等
springboot-jackson SpringBoot系列——Jackson序列化
springboot-jar-war SpringBoot系列——快速构建项目
SpringBoot系列——jar包与war包的部署
springboot-jpa SpringBoot系列——Spring-Data-JPA
SpringBoot系列——Spring-Data-JPA(升级版)
SpringBoot系列——Spring-Data-JPA(究极进化版) 自动生成单表基础增、删、改、查接口
springboot-loadmyprofiles SpringBoot系列——加载自定义配置文件
springboot-logback SpringBoot系列——Logback日志,输出到文件以及实时输出到web页面
springboot-mail SpringBoot系列——mail
springboot-mybatis-plus SpringBoot系列——MyBatis-Plus整合封装
springboot-mybatis SpringBoot系列——MyBatis整合
springboot-redis SpringBoot系列——Redis
springboot-security SpringBoot系列——Security + Layui实现一套权限管理后台模板
开源一套简单通用的后台管理系统
springboot-swagger2 SpringBoot系列——Swagger2之Swagger UI,API实时接口文档
springboot-thymeleaf SpringBoot系列——Thymeleaf模板
springboot-timer SpringBoot系列——定时器
SpringBoot系列——动态定时任务
springboot-uniapp-mui SpringBoot系列——基于mui的H5套壳APP开发web框架
SpringBoot系列——PC端、移动端页面适配方案
移动端App uni-app + mui 开发记录
springboot-validation SpringBoot系列——validation参数校验
springboot-websocket SpringBoot系列——WebSocket
WebSocket+Java 私聊、群聊实例

AD广告位 (长期招租,如有需要请私信)

【基塔后台】免费后台管理系统,低代码快速搭建管理后台

【阿里云】阿里云最全的优惠活动聚集地!
【腾讯云】腾讯云当前最新优惠活动专区!

QQ群

有事请加群,有问题进群大家一起交流!

捐献

相应的资金支持能更好的持续项目的维护和开发,如果喜欢这个项目,请随意打赏!

支付宝 微信

学习资料

Spring全家桶的GitHub:https://github.com/spring-projects
SpringBoot官方文档:https://spring.io/projects/spring-boot
StringBoot官方GitHub:https://github.com/spring-projects/spring-boot
SpringBoot官方的简单引导案例:https://github.com/spring-projects/spring-boot/tree/v2.1.6.RELEASE/spring-boot-samples

这些资料有丰富的文档介绍、代码示例

springboot's People

Contributors

huanzi-qch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

springboot's Issues

启动springboot-activiti7 报错

直接把master上面的代码拉取下来,启动直接报错 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is java.lang.NullPointerException

[consult] performance

Hi, @huanzi-qch

I have one question about springboot-async module, I know it implied by async for db operation.
It will have high performance compared with sync opertaion. May I know this info?

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.