Skip to content

rodri-oliveira-dev/GatewayWithOcelot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is the Project?

The objective of this project was to implement Ocelot Gateway

Give a Star! ⭐

If you liked the project or if project helped you, please give a star ;)

How to use:

  • You will need the Visual Studio Code and the .NET Core 3.1.
  • Please check if you have installed the same runtime version (SDK) described in global.json
  • The latest SDK and tools can be downloaded from https://dot.net/core.

Also you can run the Project in Visual Studio Code (Windows, Linux or MacOS).

To know more about how to setup your enviroment visit the Microsoft .NET Download Guide

To Test the project

  1. Enter the [PrimeiraApi] directory and run the [dotnet run] command;
  2. Enter the [SegundaApi] directory and run the [dotnet run] command;
  3. Enter the [Gateway] directory and run the [dotnet run] command;
  4. Check that the url and ports are the same as configured in the Gateway\configuration.json file;
  5. Browse to the Gateway swagger url;

Technologies implemented:

  • .NET Core 3.1
  • Ocelot
  • Swagger
  • Swagger For Ocelot