Code Monkey home page Code Monkey logo

cloudbase's Introduction

使用SpringCloud Alibaba来搭建项目的一些基础模块 拿来即用

版本

Nacos(自行下载) 1.2.1 SpringBoot 2.2.5 SpringCloud Hoxton.SR1 springcloud alibaba 2.2.0

更新

2021.1.15 整合Swagger2以及swagger-bootstarp-ui 详情请看这篇别人写的博文gateway整合swagger教学 有一些改动 我截图放在我下面详情里的博文里了

2021.1.13 提交了一个根据vue-admin-template修改的一个基本的前端架子 然后跟本项目做了联调 实现了登录注销等、用户信息的获取是在consumer模块中 把信息写死了 admin角色 前端仓库-VueAdmin

模块描述

aliyunvod 阿里云视频点播相关模块(使用的话 将配置文件里的AccessKey替换成自己的即可)

sentinal 流量监控 限流等(自行下载sentinal dashboard)

common 公共模块 没有使用web依赖所以引用了lombok但是无法使用@Slf4j (要引用依赖logback-classic)

consumer provider 消费者、服务提供者 consumer中使用了restTamplate feign两种调用方式

gateway 网关 前端的请求都是到网关 由网关再去找对应的服务或者是消费者

auth 权限模块 前后端分离的情况下 使用token 这个模块只做登录注册注销 授权在gatewat拦截请求判断权限 session问题 gateway的webflux的session与http的session不同 我也不知道如何解决 所以没有用到session了

exception 全局异常处理模块(能够处理Controller、Filter等抛出的异常 Filter抛出的异常处理见详解)

其他

数据都是写死的 简单修改即可 并没有使用到数据库

每个模块就是一个SpringBoot项目 更多框架的使用见SpringBoot学习

详解

图片看不到 看博客里的吧 博文

cloudbase's People

Contributors

zyfgoup avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.