Setting up the Domo development environment
To create Domo apps, we must first set up the development environment. Dev Studio utilizes Node.js, which includes npm. Also, we can get a developer sandbox instance to house our work-in-progress app definitions and app cards. The environment will enable us to work with Domo API functions directly and use the JavaScript (JS) libraries that wrap Domo API functions. Finally, we can set up our OAuth client ID and client secrets for secure API access via a token:
- First, check whether Node.js is installed by opening a terminal window and entering the
node --version
command in the shell prompt. If Node.js is installed, the version will be printed. If not, then install Node.js following the directions here: https://nodejs.org/en/download/. - Make sure that
/usr/local/bin
is in your$PATH
. For help, see How to add a directory to your path for Mac, or How to add a directory to your path for Windows, in the Further reading section. - Update...