Skip to content

sxlwar/signature

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOCUSIGN DEMO

IMPORTANT

When starting this project, ACCESS_TOKEN in the env file in the config directory maybe expired. You need to get your own ACCESS_TOKEN from docusign, remember to replace the ACCOUNT_ID with your own id too.

REPO

Note that the link given by the official website may points to an old repo, which corresponds to version 4.0. There is a package called docusign in npm, it has been deprecated. Download the latest package called docusign-esign.

docusign is developed by JavaScript, so far, the official has not written its declaration files. You can write your own declaration file if you mind for happy coding.

QUESTIONS

Q1: How do I access the Docusign documents that I signed? Users care

seem detail here

Q2: How do I access the Docusign documents that user signed? Developer care

Developer can get the document by EnvelopeFormData api. The api needs two parameters, accountId and envelopedId. AccountId is the same as ACCOUNT_ID in env configuration. EnvelopedId is returned by createEnvelope method which used to send an email to user.

Run

Start server

  • dev

After clone this repo, cd backend directory

npm install

In backend directory, run:

npm run start:dev
  • build
npm run build
  • bundle
npm run webpack

Run command above to package the project, automatically replace when file changes in backend/src/ directory.

Start frontend

cd frontend directory

  • dev
npm install
npm run start

Project will running at localhost:3001

  • build
npm run build

Preview

After the email is successfully sent, signers will see below in their mailbox.

email_1;

After signed, docusign will sent another email to signer, like this:

email_2;

If try to get the document before user sign it, response looks like this:

response_1;

If try to get the signed document, response looks like this:

response_1;

About

docusign demo (sign file by email)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published