Skip to content

convertcom/javascript-sdk

Repository files navigation

Convert Insights, Inc JavaScript SDK

Installation

  1. Install dependencies: yarn
  2. Copy env.example into .env at the following packages:
    1. react demo
    2. nodejs demo
    3. sdk

JavaScript SDK Documentation

  1. Build packages: yarn build
  2. Start local server: yarn sdk:docs
  3. Prevview docs: http://localhost:3001

Demo Instructions

Note: Look for the marker [ConvertSDK] at *.js files

React

  1. Start demo server: yarn demo:react:start
  2. Build packages: yarn build
  3. Test demo app: http://localhost:3002

NodeJS

  1. Start demo server: yarn demo:nodejs:start
  2. Build packages: yarn build
  3. Test demo app: http://localhost:3003