quickstarts/state_management/javascript/sdk
greenie-msft 26d2318010
Remove config to opt-into resiliency. It's now enabled by default (#778)
Signed-off-by: Nick Greenfield <nigreenf@microsoft.com>
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2023-02-03 11:08:11 -08:00
..
order-processor Add Resiliency Quickstarts for Service Invoke and State Management (#744) 2022-11-16 14:57:45 -08:00
.gitignore State Management quickstarts examples added. (#528) 2022-02-14 15:57:16 -08:00
README.md update from components path to resources path (#781) 2023-02-03 10:51:02 -08:00
makefile Removed docker image prefix addition step 2022-07-25 12:28:57 -07:00

README.md

Dapr state management

In this quickstart, you'll create a microservice to demonstrate Dapr's state management API. The service generates messages to store data in a state store. See Why state management to understand when this pattern might be a good choice for your software architecture.

Visit this link for more information about Dapr and State Management.

Note: This example leverages the Dapr client SDK. If you are looking for the example using only HTTP click here.

This quickstart includes one service:

  • Node client service order-processor

This quickstart includes one service:

  • Node client service order-processor

Run Node service with Dapr

  1. Navigate to folder and install dependencies:
cd ./order-processor
npm install
  1. Run the Node service app with Dapr:
dapr run --app-id order-processor --resources-path ../../../resources/ -- npm start
dapr stop --app-id order-processor