boldsign / angular-php-eSignature-example

This repository contains a variety of code examples for working with BoldSign eSignature API, and this code examples are built with Angular and PHP.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eSignature examples with Angular and PHP – BoldSign API

This repository contains a variety of code examples for working with BoldSign eSignature API, and this code examples are built with Angular and PHP.

API Demo

Scenarios covered

This repository includes the below list of code examples using the BoldSign APIs:

Prerequisites

  1. Signup for BoldSign trial
  2. Acquire needed BoldSign app credentials from here. Authentication - Help Center - BoldSign
  3. Check the node version, it should be v14.15.0 or above.
  4. And also check if Angular is installed, if not kindly run this command on your terminal to install
	npm install -g @angular/cli
  1. Now you have all the prerequisites ready to start BoldSign API for Angular.
  2. In your machine doesn't have PHP, kindly install from Download XAMPP PHP.
  3. Check the composer version using this command,
	composer -V
  1. In your machine doesn't have composer, kindly install from Download Composer.
  2. Now you have all the prerequisites ready to start BoldSign API for PHP.

Steps to run sample

  1. Before running the sample, go to PHP-REST-API folder and open your terminal. Generate .env file using this command,
	copy .env.example .env
  1. Open the .env file in the PHP-REST-API folder, and add your API key acquired from the BoldSign Web App in the ApiClient, add your Api_Key by the following format "API_KEY=XXXXXXXXXXXXXXX" and save it.
  2. When run the Send document from template sample, create a template from the web app with necessary fields. Copy the template ID from the web app once the template has been created. Add the copied template ID, in the sample template ID text box.
  3. When run the Embed signing process within your app and Embed send document using template within your app sample, create a template from the web app with necessary fields. Copy the template ID from the web app once the template has been created. Add the copied template ID, in the sample template ID text box.

PHP

  1. Open a new PHP-REST-API folder terminal and install the packages by using composer install.
  2. Run php artisan serve. Server is listening the port.

Angular

  1. Open a new terminal and install the packages by using npm install.
  2. Run ng serve. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Useful Resources

Contact Us

Any feedback or queries? Please feel free to contact our support team or mail to support@boldsign.com.

About

This repository contains a variety of code examples for working with BoldSign eSignature API, and this code examples are built with Angular and PHP.


Languages

Language:PHP 58.8%Language:HTML 19.0%Language:TypeScript 16.8%Language:CSS 3.3%Language:JavaScript 2.1%