This repo contains JavaScript implementations of the Fitbit Developer Bridge.
First-time set up:
-
Install node and yarn (npm won't work)
-
Clone this repository
-
Run
yarn install && yarn build
from the root of the repo
To run scripts found in the ./packages
directory, first you need to:
- run
yarn build
in the root directory to build the project - run your script with
node ./packages/package-name/lib/path/to/script.js
(to run the cli, you would run yarn build; node ./packages/sdk-cli/lib/cli.js
)
For help regarding the tools please consult the Fitbit Developer Portal or Fitbit SDK Forums