The documentation you are viewing is for Dapr v1.7 which is an older version of Dapr. For up-to-date documentation, see the latest version.
The Dapr JS SDK will allow you to interface with the Dapr process that abstracts several commonly used functionalities such as Service-to-Service invocation, State Management, PubSub, and more.
npm install --save dapr-client
- DaprServer: The Dapr Server manages all communication from the Dapr Sidecar to your application
- DaprClient: The Dapr Client manages all communication from your application to the Dapr Sidecar
The above communication can be configured to use either of the gRPC or HTTP protocols.
To help you get started, check out the resources below:
DaprClient is a package that for how your application interacts with the Dapr sidecar, or other Dapr powered applications.
DaprServer is a package for how the Dapr sidecar interacts with your application, forwarding event subscriptions, invokes and more.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.