Skip to content

gabidavila/backend-congresswhois-api

Repository files navigation

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.

About

Current Congress Index with ProPublica data

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages