Giter Site home page Giter Site logo

mikey2xu / polisee-coupled Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pborel/polisee-coupled

0.0 0.0 0.0 5.22 MB

Created to provide transparency and communication between the people and those who govern them.

Home Page: http://www.polisee.io

Ruby 91.98% JavaScript 6.09% CSS 0.78% HTML 1.15%

polisee-coupled's Introduction

PoliSee

Empowers citizens by connecting them with issues they care about and the representatives who vote on them. Built with React and Rails by @mikey2XU, @d0ntg0m0ng, @posthumus4, @emiliocorprus, @pborel.

Set Up

Ruby version: 2.2.0

How to change Ruby version: http://makandracards.com/makandra/21545-rbenv-how-to-switch-to-another-ruby-version-temporarily-per-project-or-globally


$ ruby -v

ruby 2.2.0```


## Basic UI Layout - Wireframe:

![Polisee Wireframe](./public/imgs/polisee-wireframe.png "polisee-wireframe")


## Oauth - Twitter
### 3-legged authorization
The 3-legged OAuth flow allows your application to obtain an access token by redirecting a user to Twitter and having them authorize your application. This flow is almost identical to the flow described in Implementing Sign in with Twitter, with two exceptions:

The GET oauth/authorize endpoint is used instead of GET oauth/authenticate
The user will always be prompted to authorize access to your application, even if access was previously granted.
The possible states for the 3-legged sign in interaction are illustrated in the following flowchart:

![Twitter Oauth Flow](./public/imgs/twitter-oauth-flow.png "Twitter Oauth Flow")

## Tutorials:
### Decoupled Rails / React & Twitter integration
https://richonrails.com/articles/sending-a-tweet-to-twitter

http://fredguest.com/2015/03/06/building-a-stateless-rails-api-with-react-and-twitter-oauth/


polisee-coupled's People

Contributors

pborel avatar posthum4 avatar emiliocorpus avatar mikey2xu 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.