Coder Social home page Coder Social logo

ultrasonicsoft / netcore-microservices-krakend-api-gateway-demo Goto Github PK

View Code? Open in Web Editor NEW
13.0 3.0 7.0 17 KB

Home Page: https://medium.com/@balramchavan/building-micro-services-with-net-core-krakend-api-gateway-fad036f10298

C# 100.00%
dotnetcore microservices api-gateway krakend-framework krakend krakend-ce

netcore-microservices-krakend-api-gateway-demo's Introduction

Building Micro services with .NET Core 2.2 + Krakend API gateway

Introduction

.NET Core is open source framework for building REST API. Purpose of this repository is to demonstrate how to build Microservices in .Net Core (v2.2) and use Krakend API gateway.

Installation

This repository has been built and tested on MacBook Pro hence installation steps are related to it.

Running projects

  • Open krakend-api-gateway-demo.sln solution file in VS 2019
  • Select "Multiple Projects" option in Debug configuration and Run application. Alternatively you can run projects via dotnet core CLI commands as well.
  • Start Krakend API gateway by running command: krakend run -c krakend.json in solution directory.
  • Hit http://localhost:8080/users url in browser or in POSTMAN and you should get list of all user. Similarly you can hit http://localhost:8080/products for products. Refer POSTMAN collection in repository for more endpoints.

Development

  • If you want to add new endpoint in your Web API project then make sure you add respective entry in krakend.json file and restart krakend server so that new changes can take place.

netcore-microservices-krakend-api-gateway-demo's People

Contributors

ultrasonicsoft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.