Giter Site home page Giter Site logo

Fittr

Hack fittr/fittr on Nitrous.IO Build Status Dependency Status devDependency Status Built with Grunt

Fittr allows you to compare your fitness metrics to the world. Using the data from many popular trackers like Fitbit. Your metrics are collected and are used to compete with other users. Fittr was built with the MEAN Stack (MongoDB | ExpressJS | AngularJS | NodeJS). We also used the Ionic Framework v0.9.20 to give the application a more native feel.

You can try an early build of the app here.

App Screenshot 1 App Screenshot 2
App Screenshot 1 App Screenshot 2

Prerequisites

  • Node.js - Download and install Node.js
  • MongoDB - Download and install MongoDB and make sure you're running on the default port (27017)

Tools

  1. NPM - Package manager that comes with Node.js
  2. Bower - Package manager, easy to install with npm
  • npm install -g bower
  1. Grunt - Task Runner, easy to install with npm
  • npm install -g grunt

Usage

Clone the repo git clone https://github.com/Fittr/fittr.git

The best way to get started with Fittr is to
install node modules and bower dependencies with npm install
start mongoDB in a seperate terminal window or tab mongod
in mongo use the command use app to change to the correct db
Fittr does not include the required file that holds your Fitbit app data, to include, just make a
new file named auth.coffee in the config folder You must now paste the following code in and then fill in your Fitbit app secrets

module.exports =
  fitbit:
    consumerKey: '*Your fitbit consumer key here*'
    consumerSecret: '*Your fitbit consumer secret here*'
    callbackURL:  '*Your fitbit callback URL here*'

Next run the command grunt serve. This will lint and compile the coffeescript files, and start up server on localhost:3000.

Bootstrap Fittr

After signing up and populating your DB with users, you must run nodemon app/coffee/config/worker.coffee
to query the DB, select all users tokens and retrieve the user's info and data from
Fitbit.
worker.coffee will update all users' data from yesterday from fitbit. Use a cron job
to place the worker on a schedule, run the worker.

To Do

  • Add more quantified self devices/services
  • Add groups and challenges features
  • UI overhaul

Team

Fittr was built by Mehul Patel, Scott Moss, David Wu, Wayne Montague, and Santiago Archila as a student project at Hack Reactor

License

MIT

Fattr's Projects

api icon api

api server fo rfittr

app icon app

You vs the world, who's the fittest

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.