1 Star 5 Fork 4

shud / SX-Microservices

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

SX-Microservices

介绍

基于.NetCore3.1微服务框架 vs2019开发

  1. 基于RabbitMq的EventBus ,采用数据库表方式对分布式事务进行回滚。
  2. 统一认证中心采用IdentityServer4,
  3. 服务间通信采用GRPC,API
  4. 网关使用Ocelot,结合Consul进行服务治理,数据库持久化
  5. 任务调度hangfire。
  6. 缓存采用redis。
  7. 数据存储采用SqlServer和MongoDB。
  8. 日志记录ExceptionLess。
  9. 前端VUE2+elementui 在APP文件夹里面

系统展示

登录

系统界面

消息队列

服务治理

运行步骤

  1. 把Db下的sql脚本运行建表,创建基础服务(SxCore)和产品服务数据库(SX.Product)和认证数据(SX.AuthServer)

  2. window下安装RabbitMq,Consul,Redis,sqlserver

3.修改各个项目的appsetting 更改数据库地址,consul地址,redis地址,mq地址,每个后端项目都需要修改。

  1. 确保rabbitmq,redis,consul已运行,先启用认证服务,再启动网关服务,再启动基础服务和产品服务。

5.前端需要安装node.js,npm切换到淘宝源,具体细节百度搜索搭建vue开发环境。目前用的nodejs版本12.18.3,环境搭建好后,npm i 安装依赖包,然后 npm run serve 启动。

特别说明

有疑问可以给我留言。

MIT License Copyright (c) 2022 shuyuansong Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

.net core 微服务框架。其中包含RabbitMq,Grpc,Consul+Ocelot,Redis,IdentityServer4统一认证、SqlSuagr,MongoDb 展开 收起
C# 等 5 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C#
1
https://gitee.com/sys001/sx-microservices.git
git@gitee.com:sys001/sx-microservices.git
sys001
sx-microservices
SX-Microservices
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891