JAVA微服务博客项目

2 篇文章 0 订阅
1 篇文章 0 订阅

一起探讨学习

欢迎大家进群,一起讨论学习

每天给大家提供技术干货

在这里插入图片描述

博主技术笔记 https://notes.xiyankt.com


博主开源微服架构前后端分离技术博客项目源码地址,欢迎各位star https://gitee.com/bright-boy/xiyan-blog


夕颜博客 (个人支付+K8S和Docker compose一键部署)

支持Linux系统|Windows系统一键部署夕颜博客,详细的部署文档,通过K8S和Docker compose二套容器编排管理

介绍

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




在这里插入图片描述

系统架构图

在这里插入图片描述

后端技术

技术说明官网
SpringBootMVC框架 https://spring.io/projects/spring-boot
SpringCloud微服务框架https://spring.io/projects/spring-cloud/
MyBatis-PlusORM框架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/
fastjsonJson数据化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
JWTJWT登录支持https://github.com/jwtk/jjwt
SLF4J日志框架http://www.slf4j.org/
Lombok简化对象封装工具 https://github.com/rzwitserloot/lombok
NginxHTTP和反向代理web服务器http://nginx.org/
HutoolJava工具包类库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-commentVue 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
wangeditorwangeditor富文本编辑器http://www.wangeditor.com/
v-viewer富文本图片预览插件https://www.npmjs.com/package/v-viewer
vue-monoplasty-slide-verifyvue滑动验证码https://github.com/monoplasty/vue-monoplasty-slide-verify
prerender-spa-plugin预渲染插件https://www.npmjs.com/package/prerender-spa-plugin
vue-meta-info动态设置meta标签插件https://www.npmjs.com/package/vue-meta-info

环境要求

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. 本地后端和前端构建镜像脚本
    • xiyan-parent

      2.1. - xiyan-gateway gateway 网关

      2.2. - xiyan-web-service 夕颜web服务

      2.3. - oss-service 文件服务

      2.4. - user-service 用户认证服务

      2.5. - search-service 搜索服务

      2.6. - admin-server Spring Boot Admin监控服务
    • xiyan-frontend 夕颜源码前端
    • 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://test.xiyanit.cn
测试服务器响应比较慢可以访问线上地址 :http://xiyanit.cn/


【支付前端】:http://pay.test.xiyanit.cn
账户密码admin


【夕颜后台】:开发中。。。。。。。

后期计划:

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

项目中初始用户和密码

Mysql:用户:root,密码:yoostar403

Redis:密码:yoostar403

Nacos管理页面: 用户:nacos,密码:nacos

Sentinel管理页面: 用户:sentinel,密码:sentinel

xxl-job: 用户:admin,密码:123456

支付: 用户:admin,密码:admin

移动端截图

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

PC端截图

登陆注册页

在这里插入图片描述
在这里插入图片描述

毕设源码栏目
在这里插入图片描述

开发工具栏目
在这里插入图片描述
技术交流栏目

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

排行榜栏目
在这里插入图片描述
在这里插入图片描述

留言板栏目
在这里插入图片描述

电视直播栏目
在这里插入图片描述

内容详情
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

评论
在这里插入图片描述

支付截图
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

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

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

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

刘明同学呀

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值