[Distributed .NET Core] API Gateway for DShop project.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 387bb30 Nov 20, 2018

README.md

Distributed .NET Core

DevMentors

What is Distributed .NET Core?

It's an open source project (and a course available soon at devmentors.io), providing in-depth knowledge about building microservices using .NET Core framework and variety of tools. One of the goals, was to create a cloud agnostic solution, that you shall be able to run anywhere.

We encourage you to join our Discourse forum available at forum.devmentors.io.

For this particular course, please have a look at the topics being discussed under this category.

What is DShop.Api?

DShop.Api provides an API gateway to the DShop solution.

Branch Build status
master master branch build status
develop develop branch build status

How to start the application?

Service can be started locally via dotnet run (executed in the /src/DShop.Api directory) or ./scripts/dotnet-run.sh shell script, by default it will be available under http://localhost:5000.

You can also run the application using Docker docker run --name api -p 5000:5000 --network dshop-network devmentors/dshop.api (include -d to run the container in the background).

It is required to have the basic infrastructure up and running first (RabbitMQ, MongoDB and Redis) in the same docker network named dshop-network. Services can be started using Docker Compose (and this file) as described here.

What HTTP requests can be sent to the API?

You can find the list of all HTTP requests in DShop.rest file placed in the root folder of repository (here). This file is compatible with REST Client plugin for Visual Studio Code.