DealMaker API JavaScript Sample Requirements NodeJS Git Usage Instructions Preparing the Client First, clone this repository to your local machine: $ git clone https://github.com/DealMakerTech/api. In a terminal, navigate to v1/clients/javascript: $ cd v1/clients/javascript. Install client dependencies: $ npm install. Build the client: $ npm run build. Make the client available to the sample: $ npm link. Running the Sample In your terminal, navigate to v1/samples/javascript: $ cd v1/samples/javascript. Install dependencies: $ npm install. Copy the file .env.template to .env in v1/samples/javascript and fill in the appropriate values, which are visible on your DealMaker account. In your terminal, run $ node app.js [deal-id] to output basic information about a deal. Replace [deal-id] with the numeric id of your deal.