typpo / call-congress

49 stars 34 forks source link

Call Your Congresspeople

Travis CI

This app uses Twilio to connect people with their senators and representatives.

You can read more about it here: http://www.ianww.com/blog/2016/06/15/call-your-congressperson-with-one-phone-number-1-844-usa-4522/

Getting started running locally:

Run with a specific configuration

By default, the app uses the configuration specified in config/default.js.

You can set this configuration in your .env file:

CONFIG=./config/my_config.js

Or you can override this on the command line:

CONFIG=./config/my_config.js node cyc_entry.js

How It Works

Call Congress uses the caller's ZIP code in conjunction with the Civil Serivces API to connect the caller directly to their federal representatives.

Call Flowchart

If a caller enters a bad Zip Code

Development

There are several commands that make development easier

Contributing

Contributions welcomed and encouraged! Here's how you should contribute to this repository:

Example of things to do:

License (MIT)

Copyright (C) 2016 by Ian Webster (http://www.ianww.com)

  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.