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.
- Host: GitHub
- URL: https://github.com/wichopy/google-fit-weight-tracker-web-client
- Owner: wichopy
- Created: 2019-07-29T20:47:25.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-30T01:42:13.000Z (almost 7 years ago)
- Last Synced: 2025-01-22T01:46:41.578Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 218 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.