# hope-boot **Repository Path**: WeChatSpring/hope-boot ## Basic Information - **Project Name**: hope-boot - **Description**: 基于SpringBoot开发的后台管理系统 - **Primary Language**: Java - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2019-05-31 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

Hope-Boot

Author JDK license QQ群 Telegram star 发行版本

# 简介 >您是否一直在苦苦寻找一款适合自己的后台系统... 那么,现在Hope-boot来了。我也不知道为什么要做这样一个项目,或许是为了学习,或许是我一直没发现一款完美的系统。欢迎大家提问题,好让我一直完善下去 > 基于Spring Boot 2.x开发 整合:Spring Boot 2.x/Apache Shiro+JWT/Spring Data JPA+Mybatis+Tk.Mybatis+PageHelper/Redis/Flyway/Swagger/SSO/Thymeleaf 动态权限管理 AES+MD5+盐加解密 代码生成 日志记录 Google验证码登录 单点登录 定时任务 项目地址:https://github.com/hope-for/hope-boot 主语言[java] > 这是我的第一个开源作品,欢迎star。第二个开源作品地址:https://github.com/hope-for/hope-cloud ------------------------------ 🇨🇳简体中文 | 🇺🇸[English](./README.md) | [更新日志](https://github.com/hope-for/hope-boot/commits/master) | 当前版本:label:[0.0.4](https://github.com/hope-for/hope-boot) # 模块划分 | 模块 | 释义 | | ---------- | ----------------------- | | hope-admin | 后台管理模块 | | hope-core | 核心业务类模块 | | hope-framework | 框架模块,提供数据操作,工具处理,通用Mapper,通用Service等 | | hope-sso-server | 单点登录-认证中心模块,支持集群 | | hope-generator | 代码生成模块-提供sql生成代码 | | hope-flyway | 数据库版本管理工具模块 | | hope-quartz | 定时任务模块 | # 使用说明 ```bash # 1.使用命令拉取代码: git clone https://github.com/hope-for/hope-boot.git # 2.创建数据库(取名):hope, 字符集:utf8mb4;(注意:只需要你创建数据库即可,字符集不是utf8,而是utf8mb4) # 3.使用IDEA导入该项目 # 4.修改配置 A.打开hope-flyway模块,配置数据库连接: spring: datasource: url: 你的数据库地址 username: 你的数据库用户名 password: 你的数据库密码 B.打开hope-admin模块,配置数据库连接和redis连接: a.数据库配置(可搜索datasource或定位到L.17) b.redis配置(可搜索redis或定位到L.29,注:该项目必须安装redis服务才能启动) # 5.运行项目(数据库管理模块) a.直接运行hope-flyway目录下的HopeFlywayApplication.java b.查看数据库是否自动生成表和初始化的数据 # 6.运行项目(后台管理模块) a.直接运行hope-admin目录下的HopeAdminApplication.java b.浏览器访问:http://127.0.0.1:8886 # 7.运行项目(单点登录模块) a.直接运行hope-sso-server目录下的HopeSsoServerApplication.java b.浏览器访问:http://127.0.0.1:8887 # 8.运行项目(代码生成模块) a.直接运行hope-generator目录下的HopeGeneratorApplication.java b.浏览器访问:http://127.0.0.1:8888 # 9.运行项目(定时任务模块) a.直接运行hope-quartz目录下的HopeQuartzApplication.java b.端口:8889 # 10.打包注意 a.打包直接在hope-boot目录下:mvn clean install 即可,生成的jar包在各自模块下的target目录下。运行:java -jar 包名 b.flyway模块没有提供打包插件,该模板主要用于开发人员使用,不需要部署 ``` # 账号 后台登录:账号:admin 密码:123456 资源监控:账号:hope-druid 密码:hope-druid 后端API文档:http://localhost:8886/swagger-ui.html # 感谢 Hope-boot的诞生离不开下面这些项目(取之开源,用之开源): - [Spring Boot](https://github.com/spring-projects/spring-boot):核心框架 - [Apache Shiro](https://github.com/apache/shiro):权限框架 - [Redis](https://github.com/antirez/redis):缓存框架 - [Thymeleaf](https://github.com/thymeleaf/thymeleaf):模板引擎 - [MyBatis](https://github.com/mybatis/mybatis-3):用于Java的MyBatis SQL Mapper框架 - [jpa](https://github.com/spring-projects/spring-data-jpa):我也不知道为什么要把这个加上 - [PageHelper](https://github.com/pagehelper/Mybatis-PageHelper):分页插件 - [tk.mybatis](https://github.com/abel533/Mapper):通用Mapper - [alibaba/druid](https://github.com/alibaba/druid):数据库连接池 - [alibaba/fastjson](https://github.com/alibaba/fastjson):用于Java的快速JSON解析器/生成器 - [Apache Maven](https://maven.apache.org/):依赖管理 - [shiro-redis](https://github.com/alexxiyang/shiro-redis):一个可以由shiro使用的redis缓存工具 - [Lombok](https://www.projectlombok.org/):让代码更简洁 - [Hutool](https://github.com/looly/hutool):一个Java工具包,也只是一个工具包,它帮助我们简化每一行代码,减少每一个方法,让Java语言也可以“甜甜的” - [Bootstrap](https://github.com/twbs/bootstrap.git):使用最广泛的前端 ui 框架 - [JQuery](https://github.com/jquery/jquery.git):使用最广泛的 JavaScript 框架 - [Layer](https://github.com/sentsin/layer.git):弹出层组件 - [kaptcha](https://github.com/penggle/kaptcha):Google验证码 - [jrebel](https://zeroturnaround.com/software/jrebel/):热部署 - [swagger](https://github.com/swagger-api/swagger-ui):Swagger(丝袜哥)是世界上最流行的 API 表达工具。 - [flyway](https://github.com/flyway/flyway):Flyway by Boxfuse • Database Migrations Made Easy. - [xxl-sso](https://github.com/xuxueli/xxl-sso/):A distributed single-sign-on framework. - [xxl-code](https://github.com/xuxueli/xxl-code-generator/):A code generator for "controller/service/dao/mybatis/model" layer. - [quartz](http://www.quartz-scheduler.org/):定时任务 # 捐赠 **请作者吃个肉夹馍 :) 作者博客:[https://aodeng.cc](https://aodeng.cc)(我们不改变世界,我们跟着世界改变)微信公众号:低调小熊猫** ![](https://i.loli.net/2018/12/31/5c29d3b18826d.png) # 界面展示 前端页面暂时借鉴[RuoYi],已获得作者同意,感谢开源。后面会抽时间采用[Ant]重构 ## 后台登录 ![](https://i.loli.net/2019/05/01/5cc930100d298.png) ## 首页 ![](https://i.loli.net/2019/05/01/5cc9300612ca5.png) ## 权限管理 -用户 -角色 -资源 ![](https://i.loli.net/2019/05/01/5cc9300d45a92.png) ![](https://i.loli.net/2019/05/01/5cc9300d62006.png) ![](https://i.loli.net/2019/05/01/5cc9300d8fb70.png) ## 系统工具 -资源监控 ![](https://i.loli.net/2019/05/01/5cc9300bc316d.png) ![](https://i.loli.net/2019/05/01/5cc93003ef3d6.png) ## 文档 ![](https://i.loli.net/2019/05/01/5cc932128cc07.png) ## 我的链接: - [我的个人博客](https://aodeng.cc) - [我的微信公众号(低调小熊猫)](https://mp.weixin.qq.com/s/l5t8WSCG_-shiD4BPpLYiw) - [hope-boot使用GPL-v3.0协议开源](https://github.com/hope-for/hope-boot/blob/master/LICENSE) - [低调小熊猫QQ群](https://jq.qq.com/?_wv=1027&k=5y4H7Nz) - [低调小熊猫Telegram群](https://t.me/joinchat/LSsyBxVKLGEkF5MtIhg6TQ) - [我的Gitee链接](https://gitee.com/java-aodeng) - [我的Github链接](https://github.com/java-aodeng) - [我的开源组织(欢迎志同道合的朋友加入)](https://github.com/hope-for) - 联系我的邮箱:java@aodeng.cc 申请加入hope-for组织也是发送到该邮箱哦,记得带上你的GitHub账号