All Projects → liuhll → Surging.sample

liuhll / Surging.sample

Licence: mit
微服务框架Surging案例

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
Cinema
使用 go-micro 微服务框架开发的电影院订票系统
Stars: ✭ 140 (-7.28%)
Mutual labels:  microservice
Stack Rpc Tutorials
Stack-RPC 中文示例、教程、资料,源码解读
Stars: ✭ 1,736 (+1049.67%)
Mutual labels:  microservice
Sea
rpc framework built on grpc
Stars: ✭ 132 (-12.58%)
Mutual labels:  microservice
Php Msf
PHP微服务框架即Micro Service Framework For PHP
Stars: ✭ 1,764 (+1068.21%)
Mutual labels:  microservice
Cloud Book
《Spring Cloud 微服务架构进阶》各章节附录源码
Stars: ✭ 142 (-5.96%)
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 Grpc
A simpler grpc framework
Stars: ✭ 133 (-11.92%)
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

Build Status hits issues size LICENSE

开发与运行环境

IDE

  • Visual Studio 2017/Visual Studio 2019
  • Visual Studio Code

Docker 和 Docker-Compose

  1. 通过docker官网下载并安装docker for windows,安装完
  2. 将docker的容器类型设置为linux(电脑右下角鼠标右键点击Switch to Linux Containers)
  3. 将当前源代码目录所在卷设置为docker的共享卷
  4. 将docker的镜像仓库设置为https://registry.docker-cn.com
  5. 安装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].