Skip to content

一个小型springcloud项目,可进行快速开发,适合新手,基于spring cloud alibaba,采用Nacos注册和配置中心,集成流量卫兵Sentine,zipkin链路跟踪,路由使用gateway

License

Notifications You must be signed in to change notification settings

miracle-peak/miracle-cloud

Repository files navigation

miracle-cloud

介绍

一个小型springcloud脚手架,基于spring cloud alibaba,采用Nacos注册和配置中心,集成流量卫兵Sentine,zipkin链路跟踪,路由使用gateway,ribbon负载

技术架构

  • 后端:springcloud + mybatis-plus + redis + mysql + nacos + zipkin + sentinel + ribbon + gateway + jwt;
  • 前端:vue + axios + element-ui;

安装教程

  1. 官网下载sentinel控制台jar包或者使用项目sentinel目录下的sentinel-dashboard-1.8.0制作镜像并启动
  2. 启动nacos端口:8848
  3. 启动redis,zipkin

使用说明

  1. miracle-system:系统模块,包含角色管理,用户管理,菜单管理;
  2. miracle-common:公共模块,提供工具如jwt工具,加密工具等工具,包含zikpin链路跟踪,以及全局异常处理,其他模块使用时需要引入依赖及扫包”pers.miracle.miraclecloud.common.exception“,参考system/ribbon模块的启动类;
  3. miracle-gateway:网关路由模块,根据路由匹配分发到相应的服务;
  4. sentinel限流使用

About

一个小型springcloud项目,可进行快速开发,适合新手,基于spring cloud alibaba,采用Nacos注册和配置中心,集成流量卫兵Sentine,zipkin链路跟踪,路由使用gateway

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published