https://github.com/cheshire137/fitswarm
Correlate Fitbit activity with Swarm gym visits.
https://github.com/cheshire137/fitswarm
bulma-css fitbit-api foursquare-api rails-application react recharts
Last synced: 7 days ago
JSON representation
Correlate Fitbit activity with Swarm gym visits.
- Host: GitHub
- URL: https://github.com/cheshire137/fitswarm
- Owner: cheshire137
- Created: 2017-04-29T20:06:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-28T20:46:15.000Z (about 8 years ago)
- Last Synced: 2025-03-23T03:33:03.166Z (7 months ago)
- Topics: bulma-css, fitbit-api, foursquare-api, rails-application, react, recharts
- Language: Ruby
- Size: 70.3 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fitswarm
Correlate Fitbit activity with Swarm gym visits. Uses Fitbit and Foursquare APIs.
## How to Develop
You will need Ruby, Rubygems, PostgreSQL, and npm installed.
```bash
bundle install
npm install
bin/rake db:setup
cp dotenv.sample .env
```Create a [Fitbit app](https://dev.fitbit.com/apps) with
`http://localhost:3000/users/auth/fitbit/callback` as a callback
URL. Create a [Foursquare app](https://foursquare.com/developers/apps)
with `http://localhost:3000/users/auth/foursquare/callback` as a
redirect URI.
Modify .env with your values.```bash
bundle exec rails s
open http://localhost:3000
```Visit [localhost:3000](http://localhost:3000).
To add a new JavaScript package: `npm install WHATEVER_PACKAGE --save`
## How to Test
```bash
npm test # to run the JavaScript style checker and JavaScript tests
bundle exec rspec # to run Rails tests
```