typescript-influxdb-example

Preparatory action

Create env file ./myconfig/typescript-influxdb-example.env

the content is

influxdata_url={influxdata_url}
influxdata_token={influxdata_token}
influxdata_org={influxdata_org}
influxdata_bucket={influxdata_bucket}

Replace those value :

image

  • go Tokens Tab , and generate new Toke , and copy token to influxdata_token
  • done

NPM

  • Install Nodejs and Npm
  • cmd go to project floder
  • type npm install

Run

  • type npm run start