Node.js samples for Incode API products:
Samples include Web Hook Implementations:
- Creating an session and access token for web and mobile clients
- Creating onboarding URL links
- A basic Web Hook implementation for accessing onboarding results
To browse ready to use code samples check Incode Samples.
-
Install Node.js version 18 or greater
-
Clone this repository:
git clone https://github.com/Incode-Technologies-Example-Repos/nodejs-samples.git
-
Change directory to one of the sample folders, e.g.
token-server
:cd <repo root directory>/<sample folder>
-
Install the sample's dependencies (see the sample's README for details):
npm install
-
Run the sample:
npm run start
The Vanilla Example is a frontend sample written without frameworks. It's a vanilla example of our Web SDK.
The React Example is a frontend React JS implementation sample.