Skip to content

trint-it/trint-quickstart-webhooks

Repository files navigation

trint-quickstart-webhook-integration

Introduction

  • 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.

Development

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


  1. Start the service
# Runs the project in development mode using nodemon
$ yarn start:dev
  1. Setup inbound traffic.
# Runs the project in development mode using nodemon
$ ngrok http http://localhost:8080
  1. Add your ngrok url to the Trint developer console.

Unit Tests

# Run Jest tests
$ yarn test

Build Instructions

# Install packages
$ yarn install

# Build the dist
$ yarn build

# Run the dist
$ yarn start

About

Use this as a base to listen for Trint Webhooks. Extend events and save the output.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published