This App shows an example integration of the Passbase Node.js server-side library. Before your try to run the App please sign up on our developer platform and use your own secret API key, which you can find in the API settings section.
Please follow our integration guide in our official developer documentation to install all dependencies first in a correct way.
Ensure that you have an up to date version of node installed. This means, that you will also need to have npm installed. If you haven't, please follow this guide here first to install everything correctly.
In the project directory you can run:
- Run
npm installinside the project directory in terminal in order to install the Passbase Package - Go into the file
index.jsand exchangeSECRET_API_KEYwith your own secret API key in line 16 - Run
nodemon index.jsin terminal - Navigate to the official developer dashboard and add webbhook endpoint (you can use a CLI tool such as
ngrokto forward the requests to your local development server) - Within the developer dashboard approve or decline an existing verification
This runs the app in the development mode. Open your terminal to see the verification information logged in the console.
