Skip to content

cemutku/api-gateway-example

Repository files navigation

Ocelot Api Gateway Example

This project is an example of Ocelot API Gateway implementation. It takes requests (API calls) and routes them to the microservices (BasketAPI and ProductAPI). Thanks to API Gateway our application has a single entrypoint.

Development

Run all projects separately with dotnet run command on its own project directory.

Now we have three application running on above given ports. We'll access these applications via Api Gateway (localhost:5000). These routes are defined in "ocelot.json" file in the OcelotApiGateway project. We can access our services llike below:

About

Ocelot Api Gateway Example

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages