Skip to content

A web service that provides the ability to download Tidepool data in Excel format

License

Notifications You must be signed in to change notification settings

tidepool-org/export

Export

The Tidepool export service.

Build Status Code Climate Issue Count Docker Image Docker Image version

Running as part of the Tidepool Stack

The easiest way to run the Tidepool export service is as part of the Tidepool Development environment. You'll have to uncomment the export service in the docker-compose.yml, but after that, you can just run docker-compose up -d, and you're all set.

Setup

If you want to develop any part of the export service, you can run the service locally on Node.

  1. Install Node version 20.8.0 or later. NVM is highly recommended.
  2. Execute nvm use to use the correct version of Node.
  3. Install Yarn.
  4. Execute yarn to install all dependencies

Execute

yarn start:dev will start the service in development mode. It will watch for changes and restart the service as needed.

Testing

yarn test will run the tests.

Linting

yarn lint will run the linter.

Building

yarn build will build the service.

Configuration

Configuration is done via environment variables. The following variables are available:

Variable Description Example
API_HOST The hostname of the Tidepool API https://qa1.development.tidepool.org
DEBUG_LEVEL The log level info
DEBUG_PDF Whether to write out files for debugging purposes false
PLOTLY_ORCA The URL of the Plotly Orca service http://localhost:9091
EXPORT_TIMEOUT The maximum time to wait for a request to complete 120000

About

A web service that provides the ability to download Tidepool data in Excel format

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 9