Skip to content

Latest commit

 

History

History

example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Virgil Keyknox JavaScript SDK Usage Example

Client-server application that shows basics of @virgilsecurity/keyknox.

Preparation

There are few mandatory steps that you need to complete:

  • Create Application in Virgil Dashboard
  • Create API Key in Virgil Dashboard
  • Create a new file named .env with the contents of .env.example
    cp .env.example .env
  • Open the .env file in a text editor and replace the values starting with [VIRGIL_... with the corresponding values from Virgil Dashboard

Usage

You need to complete sequence from two steps:

  • Launch server.js
  • Launch client.js