# hotel-parent2 **Repository Path**: shi-tengda/hotel-parent2 ## Basic Information - **Project Name**: hotel-parent2 - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-04-20 - **Last Updated**: 2022-04-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 前言 # 项目文档 # 项目介绍 ### 项目演示 #### 后台管理系统 #### 前台系统 ### 组织结构 ```lua hotel-parent ├── config -- 配置中心存储配置 ├── docunment -- 项目文件 ├── project-admin -- 后台管理系统服务 ├── project-auth -- 基于Spring Security Oauth2的统一的认证中心 ├── project-common -- 工具类及通用代码块 ├── project-gateway -- 基于Spring Cloud Gateway的微服务API网关服务 ├── project-job -- 分布式调度系统 ├── project-mbg -- MyBatisGenerator 生成的数据库操作代码模块 ├── project-monitor -- 基于spring Boot Admin 的微服务监控中心 ├── project-portal -- 前台门户系统服务 └── project-search -- 基于Elasticsearch的商品搜索系统服务 ``` ## 技术选型 ### 后端技术 | 技术 | 说明 | 官网 | | -------------------- | ------------------- | --------------------------------------------------- | | SpringBoot | 容器+MVC框架 | https://spring.io/projects/spring-boot | | SpringSecurity | 认证和授权框架 | https://spring.io/projects/spring-security | | MyBatis | ORM框架 | http://www.mybatis.org/mybatis-3/zh/index.html | | Elasticsearch | 搜索引擎 | https://github.com/elastic/elasticsearch | | RabbitMQ | 消息队列 | https://www.rabbitmq.com/ | | Redis | 分布式缓存 | https://redis.io/ | | MongoDB | NoSql数据库 | [https://www.mongodb.com](https://www.mongodb.com/) | | LogStash | 日志收集工具 | https://github.com/elastic/logstash | | Kibina | 日志可视化查看工具 | https://github.com/elastic/kibana | | Nginx | 静态资源服务器 | https://www.nginx.com/ | | Docker | 应用容器引擎 | [https://www.docker.com](https://www.docker.com/) | | Jenkins | 自动化部署工具 | https://github.com/jenkinsci/jenkins | | Druid | 数据库连接池 | https://github.com/alibaba/druid | | OSS | 对象存储 | https://github.com/aliyun/aliyun-oss-java-sdk | | MinIO | 对象存储 | https://github.com/minio/minio | | JWT | JWT登录支持 | https://github.com/jwtk/jjwt | | Lombok | 简化对象封装工具 | https://github.com/rzwitserloot/lombok | | Hutool | Java工具类库 | https://github.com/looly/hutool | | PageHelper | MyBatis物理分页插件 | http://git.oschina.net/free/Mybatis_PageHelper | | knife4j | 文档生成工具 | | | Hibernator-Validator | 验证框架 | http://hibernate.org/validator | ### 前端技术 | 技术 | 说明 | 官网 | | ---------- | --------------------- | ----------------------------------------------------- | | Vue | 前端框架 | https://vuejs.org/ | | Vue-router | 路由框架 | https://router.vuejs.org/ | | Vuex | 全局状态管理框架 | https://vuex.vuejs.org/ | | Element | 前端UI框架 | [https://element.eleme.io](https://element.eleme.io/) | | Axios | 前端HTTP框架 | https://github.com/axios/axios | | v-charts | 基于Echarts的图表框架 | https://v-charts.js.org/ | | Js-cookie | cookie管理工具 | https://github.com/js-cookie/js-cookie | | nprogress | 进度条控件 | https://github.com/rstacruz/nprogress | ### 架构图 #### 系统架构图 ![](https://gitee.com/yongliao/Image/raw/master/img/系统架构图.jpg) #### 业务架构图 ### 模块介绍 # 环境搭建 ## 开发工具 | 工具 | 说明 | 官网 | | ------------- | ------------------- | ----------------------------------------------------- | | IDEA | 开发IDE | https://www.jetbrains.com/idea/download | | RedisDesktop | redis客户端连接工具 | https://github.com/qishibo/AnotherRedisDesktopManager | | Robomongo | mongo客户端连接工具 | https://robomongo.org/download | | SwitchHosts | 本地host管理 | https://oldj.github.io/SwitchHosts/ | | X-shell | Linux远程连接工具 | http://www.netsarang.com/download/software.html | | Navicat | 数据库连接工具 | http://www.formysql.com/xiazai.html | | PowerDesigner | 数据库设计工具 | http://powerdesigner.de/ | | Chiner | 数据库设计工具 | https://gitee.com/robergroup/chiner | | Axure | 原型设计工具 | https://www.axure.com/ | | MindMaster | 思维导图设计工具 | http://www.edrawsoft.cn/mindmaster | | ScreenToGif | gif录制工具 | https://www.screentogif.com/ | | ProcessOn | 流程图绘制工具 | https://www.processon.com/ | | PicPick | 图片处理工具 | https://picpick.app/zh/ | | Snipaste | 屏幕截图工具 | https://www.snipaste.com/ | | Postman | API接口调试工具 | https://www.postman.com/ | | Typora | Markdown编辑器 | https://typora.io/ | ## 开发环境 | 工具 | 版本号 | 下载 | | ------------- | ------ | ------------------------------------------------------------ | | JDK | 1.8 | https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html | | Mysql | 5.7 | https://www.mysql.com/ | | Redis | 5.0 | https://redis.io/download | | MongoDB | 4.2.5 | https://www.mongodb.com/download-center | | RabbitMQ | 3.7.14 | http://www.rabbitmq.com/download.html | | Nginx | 1.10 | http://nginx.org/en/download.html | | Elasticsearch | 7.6.2 | https://www.elastic.co/downloads/elasticsearch | | Logstash | 7.6.2 | https://www.elastic.co/cn/downloads/logstash | | Kibana | 7.6.2 | https://www.elastic.co/cn/downloads/kibana | ## 搭建步骤 > Windows环境部署 > Docker环境部署 > 相关环境部署 - ELK日志收集系统的搭建请参考:[SpringBoot应用整合ELK实现日志收集](http://www.macrozheng.com/#/technology/mall_tiny_elk); - 使用MinIO存储文件请参考:[前后端分离项目,如何优雅实现文件存储](http://www.macrozheng.com/#/technology/minio_use); - 读写分离解决方案请参考:[你还在代码里做读写分离么,试试这个中间件吧](http://www.macrozheng.com/#/reference/gaea); - Redis集群解决方案请参考:[Docker环境下秒建Redis集群,连SpringBoot也整上了!](http://www.macrozheng.com/#/reference/redis_cluster)。 # 公众号 ## 许可证 [Apache License 2.0](https://github.com/macrozheng/mall/blob/master/LICENSE)