- Listen to Trint Webhook Events
- Extend the Event data with an API (In example: The Trint API)
- Store the results in a data store of your choice.
To run the service locally you will need to run yarn start:dev and you will need to allow inbound traffic from Trint to reach your service. Once this is setup, you will need to add a url to you Trint developer console.
https://app.trint.com/account/api
- Start the service
# Runs the project in development mode using nodemon
$ yarn start:dev- Setup inbound traffic.
# Runs the project in development mode using nodemon
$ ngrok http http://localhost:8080- Add your ngrok url to the Trint developer console.
# Run Jest tests
$ yarn test# Install packages
$ yarn install
# Build the dist
$ yarn build
# Run the dist
$ yarn start