Code samples to showcase LINK integration, particularly how to request data from end-user with ShareRing Link.
This is a simple React webapp, bootstrapped with Create React App. It shows how to use ShareRing Link Javascript Library in a React project to generate QR code with an existing Query ID created in ShareRing LINK dashboard.
- Get a subscription on ShareRing Link. On test environment the subcription will be free of charge using a test credit card.
- (Optionally) Create an endpoint (webhook) which will receive data shared from the users.
- Create a query and select the endpoint created above.
Refer to the documentation for how to create a query.
The repo uses yarn
as package manager. Install it first. At root directory:
# install dependencies
$ yarn install
# start frontend
$ yarn workspace link-integration-react start
By default, the server runs on port :3000
.