Coder Social home page Coder Social logo

yhjohn163 / spring-boot-learning-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rhwayfun/spring-boot-learning-examples

0.0 1.0 0.0 327 KB

Spring Boot工程实践,快速上手Spring Boot开发必备。最全的Spring Boot使用案例!

License: Eclipse Public License 1.0

Java 99.82% JavaScript 0.18%

spring-boot-learning-examples's Introduction

最全的Spring Boot实践指南

travis codecov Gitter license

Spring Boot知识点整理、工程实践,并结合工作案例适当深入

  • 使用Travis CI持续集成
  • 使用CodeCov进行代码覆盖率检查
  • 学习案例以模块方式划分,每隔模块都是独立可执行项目,直接运行Application即可

分享平台

博客:http://blog.csdn.net/u011116672

Github:https://github.com/rhwayfun

项目模块

└── 基础入门
└── Web开发
    └── Weex
    └── Bootstrap
    └── thymeleaf
└── 缓存使用
    └── Ehcache
    └── Caffeine
    └── Guava Cache
└── 数据库
    └── Mybatis
    └── MySQL
└── Spring其他功能
    └── Spring Task
    └── Spring Retry
    └── Spring AOP
└── 企业开发进阶
    └── Dubbo(阿里开源的分布式服务治理框架)
    └── Kafka
    └── RocketMQ
    └── Sharding-JDBC
    └── Disconf
    └── Elsaticsearch
    └── Elsatic-job
    └── Redis
    └── MongoDB
    └── Mockito
    └── InfluxDB
    └── Ignite
    └── Geode
    └── ...

基础入门

  • spring-boot-quickstart(Spring Boot快速入门案例)
  • spring-boot-configuration(了解下Spring Boot配置管理)

web开发

  • spring-boot-web-jsp(使用JSP作为开发)

  • spring-boot-web-thymeleaf(使用模板引擎thymeleaf开发)

  • spring-boot-web-bootstrap(bootstrap入门demo)

  • spring-boot-security(权限控制项目实战)

    spring security实战

  • spring-boot-security-cas(集成CAS搭建自己的认证中心)

缓存使用

  • spring-boot-cache-caffeine(高性能本地缓存框架caffeine实践)
  • spring-boot-cache-ehcache(Java应用最多的本地缓存Ehcache实践)
  • spring-boot-redis(分布式KV缓存redis实践)

数据库

  • spring-boot-mybatis(mybatis使用快速入门)

  • spring-boot-mybatis-annotation(mybatis全注解使用示例)

  • spring-boot-mybatis-multidatasource(mybatis多数据库解决方案)

  • spring-boot-mybatis-sharding-jdbc(使用sharding-jdbc对数据库进行分库分表)

    Sharding-JDBC分库分表使用实例

  • spring-boot-mybatis-sharding-jdbc-masterslave(使用sharding-jdbc完成分库分表+读写分离)

    Sharding-JDBC读写分离探秘

Spring其他功能

企业开发进阶

  • spring-boot-dubbo(服务治理框架dubbo使用案例)

  • spring-boot-dubbo-annotation(服务治理框架dubbo案例,基于注解实现)

  • spring-boot-dubbo-extension(基于duboo扩展点实现自定义扩展)

  • spring-boot-disconf(分布式配置管理disconf使用案例)

  • spring-boot-elasticsearch(全文搜索引擎elasticsearch实践)

  • spring-boot-mongodb(NoSQL数据库mongodb实战)

  • spring-boot-kafka(消息中间件kafka实践)

  • spring-boot-rocketmq(阿里开源消息中间件RocketMQ实践)

    spring-boot-rocketmq-starter使用案例

  • spring-boot-rocketmq-starter(阿里开源消息中间件RocketMQ Spring Boot Starter)

    spring-boot-rocketmq-starter 使用指南

    spring-boot-rocketmq-starter

  • spring-boot-mockito(Java社区最火的测试框架Mockito使用实战)

  • spring-boot-hibernate-validation(Hibernate出品的校验框架使用实战)

  • spring-boot-geode(内存数据库geode实战,目前应用与内部地址位置距离的计算)

  • spring-boot-ignite(内存数据库ignite实战)

  • spring-boot-elastic-job(分布式任务调度框架elastic-job实战)

  • spring-boot-starter(自定义spring boot starter)

  • spring-boot-starter-rest(自定义spring boot starter)

  • spring-boot-logging-log4j2(使用log4j2)

  • spring-boot-influxdb(时序数据库influxDB实践)

  • spring-boot-mybatis-sharding-jdbc(分库分表Sharding-JDBC实践)

准备工作

数据库脚本

安装MySQL

添加用户travis

create user travis@localhost;

授权

grant all privileges on *.* to travis@localhost;/* mac系统下localhost要改成127.0.0.1 */      

查看权限

/*      查看MySQL所有用户      */
SELECT DISTINCT CONCAT('User: ''',user,'''@''',host,''';') AS query FROM mysql.user;
/*      查看travis用户的权限      */
show grants for travis@localhost; 

编译运行

mvn clean compile
mvn clean package

未完待续

更多案例不断补充中。。。如果您觉得对你有用,就给我点个赞吧(^o^)/~

spring-boot-learning-examples's People

Contributors

rhwayfun avatar happyxiaofan avatar

Watchers

 avatar

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.