1 Star 1 Fork 3

黑客松 / Cambaluc-API-Gateway

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

简介

汗八里API网关(Cambaluc-API-Gateway)

是基于 .NET 6 和 Yarp 开发,并能通过Web端高效管理API网关路由信息的单节点API GateWay

特点

  1. 继承 YARP 并可以在Web端可视化端管理高性能、高度可定制的反向代理服务器
  2. 将 YARP 配置信息持久化,可选用Mysql、MSSQL、Pg数据库进行存储,可选用Redis作为缓存层
  3. 管理端 Web UI 应用使用了 Blazor 技术构建

安装教程

基础环境

.NET 6 SDK MySQL数据库5.6及以上版本 SQL Server 2017及以上版本 Visual Studio 2022及以上版本

使用说明

本地运行

1、获取代码

将源代码拉取至本地

gitee源 git clone https://gitee.com/dotNETHackthon/Cambaluc-API-Gateway.git

Azure DevOps源 打开公开项目 https://dev.azure.com/dotnetconf-2021-beijing/%E6%B1%97%E5%85%AB%E9%87%8CAPI%E7%BD%91%E5%85%B3%EF%BC%88Cambaluc-API-Gateway%EF%BC%89

2、编译构建

本地构建

使用dotnet cli dotnet bulid {projectname} dotnet run {projectname}.dll

Azure Pipelines 使用托管库里的 azure-pipelines.yml

3、资源访问

本地方式

ApiGateway端的WebApi管理界面 打开浏览器,访问 http://localhost:5000/swagger

WebUI端 打开浏览器,访问 http://localhost:5000

The MIT License (MIT) Copyright © 2021 Cambaluc 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.

简介

汗八里API网关(Cambaluc-API-Gateway) 是基于 .NET 6 和 Yarp 开发,并能通过Web端高效管理API网关路由信息的单节点API GateWay 展开 收起
C# 等 4 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/dotNETHackthon/Cambaluc-API-Gateway.git
git@gitee.com:dotNETHackthon/Cambaluc-API-Gateway.git
dotNETHackthon
Cambaluc-API-Gateway
Cambaluc-API-Gateway
master

搜索帮助