docs/getting-started/readme.md

2.2 KiB

Getting Started

Dapr is a portable, event-driven runtime that makes it easy for enterprise developers to build resilient, microservice stateless and stateful applications that run on the cloud and edge and embraces the diversity of languages and developer frameworks.

To get started with Dapr, we recommend the following steps:

1. Setup Dapr on your local machine or Kubernetes cluster

To build and run your Dapr applications, you will need to setup your environment and install Dapr:

  1. Setup local development
  2. Setup Kubernetes environment

Once you have Dapr installed, you can continue to our Hello World sample or continue reading for further guidance.

2. Setup a state store and pub-sub (Optional)

Some features of Dapr, mainly Pub/Sub and State Management, require that you set up a Dapr components for them.

Using the Dapr CLI, these components are set-up automatically for you when running on a local machine.

The following links will help you setup a state store and pub/sub components on Kubernetes:

3. Run through concepts and how-to guides (Optional)

Dapr has many concepts, which can be found here. The concepts provide a deeper understanding of the core features of Dapr and how they work.

Reading the How To guides, you can walk through specific tasks, for example, how to create a rate limited app using Dapr.

4. Run samples

The best way to learn is through experience! The Dapr samples repo contains many samples that will walk you through end-to-end scenarios of building applications with Dapr involving service invocation, using pub/sub, handling state and more.