Skip to content

c2corg/c2c_tracking

Repository files navigation

c2c_tracking

GitHub license Continuous integration Github Code scanning Codacy Badge Codacy Badge

Tiny server to handle connection with activity trackers such as Strava, Garmin or Suunto

Install

npm install

Development

  • Configure Strava, Suunto, etc. applications. You might use ngrok tool to make your localhost application reachable from the internet.
  • Set required environment variables in .env file.
  • Launch the app: npm run start

You can debug server and tests within Visual Studio Code using the predefined configurations in launch.json.

Release

To create a release,

  • On main branch, run command npm version (major|minor|patch) to update package(-lock).json versions and create a tag.
  • Push tag
  • CI/CD process will automatically create the release from tag and generate release notes.

In order to produce nice release notes:

  • Assign labels to pull requests
  • See release.yml to define categories.