Git Product home page Git Product logo

fitgemoauth2rails's Introduction

FitgemOauth2Rails

This is a sample Rails application to test the fitgem_oauth2 gem.

Installation

NOTE: This application uses a local copy of fitgem_oauth. However, you can use the latest published version as well by just making changes to the Gemfile.

The following instructions assume that you are on a Linux system.

  1. Create a parent directory to contain this repository and the gem repository
mkdir ~/TestFitgemOauth2
cd ~/TestFitgemOauth2
  1. Clone this repository and the gem repository
git clone https://github.com/gupta-ankit/FitgemOAuth2Rails.git
git clone https://github.com/gupta-ankit/fitgem_oauth2.git
  1. Setup the application
cd ~/TestFitgemOauth2/FitgemOAuth2Rails
bundle install
bundle exec figaro install
  1. Store your Fitbit APP credentials in config/application.yml
FITBIT_CLIENT_ID: "your_application_id"
FITBIT_CLIENT_SECRET: "your_application_secret"
  1. Migrate database and start rails server
rake db:migrate
rails s

fitgemoauth2rails's People

Contributors

gupta-ankit avatar

Watchers

Grace A. Huntley avatar

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.