/recipe-010-webhook-node

eSignature API Recipe that demonstrates the use of DocuSign Connect (webhook) functionality in Node.js. For additional recipes see: https://github.com/docusign/docusign-rest-recipes

Primary LanguageJavaScriptMIT LicenseMIT

Webhook-Node recipe

This directory includes the source for the Node Webhook recipe and enables it to be run on a free Heroku server.

The /src directory holds the complete example

The top level files are used to manage and configure the example on Heroku and MS Azure.

Run the recipe on Heroku

The recipe source can be run on Heroku using the free service level. No credit card needed!

Deploy

Click the Deploy button, then enter your DocuSign Developer Sandbox credentials on the form in the Heroku dashboard. Then press the View button at the bottom of the dashboard screen when it is enabled by the dashboard.

Run the recipe on MS Azure

The recipe source can be run on MS Azure using their trial offer.

Deploy to Azure

Run the recipe on your own server

Get Ready

Your server needs Node 4 or later

Your server must have an address that is visible and accessible from the public internet. Unless that is the case, the DocuSign platform will not be able to post the notification messages to your server.

You need an email address and password registered with the free DocuSign Developer Sandbox system. You also need a free Integration Key for your DocuSign developer account. See the DocuSign Developer Center to sign up.

How to do it

% npm install
% heroku local

Run the recipe with Docker

This can be ran on a Docker container.

Build the Docker image

docker build . connect_listener

Run the Docker image

docker run connect_listener