This project provides a client SDK for interacting with the Remote API, by providing white label forms of several flows.
- Node.js
- npm
To run the project in development:
npm run dev
Using npm link to Test with a Test App
To test this package with a test application using npm link, follow these steps:
- In the root directory of the package, run:
npm link
This will create a global symlink for your package.
- In the root directory of your test application, run:
npm link remote-flows
This will create a symlink from the node_modules
folder of your test application to the global symlink created in the previous step.
-
Now you can import and use the
remote-flows
package in your test application as if it were installed from npm. -
To unlink the package when you are done testing, run the following commands in your test application directory:
npm unlink remote-flows
And in the root directory of your package: npm unlink
npm run build
To generate the API client from the Remote OpenAPI specification:
npm run openapi-ts
Note: The contents of the client folder are auto-generated by the openapi-ts tool and should not be manually modified.