quickstarts/state_management/python/sdk
Paul Yuknewicz 0ccd05f6f4 Updating dapr-dev module reference with comment saying this is for testing and unsupported
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.guest.corp.microsoft.com>
2023-05-30 12:31:28 -07:00
..
order-processor Updating dapr-dev module reference with comment saying this is for testing and unsupported 2023-05-30 12:31:28 -07:00
README.md Fixed review comments 2023-03-17 13:54:32 +05:30
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 Managenment.

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

This quickstart includes one service:

  • Python service order-processor

Run Python service with Dapr

  1. Open a new terminal window and navigate to order-processor directory:
cd ./order-processor
pip3 install -r requirements.txt
  1. Run the Python service app with Dapr:
cd ./order-processor
dapr run --app-id order-processor --resources-path ../../../resources/ -- python3 app.py
dapr stop --app-id order-processor