Skip to content

Commit aa14ebf

Browse files
Resolve doc comments
Signed-off-by: Xavier Geerinck <[email protected]>
1 parent d579388 commit aa14ebf

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

daprdocs/content/en/js-sdk-docs/_index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,40 +11,40 @@ The Dapr JS SDK will allow you to interface with the Dapr process that abstracts
1111

1212
## Installation
1313

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:
1515

1616
```bash
1717
npm install --save dapr-client
1818
```
1919

2020
## Structure
2121

22-
The Dapr Javascript SDK exists out of 2 major components:
22+
The Dapr Javascript SDK contains two major components:
2323

2424
* **DaprServer:** The Dapr Server manages all communication from the Dapr Sidecar to your application
2525
* **DaprClient:** The Dapr Client manages all communication from your application to the Dapr Sidecar
2626

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.
2828

29-
![](./js-server/dapr-server.jpg)
30-
![](./js-client/dapr-client.jpg)
29+
![Dapr Server](./js-server/dapr-server.jpg)
30+
![Dapr Client](./js-client/dapr-client.jpg)
3131

3232
## Get Started
3333

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:
3535

3636
<div class="card-deck">
3737
<div class="card">
3838
<div class="card-body">
3939
<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>
4141
<a href="{{< ref js-client >}}" class="stretched-link"></a>
4242
</div>
4343
</div>
4444
<div class="card">
4545
<div class="card-body">
4646
<h5 class="card-title"><b>Server</b></h5>
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, ...) </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>
4848
<a href="{{< ref js-server >}}" class="stretched-link"></a>
4949
</div>
5050
</div>

daprdocs/content/en/js-sdk-docs/js-client/_index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: JavaScript Client SDK for developing Dapr applications
88

99
## Introduction
1010

11-
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.
1212

1313
## Pre-requisites
1414

@@ -18,13 +18,13 @@ The Dapr Client will allow you to perform communication with the Dapr Sidecar an
1818

1919
## Installing and importing Dapr's JS SDK
2020

21-
1. First install the SDK with `npm`:
21+
1. Install the SDK with `npm`:
2222

2323
```bash
24-
npm i dapr-client
24+
npm i dapr-client --save
2525
```
2626

27-
2. Then, Import the libraries:
27+
2. Import the libraries:
2828

2929
```javascript
3030
import { DaprClient, DaprServer, HttpMethod, CommunicationProtocolEnum } from "dapr-client";

daprdocs/content/en/js-sdk-docs/js-server/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ The Dapr Server will allow you to receive communication from the Dapr Sidecar an
1818

1919
## Installing and importing Dapr's JS SDK
2020

21-
1. First install the SDK with `npm`:
21+
1. Install the SDK with `npm`:
2222

2323
```bash
24-
npm i dapr-client
24+
npm i dapr-client --save
2525
```
2626

27-
2. Then, Import the libraries:
27+
2. Import the libraries:
2828

2929
```javascript
3030
import { DaprServer, CommunicationProtocolEnum } from "dapr-client";

0 commit comments

Comments
 (0)