liuhll / Surging.sample
Licence: mit
微服务框架Surging案例
Stars: ✭ 151
Labels
Projects that are alternatives of or similar to Surging.sample
Go Archaius
a dynamic configuration framework used in distributed system
Stars: ✭ 133 (-11.92%)
Mutual labels: microservice
Gh Latest Repos
Microservice to get the latest public GitHub repos from a user
Stars: ✭ 143 (-5.3%)
Mutual labels: microservice
Oci Cloudnative
MuShop - Cloud Native microservices demo for Oracle Cloud Infrastructure
Stars: ✭ 147 (-2.65%)
Mutual labels: microservice
Gores
👷 Redis-backed library for creating background jobs in Go. Placing jobs in multiple queues, and process them later asynchronously.
Stars: ✭ 137 (-9.27%)
Mutual labels: microservice
Php Msf
PHP微服务框架即Micro Service Framework For PHP
Stars: ✭ 1,764 (+1068.21%)
Mutual labels: microservice
Generator Micro Service
🛫 Yeoman generator to kick-start your microservice with `micro` and `ava`!
Stars: ✭ 145 (-3.97%)
Mutual labels: microservice
Gemini
Model Driven REST framework to automatically generate CRUD APIs
Stars: ✭ 138 (-8.61%)
Mutual labels: microservice
Micro Medium Api
Microservice for fetching the latest posts of Medium with GraphQL.
Stars: ✭ 138 (-8.61%)
Mutual labels: microservice
Alibabacloud Microservice Demo
An Alibaba Cloud native microservice demo powered by Apache Dubbo and Spring Cloud Alibaba
Stars: ✭ 145 (-3.97%)
Mutual labels: microservice
Go Micro Boilerplate
The boilerplate of the GoLang application with a clear microservices architecture.
Stars: ✭ 147 (-2.65%)
Mutual labels: microservice
Wookiee
Scala based lightweight service framework using akka and other popular technologies.
Stars: ✭ 132 (-12.58%)
Mutual labels: microservice
Micro Starter
[Deprecated] 🔷 Basic (opinionated) starter kit for a micro app with webpack build
Stars: ✭ 144 (-4.64%)
Mutual labels: microservice
Naftis
An awesome dashboard for Istio built with love.
Stars: ✭ 1,859 (+1131.13%)
Mutual labels: microservice
Fabric8
fabric8 is an open source microservices platform based on Docker, Kubernetes and Jenkins
Stars: ✭ 1,783 (+1080.79%)
Mutual labels: microservice
Rpcx Gateway
http gateway for rpcx services. Clients in any programming languages can call them
Stars: ✭ 145 (-3.97%)
Mutual labels: microservice
Surging Sample
开发与运行环境
IDE
- Visual Studio 2017/Visual Studio 2019
- Visual Studio Code
Docker 和 Docker-Compose
- 通过docker官网下载并安装docker for windows,安装完
- 将docker的容器类型设置为
linux
(电脑右下角鼠标右键点击Switch to Linux Containers
) - 将当前源代码目录所在卷设置为docker的共享卷
- 将docker的镜像仓库设置为
https://registry.docker-cn.com
- 安装docker-compose
运行项目
1. 打包Surging组件
获取源代码后,进入到nupkg目录,通过pack.ps1
的脚本打包Surging组件
cd ./nupkg
./pack.ps1
2. 运行中间件
进入到中间件编排目录,通过docker-compose运行中间件组件
cd ./docker-compose/middleware
docker-compose up -d
3. 执行数据库脚本
使用mysql数据库管理工具nacicat(或是其他数据链接工具),链接到数据库服务,并执行sql
目录下的数据库脚本,数据库链接的配置如下:
hostname: 127.0.0.1
port: 23306
username: root
password: qwe!P4ss
4. 运行项目
通过visual Studio打开sln/Surging.Hl.sln
解决方案,将docker-compose
项目设置为启动项目,按F5
启动项目。
微服务组件
微服务名称 | 说明 | 端口号 | 维护人 | 新增日期 | 备注 |
---|---|---|---|---|---|
Customer | 客户关系管理服务组件 | 18080 | * | * | |
Identity | 身份认证与授权服务组件 | 18081 | * | * | 用于微服务集群身份认证与授权的服务组件 |
Order | 订单管理服务组件 | 18082 | * | * | |
Product | 产品管理服务组件 | 18083 | * | * | |
Schedule | 分布式任务调度管理组件 | 18084 | * | * | |
Stock | 库存管理服务组件 | 18085 | * | * | |
Organization | 组织机构服务组件 | 18086 | * | * | |
BasicData | 基础数据微服务组件 | 18087 | * | * |
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].