Link

Development Environment Setup

Operating System

Although you should be able to work on building Yack Connectors from Windows and Linux, you will not be able to test your Connector implementation in Developer Mode until these versions of the Yack Beta app are released. If you’re unable to use a machine with macOS and would still like to try building Yack Connectors we recommend setting up your connector with a test framework. Given support for these operating systems is still pending, we still highly recommend developing on a macOS operating system.

Local Setup

1. Install Node

MacOS ships with a pre-installed version of node. However, it is recommended that you install the latest version of Node using a version manager like nvm.

  • First, install nvm in your terminal by running
      brew install nvm
    
  • Next, add nvm to your bash_profile
      echo "source $(brew — prefix nvm)/nvm.sh" >> .bash_profile
    
  • Then activate your configuration via
      bash ~/.bash_profile
    
  • Install the latest version of Node with
      bash nvm install v6.5.0
    

Now you will be able to easily install and switch between different Node versions using nvm.


2. Update npm package manager

Once, you have Node installed npm package manager will be available, but it will need to be updated.

  • In your terminal run
       npm install npm@latest -g
    

npm is updated more frequently than Node.


3. Install Typescript

Download Typescript from typescriptlang.org or install it using the Typescript npm package (recommended).

  • In your terminal run
       npm i typescript --save