HID Global
Bank of DigitalPersona for DigitalPersona Access Management API

Build the server

Prerequisites

Install Node JS. The sample is tested in NodeJS v19.

NOTE: It is recommended to install NodeJS using a Node Version Manager (nvm) or Node Version Switcher (nvs), which allow to install different NodeJS versions side by side and quickly switch between them.

Install Git.

NOTE: Instead of downloading and installing prerequisites one by one, you can use the Chocolatey Package Manager for Windows. Run PowerShell as an administrator and execute the following commands:

> Set-ExecutionPolicy Bypass -Scope Process -Force
> iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
> choco install nodejs git

Install the sample

Clone the sample repository

git clone https://github.com/hidglobal/digitalpersona-sample-angularjs.git

Install dependencies

cd digitalpersona-sample-angularjs
npm install

Build the site

  • For production:
    npm run build-prod
    
  • For development:
    npm run build-dev
    

Next: Configure the server.