GithubHelp home page GithubHelp logo

gabidavila / backend-congresswhois-api Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 0.0 2.91 MB

Current Congress Index with ProPublica data

Home Page: https://www.congresswhois.com

License: MIT License

Ruby 98.36% HTML 0.44% Dockerfile 0.29% Shell 0.91%
propublica usa congress rails

backend-congresswhois-api's Introduction

Congress Index Backend

Rails backend that connects to ProPublica API to filter current congress members.

  • bundle install
  • rails db:create
  • rails db:migrate
  • rails import:run_all
  • rails s

It can take a few minutes to import all the data.

Env. Variables

The variables shown on .env.example are mandatory. Some are pre-filled. Currently the API for ProPublica Congress API is not being distributed. This may be changed by the time you want to contribute to the project, in any case you can try to get an API key filling the form in this address. Documentation for the API is available here.

The Twilio API can be found on your Twilio Console.

ToDo

  • Create filter by congress number, currently only the current congress is shown.
  • Create endpoint to show bills, bills by member
  • Create endpoint to show votes for bills, showing who voted for what

License

MIT - See LICENSE.md.

backend-congresswhois-api's People

Contributors

dependabot[bot] avatar gabidavila avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  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.