Am I Represented?
A little web app that allows the user to input a zip code and shows them their local representatives (complete with twitter, photos, and contact info). Find out who represents you and tell ‘em what you think!
We get all our representatives info from the Google Civic Information API. Data is easily the weakest part of our app. Images come back in varying shapes and sizes and contact information of each representative can be hit or miss. We're pursuing ways to fix this with a more distributed data model.
Our app is built on
6.9.1). We use
4.1.1) to manage all dependencies. The whole app runs on a server executed from
Run the app
- Clone the repo.
- Set up your environment (instructions below).
grunt(we use this to compile
- Run the app with
npm run start
- Open the app
Everyone has their secrets. Our's is a key we use to call the Google Civic Information API. This key is stored in a file that you must create in the root of the repo, titled
It should look like so:
GOOGLE_API_KEY=KEYGOESHERE. We can't share ours but it's quite easy to set up yourself here. Once this is set up,
dotenv will know to look for it there and use it as a variable in
All code or branches merged to
master automatically deploy to our
heroku hosting within seconds. Needless to say, don't fuck with
master without review.
This app is a work in progress. If you find a bug, report it! We'd love your help in making it better.