This is a sample application to demonstrate how to build a KYB process using Dotfile API.
See acme.onboarding.dotfile.com for live demos.
An Express application that act as a proxy between the frontend and Dotfile API to manage:
- Authentication with Dotfile API
- Wrap API calls to Dotfile API
- A basic set of KYB rules based on the role of the individuals
A React application to manage a multi-step form to collect the information necessary to the KYB process:
- Search for a Company and edit its information
- Create Individuals
- Free from to collect additional information
More information in frontend/readme.md
The Application can be easily deployed to Render.com or Heroku.
NODE_ENV
Specify the node environment
DOTFILE_KEY
API Key for the target Dotfile workspaceDOTFILE_BASE_URL
BASE URL for used Dotfile API environmentTEMPLATE_ID
Checks template to be used
SMTP_HOST
SMTP_PORT
EMAIL_USER
EMAIL_FROM
EMAIL_PASSWORD
APP_URL
Frontend URLLOGO_URL
Static logo to be used in emails
Create a Webhook pointing to the backend URL (${REACT_APP_HOST}/webhooks/checks
)