You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: workflows/javascript/sdk/README.md
+30-7Lines changed: 30 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,11 @@
2
2
3
3
In this quickstart, you'll create a simple console application to demonstrate Dapr's workflow programming model and the workflow management API. The console app starts and manages the lifecycle of a workflow that stores and retrieves data in a state store.
4
4
5
-
This quickstart includes one project:
5
+
This quickstart includes 3 entry points demonstrating different ways to host a workflow:
3. Express app via Dapr Server `order-process-with-dapr-server`
8
10
9
11
The quickstart contains 1 workflow to simulate purchasing items from a store, and 5 unique activities within the workflow. These 5 activities are as follows:
10
12
@@ -16,7 +18,7 @@ The quickstart contains 1 workflow to simulate purchasing items from a store, an
16
18
17
19
### Run the order processor workflow with multi-app-run
18
20
19
-
1. Open a new terminal window and navigate to `order-processor` directory:
21
+
1. Open a new terminal window and install the dependencies:
20
22
21
23
<!-- STEP
22
24
name: build order-process app
@@ -29,12 +31,13 @@ npm run build
29
31
```
30
32
31
33
<!-- END_STEP -->
32
-
2. Run the console app with Dapr:
34
+
2. Run the app
33
35
36
+
- Entry point 1 : JavaScript console app
34
37
<!-- STEP
35
38
name: Run order-processor service
36
39
expected_stdout_lines:
37
-
- '== APP - workflowApp == == APP == Payment of 100 for 10 item1 processed successfully'
40
+
- '== APP - workflowApp == Payment of 100 for 10 item1 processed successfully'
0 commit comments