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

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.

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
```