mirror of https://github.com/dapr/quickstarts.git
1.4 KiB
1.4 KiB
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
- Navigate to folder and install dependencies:
cd ./order-processor
npm install
- Run the Node service app with Dapr:
dapr run --app-id order-processor --resources-path ../../../resources/ -- npm start
dapr stop --app-id order-processor