An open API service indexing awesome lists of open source software.

https://github.com/wichopy/google-fit-weight-tracker-web-client

This repo will bootstrap your own fitness tracking app using google's fitness rest API in the web browser.
https://github.com/wichopy/google-fit-weight-tracker-web-client

Last synced: over 1 year ago
JSON representation

This repo will bootstrap your own fitness tracking app using google's fitness rest API in the web browser.

Awesome Lists containing this project

README

          

## Weight tracker

This app uses the google fitness v1 rest API to store weight data.

To make your own app you will need a google cloud account and create your own credentials. See here: https://developers.google.com/fit/rest/v1/get-started

This repo will use my person oauth client ID for demonstration purposes.

To run:
```bash
git clone https://github.com/wichopy/google-fit-weight-tracker-web-client.git

cd google-fit-weight-tracker-web-client

npm install

npm start

open http://localhost:3333
```
Note: The app will only work on localhost at port 3333 as its the only whitelisted url

A .env file is provided to configure your own client ID.