Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aimenux/yarpdemo
Playing with Yarp reverse proxy
https://github.com/aimenux/yarpdemo
app-gateway net80 reverse-proxy tye yarp
Last synced: 3 days ago
JSON representation
Playing with Yarp reverse proxy
- Host: GitHub
- URL: https://github.com/aimenux/yarpdemo
- Owner: aimenux
- Created: 2021-11-14T19:00:10.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-10T02:11:25.000Z (3 months ago)
- Last Synced: 2024-08-10T03:23:25.657Z (3 months ago)
- Topics: app-gateway, net80, reverse-proxy, tye, yarp
- Language: C#
- Homepage:
- Size: 108 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![.NET](https://github.com/aimenux/YarpDemo/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/aimenux/YarpDemo/actions/workflows/ci.yml)
# YarpDemo
```
Playing with Yarp reverse proxy
```> In this demo, i m using [Yarp](https://microsoft.github.io/reverse-proxy) in order to build a lightweight app gateway intercepting requests and redirecting them to backend microservices.
>
> The solution is organized as follows :
>
> - `AppGateway` : a webapi with yarp integration and configuration
> - `CustomersMicroservice` : a webapi listing fake customers
> - `OrdersMicroservice` : a webapi listing fake orders
> - `ProductsMicroservice` : a webapi listing fake products
>
> The solution is using [Tye](https://github.com/dotnet/tye) in order to configure and run microservices and app gateway.
>
> In order to run the solution :
>
>> :one: type `Tye Run` in your favorite terminal
>>
>> :two: browse the url `https://localhost:5000/api`
>>
>> :three: refresh the url to see [Yarp](https://microsoft.github.io/reverse-proxy) in action
>
> ![TyeDashboard](Screenshots/TyeDashboard.png)
>**`Tools`** : net 8.0, yarp, tye