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: daprdocs/content/en/js-sdk-docs/_index.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,40 +11,40 @@ The Dapr JS SDK will allow you to interface with the Dapr process that abstracts
11
11
12
12
## Installation
13
13
14
-
To get started with the Javascript SDK, you can download the Dapr Javascript SDK package from [NPM](https://npmjs.org/package/dapr-client) by running the below:
14
+
To get started with the Javascript SDK, you can download the Dapr Javascript SDK package from [NPM](https://npmjs.org/package/dapr-client) by running the following:
15
15
16
16
```bash
17
17
npm install --save dapr-client
18
18
```
19
19
20
20
## Structure
21
21
22
-
The Dapr Javascript SDK exists out of 2 major components:
22
+
The Dapr Javascript SDK contains two major components:
23
23
24
24
***DaprServer:** The Dapr Server manages all communication from the Dapr Sidecar to your application
25
25
***DaprClient:** The Dapr Client manages all communication from your application to the Dapr Sidecar
26
26
27
-
To achieve communication, you are able to choose between 2 different protocols that are implemented: gRPC or HTTP
27
+
The above communication can be configured to use either of the gRPC or HTTP protocols.
28
28
29
-

30
-

29
+

30
+

31
31
32
32
## Get Started
33
33
34
-
To help you get started, feel free to check out the resources below:
34
+
To help you get started, check out the resources below:
35
35
36
36
<divclass="card-deck">
37
37
<divclass="card">
38
38
<div class="card-body">
39
39
<h5 class="card-title"><b>Client</b></h5>
40
-
<p class="card-text">Create a JavaScript client and interact with a Dapr sidecar and other Dapr applications. (e.g. Publishing events, Output Binding support, ...)</p>
40
+
<p class="card-text">Create a JavaScript client and interact with a Dapr sidecar and other Dapr applications. (e.g., publishing events, output binding support, etc.)</p>
<p class="card-text">Create a JavaScript server and let the Dapr sidecar interact with your application. (e.g. Subscribing to events, Input Binding support, ...) </p>
47
+
<p class="card-text">Create a JavaScript server and let the Dapr sidecar interact with your application. (e.g., subscribing to events, input binding support, etc.)</p>
The Dapr Client will allow you to perform communication with the Dapr Sidecar and get access to its client facing features such as: Publishing Events, Invoking Output Bindings, State Management, Secret Management, and much more.
11
+
The Dapr Client allows you to communicate with the Dapr Sidecar and get access to its client facing features such as Publishing Events, Invoking Output Bindings, State Management, Secret Management, and much more.
12
12
13
13
## Pre-requisites
14
14
@@ -18,13 +18,13 @@ The Dapr Client will allow you to perform communication with the Dapr Sidecar an
0 commit comments