Difficulty: beginner
Estimated Time: 15 minutes

Objective

The objective of this scenario is to demonstrate how to work install the Distributed Application Runtime and then run a simple Node.JS application under the framework.

For more details about DAPR, go here.

This scenario is completely interactive. The instructions you'll be given will be executed directly in terminal windows in the Katacoda interactive learning environment.

Contents

This scenarios is divided into the following steps.

  • Step 1 - Install the DAPR CLI
  • Step 2 - Get the sample Node.JS app up and running under DAPR
  • Step 3 - Invoke a command against the sample Node.JS application running under DAPR.

Congratulations! You've completed the scenario, Understanding DAPR (The Distributed Application Runtime).

In this scenario you learned basics of the DAPR framework.

The interactive scenario demonstrated how to:

  • MORE
  • TO
  • COME
  • SOON

Understanding DAPR

Step 1 of 3

Setting Up DAPR

Objective

The objective of this lesson is to get the DAPR CLI installed and running under the Katacoda interactive learning environment

Steps

Step 1: Install Redis

sudo apt update && apt install redis-tools -y

Step 2: Get the code and install it

Click the following command to download and install the DAPR CLI using curl.

curl -fsSL https://raw.githubusercontent.com/dapr/cli/master/install/install.sh | /bin/bash

Step 3: Initialize DAPR within the Katacoda virtual machine

dapr init