All Projects → qq53182347 → Liugh Parent

qq53182347 / Liugh Parent

SpringBoot+SpringCloud Oauth2+JWT+MybatisPlus实现Restful快速开发后端脚手架

Programming Languages

java
68154 projects - #9 most used programming language
TSQL
950 projects
shell
77523 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to Liugh Parent

Spring Boot Plus
🔥 Spring-Boot-Plus is a easy-to-use, high-speed, high-efficient,feature-rich, open source spring boot scaffolding. 🚀
Stars: ✭ 2,198 (+4.07%)
Mutual labels:  springboot, jwt, shiro, mybatis-plus
Parsevip
解析VIP资源,解析出酷狗、QQ音乐、腾讯视频、人人视频的真实地址
Stars: ✭ 105 (-95.03%)
Mutual labels:  springboot, jwt, shiro
Spring Boot Shiro
Shiro基于SpringBoot +JWT搭建简单的restful服务
Stars: ✭ 1,563 (-25.99%)
Mutual labels:  springboot, jwt, shiro
X Admin
致力于快速开发中小型后台管理系统项目模板(更新中......)
Stars: ✭ 123 (-94.18%)
Mutual labels:  springboot, jwt, shiro
Sureness
A simple and efficient open-source security framework that focus on protection of restful api.
Stars: ✭ 254 (-87.97%)
Mutual labels:  springboot, jwt, shiro
Jeeweb Mybatis Springboot
Springboot2.0+redis+SpringMVC+Spring+Mybatis+Mybatis Plus的Java web分布式开发系统;NettySocketIo排队系统/排队模块/排队框架,它是一款具有代码生成功能的智能快速开发平台;是以Spring Framework为核心容器,Spring MVC为模型视图控制器,Mybatis为数据访问层, Apache Shiro/Spring security为权限授权层,Ehcahe/Redis/Hazelcast对常用数据进行缓存,Disruptor作为并发框架,Bootstrap作为前端框架的优秀开源
Stars: ✭ 318 (-84.94%)
Mutual labels:  springboot, jwt, shiro
permission
前后端分离的后台权限管理系统,基于Spring Boot, Shiro, Vue, Element实现,预览地址http://123.206.82.234/#/login
Stars: ✭ 44 (-97.92%)
Mutual labels:  springboot, shiro, mybatis-plus
Spring Cloud Cli
基于Spring Cloud实现微服务前后端系统
Stars: ✭ 351 (-83.38%)
Mutual labels:  springboot, jwt, shiro
Ruoyi Vue Fast
(RuoYi)官方仓库 基于SpringBoot,Spring Security,JWT,Vue & Element 的前后端分离权限管理系统
Stars: ✭ 107 (-94.93%)
Mutual labels:  springboot, jwt
Online Learning Cloud Platform
👀在线学习平台,前端主要技术:Angular,后端主要技术:springboot (项目包含前台,后台上传失误,可能丢失代码......分为前台展示系统及后台管理系统。前台系统包含首页门户、多级菜单、问题页面、免费课程、练习页面等模块。 后台管理系统包含课程管理、用户管理、管理员管理、评论管理等模块。系统介绍及详细功能点、技术点见项目内文档描述)
Stars: ✭ 117 (-94.46%)
Mutual labels:  springboot, jwt
Securing Rest Api Spring Security
Spring Boot 2.2.x + Spring 5.2.x Rest Api Security Example
Stars: ✭ 117 (-94.46%)
Mutual labels:  springboot, jwt
Watchdog Framework Web
🍻 「停止维护」watchdog-framework的Web前端项目,基于Vue+iView-Admin+Vue-Router+Vuex开发
Stars: ✭ 124 (-94.13%)
Mutual labels:  springboot, shiro
Spring Boot Examples
个人学习 SpringBoot2.x 写的一些示例程序,目前正在持续更新中.....
Stars: ✭ 159 (-92.47%)
Mutual labels:  springboot, jwt
Spring Boot Quick
🌿 基于springboot的快速学习示例,整合自己遇到的开源框架,如:rabbitmq(延迟队列)、Kafka、jpa、redies、oauth2、swagger、jsp、docker、spring-batch、异常处理、日志输出、多模块开发、多环境打包、缓存cache、爬虫、jwt、GraphQL、dubbo、zookeeper和Async等等📌
Stars: ✭ 1,819 (-13.87%)
Mutual labels:  springboot, jwt
Ibase4j
Spring,SpringBoot 2.0,SpringMVC,Mybatis,mybatis-plus,motan/dubbo分布式,Redis缓存,Shiro权限管理,Spring-Session单点登录,Quartz分布式集群调度,Restful服务,QQ/微信登录,App token登录,微信/支付宝支付;日期转换、数据类型转换、序列化、汉字转拼音、身份证号码验证、数字转人民币、发送短信、发送邮件、加密解密、图片处理、excel导入导出、FTP/SFTP/fastDFS上传下载、二维码、XML读写、高精度计算、系统配置工具类等等。
Stars: ✭ 1,548 (-26.7%)
Mutual labels:  springboot, shiro
Blog
基于SpringBoot+Thymeleaf+Mybatis+LayUi+Lucene的粗糙个人博客
Stars: ✭ 95 (-95.5%)
Mutual labels:  springboot, shiro
Bookstore
springboot+mybatis+shiro的电商书城系统
Stars: ✭ 92 (-95.64%)
Mutual labels:  springboot, shiro
Skill6 Website Backend
java进阶开发,高级版web项目。基于dubbo实现分布式微服务架构,基于spring boot、spring mvc、mybatis、docker、ELK、redis、vue.js、node.js等技术实现的技术分享交流网站。网站名称:技术流,英文名:skill6。主要功能有:登录注册、单点登录、restful设计、文章及评论、代码及资源下载、主题讨论等。持续更新中...
Stars: ✭ 140 (-93.37%)
Mutual labels:  springboot, shiro
Pdf Books
📚 PDF 书籍库
Stars: ✭ 134 (-93.66%)
Mutual labels:  springboot, shiro
Ssm
👅基于RESTful风格的前后端分离的SSM框架,集成了shiro和swagger等框架
Stars: ✭ 141 (-93.32%)
Mutual labels:  jwt, shiro

bx-cloud

#注意 由于升级到了SpringCloud,认证授权改为SpringSecurity Oauth2.0,需要SpringBoot+JWT+Shiro+MybatisPlus单项目架构的,请切换至springboot分支

github网速如果不好,请使用网盘地址:链接:https://pan.baidu.com/s/1dkEHqCS0xWl9Htfdww2vkQ 提取码:ah39

前端(vue angular react html 版本都有,目前需自己调试,链接:https://pan.baidu.com/s/1hMTlZtwaor1kROmoARzk7A 提取码:low5):

一、背景

前后端分离已经成为互联网项目开发标准,它会为以后的大型分布式架构打下基础。SpringBoot使编码配置部署都变得简单,越来越多的互联网公司已经选择SpringBoot作为微服务的入门级微框架。

Spring Cloud Oauth2 Spring Cloud Security 为构建安全的SpringBoot应用提供了一系列解决方案,结合Oauth2可以实现单点登录、令牌中继、令牌交换等功能.

Mybatis-Plus是一个 Mybatis 的增强工具,有代码生成器,并且提供了类似hibernate的单表CRUD操作,又保留了mybatis的特性支持定制化 SQL。

Nacos 致力于帮助您发现、配置和管理微服务。Nacos 提供了一组简单易用的特性集,帮助您实现动态服务发现、服务配置管理、服务及流量管理。

LCN并不生产事务,LCN只是本地事务的协调工.一个高性能的分布式事务框架.

项目用到的技术: Spring Boot +Spring Cloud +Spring Security Oauth2 +JWT +MybatisPlus +Mysql +Redis +Nacos +LCN +Zuul

工程名 说明
bx-commons 数据传输对象、常量\工具类、公共常量
bx-core-server 核心服务,必须启动的两个服务
--register-config-center 注册配置中心(Nacos)
--user-center 用户认证授权
bx-gateway-zuul 网关
bx-files-server 文件中心
bx-transaction-server 分布式事务服务

二、项目特性

1.自定义@Log注解自动记录日志到数据库。

2.过滤请求参数,防止XSS攻击。

3.完成微信/微博/QQ第三方登录功能,完成用户名电话邮箱三种方式登录,WebSocket实时消息推送,短信登录注册等功能.

4.完成方法限流注解,重要防刷方法被访问距离下一次时间可调节

5.自己实现轻量级工作流,用状态机完成

6.整合快捷操作excel组件,加快开发速度

三、程序逻辑

1.填写用户名密码用POST请求访问/login接口,返回token令牌等信息,失败则直接返回身份错误信息。

2.在之后需要验证身份的请求的Headers中添加Authorization和登录时返回的token令牌。

3.服务端进行token认证,失败身份错误信息。

四、运行项目

  • 通过git下载源码,本项目基于JDK1.8

  • 采用Maven项目管理,模块化,导入IDE时直接选定liugh-parent的pom导入

  • 本项目SpringCloud版,基本环境只需要启动MySQL,Redis和bx-core-server里的两个服务,其他服务根据需要启动。

  • 每个项目中的sql文件对应一个数据库先创建好。

  • 启动顺序Redis-->MySQL-->register-config-center(RegisterConfigCenter.java)-->user-center(UserCenterApplication.java)

  • 修改bootstrap.properties中注册中心\数据库等地址,更新MySQL,Redis账号和密码。

  • 访问登录接口:localhost:8000/oauth/user/token

  • Content-Type用application/json方式,账号密码: { "username":"admin", "password":"admin", "clientId":"system", "clientSecret":"system", "scope":"app", "grantType":"password" }

  • 获取token访问其他接口

  • 注意!!!!!编译器请安装lombok插件,不然会报红

运行截图:

第一次做自己的项目,经验不足,如果大家有什么好的意见或批评,请务必issue一下。

加博主进交流群,一起优化进步(或wx搜索:53182347):

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].