GithubHelp home page GithubHelp logo

tekspry / dapr-service-invocation-sample-app Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 516 KB

License: MIT License

C# 56.30% Dockerfile 2.67% PowerShell 0.49% HTML 4.41% TypeScript 27.31% CSS 1.19% JavaScript 7.63%

dapr-service-invocation-sample-app's Introduction

Dapr Service Invocation Sample Application

This application is intended to demonstrate the basics of using Dapr service invocation block for distributed application. It is a demo project for my blog series Demystifying Dapr, by Gagan Bajaj.

This version of the code is using Dapr 1.7

Running the app development environment

Prerequisites: We need to have the Dapr CLI installed, as well as Docker installed (e.g. Docker Desktop for Windows), and to have set up dapr in self-hosted mode with dapr init

Open two terminal windows. In the ecom.product.service folder run start-product-app.ps1, inside ecom.order.service folder run start-order-app.ps1 and also run npm start in ecom.spa react app. The ports used are specified in the PowerShell start up scripts. The product service app will be available at http://localhost:5016/ and order service app will be available at http://localhost:5206/. Their swagger links will be at http://localhost:5016/swagger/index.html and http://localhost:5206/swagger/index.html, and the frontend app is available at http://localhost:3000

dapr-service-invocation-sample-app's People

Contributors

gaganbajaj avatar tekspry avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

zerohours

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.