All Projects → renzl321 → Smaker

renzl321 / Smaker

Licence: lgpl-3.0
smaker cloud是国内首个基于Spring Cloud、spring cloud alibaba微服务化快速开发脚手架,具有统一授权、认证后台管理系统,其中包含具备用户管理、资源权限管理、网关API管理等多个模块,支持多业务系统并行开发,可以作为后端服务的开发脚手架。代码简洁,架构清晰,适合学习和直接项目中使用。核心技术采用Spring Boot2以及Spring Cloud Gateway、nacos、spring secruity Oauth2相关核心组件,前端采用vue-element-admin组件

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Smaker

Spring Security Rbac Jwt
springboot2项目的脚手架工程(包含security + jwt方式的动态权限校验)
Stars: ✭ 21 (-70%)
Mutual labels:  spring-security
Spring Boot Angular Template
Starter Template to create a OAuth2 secured dockerized Spring Boot 2 Application with Angular 8 Frontend
Stars: ✭ 48 (-31.43%)
Mutual labels:  spring-security
Eshop Soa
EShop基于Dubbo实现SOA服务化拆分,并基于RocketMQ解决了分布式事务(新版SpringBootSOASkeleton)
Stars: ✭ 65 (-7.14%)
Mutual labels:  spring-security
Springboot Dubbox
基于Spring-boot和dubbox的API接口和后台管理系统
Stars: ✭ 948 (+1254.29%)
Mutual labels:  spring-security
Oidc Workshop Spring Io 2019
Workshop at Spring I/O 2019 on "Securing Microservices with OpenID Connect and Spring Security 5.1"
Stars: ✭ 43 (-38.57%)
Mutual labels:  spring-security
Springsecuritytotp
Spring Security Login with Google Authenticator (Time-based One-time Password Algorithm, TOTP)
Stars: ✭ 56 (-20%)
Mutual labels:  spring-security
Angular websockets security
AngularJS, Websockets, Restful, Spring, Spring Security, Hibernate, Bootstrap, Gulp in ES6, Maven
Stars: ✭ 11 (-84.29%)
Mutual labels:  spring-security
Springboot Learn By Example
SpringBoot Learn By Example Book
Stars: ✭ 68 (-2.86%)
Mutual labels:  spring-security
Security
保护你的应用-Spring Security
Stars: ✭ 47 (-32.86%)
Mutual labels:  spring-security
Webauthn4j Spring Security
WebAuthn4J Extension for Spring Security
Stars: ✭ 64 (-8.57%)
Mutual labels:  spring-security
Oauth2 Shiro Jwt
use oauth2, shiro and spring specrity to make an ums system
Stars: ✭ 29 (-58.57%)
Mutual labels:  spring-security
Spring Web Rss Channels
A Full Stack RSS Reader web application built with Spring MVC and JSP. It uses libraries like Spring, JPA, Bootstrap, Apache Tiles, JSP etc. There is also a static code analysis tool called Checkstyle.
Stars: ✭ 40 (-42.86%)
Mutual labels:  spring-security
Springboard
Spring Boot based production grade starter kit.
Stars: ✭ 59 (-15.71%)
Mutual labels:  spring-security
Webpersonal
WebPersonal 是基于 Spring Boot + Vue Admin Template 搭建的个人网站,采用Docker容器化部署。包括个人简历、权限管理、相册等功能,持续更新,您的 Star⭐,就是我最大的动力(●'◡'●)
Stars: ✭ 28 (-60%)
Mutual labels:  spring-security
Spring Examples
SpringBoot Examples
Stars: ✭ 67 (-4.29%)
Mutual labels:  spring-security
Spring Reactive Sample
Spring 5 Reactive playground
Stars: ✭ 867 (+1138.57%)
Mutual labels:  spring-security
Market
Simple web-market: Spring, JSP, REST, Hibernate (under modernization)
Stars: ✭ 47 (-32.86%)
Mutual labels:  spring-security
Spring Boot Building Api Backend
Code of the 'Practical Guide to Building an API Back End with Spring Boot' book
Stars: ✭ 69 (-1.43%)
Mutual labels:  spring-security
Springboot security restful api
SpringBoot + SpringSecurity + RESTful API --- Maven Project Demo
Stars: ✭ 68 (-2.86%)
Mutual labels:  spring-security
Spring Security Registration
Go further into "Learn Spring Security":
Stars: ✭ 1,112 (+1488.57%)
Mutual labels:  spring-security

License

快速开始 smaker-cloud

先决条件

首先本机先要安装以下环境,建议先学习了解springboot和springcloud基础知识。

  • git

  • java8

  • maven

    编译与运行

    先配置数据库,
    然后reids,
    启动mysql,
    启动nacos(导入db目录中的nacos-config.sql到nacos数据库中)
    配置hosts文件,建议使用switchhosts工具
    127.0.0.1   smakercloud-mysql
    127.0.0.1   smakercloud-redis
    127.0.0.1   smakercloud-gateway
    127.0.0.1 	smakercloud-nacos
    启动顺序:
    - smaker-auth
    - smaker-back
    - smaker-gateway
    
    如果对您对此项目有兴趣,可以点 "Star" 支持一下 谢谢! ^_^
    
    或者您可以 "follow" 一下
    
    如有问题请直接在 Issues 中提,或者您发现问题并有非常好的解决方案,欢迎 PR 👍
    
    
    

传送门:前端项目地址

smaker-cloud是基于Spring Cloud服务开发平台,具有统一授权、认证后台管理系统,其中包含具备用户管理、资源权限管理、网关API

管理等多个模块,支持多业务系统并行开发,可以作为后端服务的开发脚手架。代码简洁,架构清晰,适合学习和直接项目中使用。 #技术栈

此项目是 Spring cloud Oauth2 构建的后台管理系统,计划采用以下技术

  • 注册中心:Nacos
  • 服务网关:Spring cloud-Gateway
  • 配置中心:Nacos
  • 服务调用:Spring-cloud-open-Feign
  • 负载均衡:Spring-cloud-loadbalancer
  • 熔断降级:Sentinel
  • 消息队列:RabbitMQ
  • 权限认证:Spring secruity Oauth2
  • 监控服务:zipkin

QQ群号:667650593

基础模块

服务 使用技术 进度 备注
注册\配置中心 nacos
消息总线 SpringCloud Bus+Rabbitmq
动态网关 SpringCloud Gateway 多种维度的流量控制(服务、IP、用户等),后端可配置化🏗
授权认证 Spring Security OAuth2
服务容错 SpringCloud Hystrix
服务调用 SpringCloud OpenFeign

架构摘要

服务鉴权

通过JWT的方式来加强服务之间调度的权限验证,保证内部服务的安全性。

监控

利用Spring Boot Admin 来监控各个独立Service的运行状态;利用Hystrix Dashboard来实时查看接口的运行状态和调用频率等。

负载均衡

将服务保留的rest进行代理和网关控制,除了平常经常使用的node.js、nginx外,Spring Cloud系列的zuul和ribbon,可以帮我们进行正常的网关管控和负载均衡。其中扩展和借鉴国外项目的扩展基于JWT的Zuul限流插件,方面进行限流。

服务注册与调用

基于Nacos来实现的服务注册与调用,在Spring Cloud中使用Feign, 我们可以做到使用HTTP请求远程服务时能与调用本地方法一样的编码体验,开发者完全感知不到这是远程方法,更感知不到这是个HTTP请求。

熔断机制

因为采取了服务的分布,为了避免服务之间的调用“雪崩”,采用了Hystrix的作为熔断器,避免了服务之间的“雪崩”。


License

Apache License Version 2.0# smaker

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].