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_ENVSpecify the node environment
DOTFILE_KEYAPI Key for the target Dotfile workspaceDOTFILE_BASE_URLBASE URL for used Dotfile API environmentTEMPLATE_IDChecks template to be used
SMTP_HOSTSMTP_PORTEMAIL_USEREMAIL_FROMEMAIL_PASSWORD
APP_URLFrontend URLLOGO_URLStatic logo to be used in emails
Create a Webhook pointing to the backend URL (${REACT_APP_HOST}/webhooks/checks)