1 Star 0 Fork 126

ttt123 / project_16996581

forked from James / 夕颜博客 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

夕颜博客(K8S+Docker Compose容器编排+集成支付)



介绍

夕颜博客,一个基于微服务架构的前后端分离博客源码系统。Web端使用Vue + iView , 并且很好的适配移动端,目前支付宝小程序,微信小程序版,QQ小程序版,百度小程序版,字节跳动小程序版,Android版,IOS版,快应用版,360小程序版,H5版,采用的技术uniapp进行开发,一套代码发布10个平台,后端使用SpringCloudAlibaba + mybatis-plus进行开发,使用 Jwt 做登录验证,使用ElasticSearch作为全文检索服务,使用sentinel实现网关限流,熔断,降级,使用zipkin实现链路追踪,使用seate实现分布式事务,使用spring cloud stream 消息队列使用kafka,分布式任务调度XXL-JOB,使用ELK+Kafka+Filebeat日志收集,文件上传使用七牛云,数据加密AES,采用Nuxt.js作为服务端SSR渲染,加快SEO优化加快爬虫抓取,有Vue和Nuxt二套前端源码,个人免签支付系统采用的技术是SpringBoot+Layui+DB2+JPA,支持Linux和Windows一键部署夕颜博客系统,非常适合需要学习微服务的人才,采用K8S和docker compose二种容器编排模式 如果不喜欢粒子特效的可以在App.vue里面进行注释,觉得不错的,帮忙点个star

微信公众号,每天给大家提供技术干货 QQ群欢迎各位一起来交流技术,探讨技术,互相学习

站点演示

【夕颜Vue前端】:http://vue.xiyanit.cn/
【夕颜支付】:http://pay.xiyanit.cn/
【夕颜后台管理系统】:http://manage.xiyanit.cn/

支付宝小程序版 微信小程序版
H5版 QQ小程序版
Android版

系统架构图

输入图片说明

后端技术

技术 说明 官网
SpringBoot MVC框架 https://spring.io/projects/spring-boot
SpringCloud 微服务框架 https://spring.io/projects/spring-cloud/
MyBatis-Plus ORM框架 https://mp.baomidou.com/
Swagger-UI 文档生产工具 https://github.com/swagger-api/swagger-ui
Kibana 分析和可视化平台 https://www.elastic.co/cn/kibana
Elasticsearch 搜索引擎 https://github.com/elastic/elasticsearch
Filebeat 轻量型数据采集器 https://www.elastic.co/cn/beats/filebeat
Logstash 用于接收Kafka的数据并处理 https://www.elastic.co/cn/logstash
kafka 消息队列 http://kafka.apache.org/
mail 邮箱
Seata 分布式事务 http://seata.io/zh-cn/
Spring Security 安全框架 https://spring.io/projects/spring-security/
fastjson Json数据化 https://github.com/alibaba/fastjson/
Sentinel 流量管理 https://github.com/alibaba/Sentinel
Redis 分布式缓存 https://redis.io/
Docker 容器化部署 https://www.docker.com
Hikari 数据库连接池 https://github.com/brettwooldridge/HikariCP
七牛云 七牛云 - 对象储存 https://developer.qiniu.com/sdk#official-sdk
JWT JWT登录支持 https://github.com/jwtk/jjwt
SLF4J 日志框架 http://www.slf4j.org/
Lombok 简化对象封装工具 https://github.com/rzwitserloot/lombok
Nginx HTTP和反向代理web服务器 http://nginx.org/
Hutool Java工具包类库 https://hutool.cn/docs/#/
AES 数据加解密 https://blog.csdn.net/qq_40942490/article/details/107283195
Zipkin 链路追踪 https://github.com/openzipkin/zipkin
第三方登录 QQ 微博
xxl-job 分布式任务调度 https://www.xuxueli.com/xxl-job/

前端技术

技术 说明 官网
Vue.js 前端框架 https://vuejs.org/
Vue-router 路由框架 https://router.vuejs.org/
Vuex 全局状态管理框架 https://vuex.vuejs.org/
Nuxt.js 创建服务端渲染 (SSR) 应用 https://zh.nuxtjs.org/
iView 前端ui框架 http://v1.iviewui.com/docs/introduce
Axios 前端HTTP框架 https://github.com/axios/axios
mavon-editor 富文本编辑器 https://www.npmjs.com/package/mavon-editor
Highlight.js 代码语法高亮插件 https://github.com/highlightjs/highlight.js
bright-comment Vue Emoji表情评论组件 https://gitee.com/bright-boy/bright-comment
vue-touch 移动端手指滑动插件 https://github.com/vuejs/vue-touch
vue-particles 粒子特效 https://github.com/whq920729/vue-particles
vue-social-share 分享插件 https://github.com/nicolasbeauvais/vue-social-sharing
crypto-js 数据加密 https://www.npmjs.com/package/crypto-js
vue-star-plus 点赞插件 https://github.com/vue-cabin/vue-star-plus
vue-video-player 视频播放器 https://github.com/weilanwl/ColorUI
@moefe/vue-aplayer 音乐播放器 https://www.npmjs.com/package/@moefe/vue-aplayer
wangeditor wangeditor富文本编辑器 http://www.wangeditor.com/
v-viewer 富文本图片预览插件 https://www.npmjs.com/package/v-viewer
vue-monoplasty-slide-verify vue滑动验证码 https://github.com/monoplasty/vue-monoplasty-slide-verify

环境要求

1. JDK(1.8+)
2. Maven (3.3.0+)
3. Redis服务 (3.0+)
4. MySQL (8.0+)
5. es(6.4)
6. Nginx
7. sentinel
8. kafka
9. ELK+Filebeat
10. Nacos
11. XXL-JOB
12. Seata
13. Zipkin

运行配置

夕颜源码使用了一些监控的 SpringCloud 组件,但是并不一定都需要部署,必须启动的服务包含

nacos,nginx,kafka, redis,mysql,xiyan-gateway,cms-service,oss-service,seate,xxl-job

其它的服务都可以不启动,也不影正常使用,可以根据自身服务器配置来启动

最低配置:1核2G 需要开启虚拟内存 文档地址

推荐配置:2核4G

项目目录

项目开发模式采用阿里巴巴规范进行开发,持久层DO,数据传输层DTO,业务BO,视图层VO Java开发手册(嵩山版) 链接:https://pan.baidu.com/s/1KVEVXtpt7qEtKM__-00ysw 提取码:w0n3

    • doc
      1.1. - 数据库脚本
      1.2. docker compose 一键部署脚本
      1.3. 本地后端和前端构建镜像脚本
      1.4. K8S 一键部署博客脚本
      1.5. Nginx部署配置文件
    • xiyan-parent
      2.1. - xiyan-gateway gateway 网关
      2.2. - xiyan-web-service 夕颜web服务
      2.3. - oss-service 文件服务
      2.4. - system-base-service 系统基础服务
      2.5. - backstage-service 夕颜后台服务
      2.6. - user-oauth2-auth 认证服务
      2.7. - user-oauth2-auth-api 认证Feign调用api
      2.8. - search-service 搜索服务
      2.9. - admin-server Spring Boot Admin监控服务
    • nuxt-xiyan-frontend 夕颜源码Nuxt前端
    • vue-xiyan-frontend 夕颜源码Vue前端
    • vue-xiyan-backstage 夕颜源码后台管理系统
    • xiyan-pay 夕颜个人免签支付
    • xxl-job 分布式任务调度

项目地址

目前项目托管在 Gitee 和 Github 平台上中,欢迎大家 Star 和 Fork 支持~

Gitee地址:https://gitee.com/bright-boy/xiyan-blog

Github地址:https://github.com/694475668/xiyan-blog

部署项目文档

https://bright-boy.gitee.io/docs

备用文档

http://doc.xiyanit.cn/

后期计划:

  •    个人在线支付
  •    ElasticSearch全文检索
  •    七牛云对象存储
  •    在线评论,回复,(支持表情)
  •    集成wangEditor和mavon双编辑器
  •    ELFK+Kafka高吞吐量采集日志
  •    Docker compose实现容器编排与管理
  •    毕设源码
  •    在线电视直播
  •    集成Spring Security安全框架
  •    在线留言板
  •    第三方QQ,微博登陆
  •    Vue改造Nuxt
  •    K8S部署夕颜博客
  •    后台管理系统
  •    夕颜博客App
  •    夕颜博客小程序
  •    在线聊天
  •    夕颜App扫码登录web端
  •    夕颜课堂
  •    个人中心

项目中初始用户和密码

后台:test 密码:yoostar403
Mysql:用户:root,密码:yoostar403
Redis:密码:yoostar403
Nacos管理页面: 用户:nacos,密码:nacos
Sentinel管理页面: 用户:sentinel,密码:sentinel
xxl-job: 用户:admin,密码:123456
支付: 用户:admin,密码:admin

Vue改Nuxt全面的SEO收录报告

输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明

小程序,App截图

输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明

移动端截图

输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明

PC端截图

登陆注册页 输入图片说明 输入图片说明 毕设源码栏目 输入图片说明 开发工具栏目 输入图片说明 技术交流栏目 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明

说说交流栏目 输入图片说明 金币充值栏目 输入图片说明 排行榜栏目 输入图片说明 留言板栏目 输入图片说明 电视直播栏目 输入图片说明 输入图片说明 内容详情 输入图片说明 输入图片说明 输入图片说明 评论 输入图片说明

夕颜后台管理系统第一版

输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明

支付系统

输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

内容含有违规信息 展开 收起
Java
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/yypaipai/xiyan-blog.git
git@gitee.com:yypaipai/xiyan-blog.git
yypaipai
xiyan-blog
project_16996581
master

搜索帮助