Git Product home page Git Product logo

Capitol Hill

Capitol Hill is an application designed to easily connect people with their Senators and Congressional representatives, and to keep constituents up to date with their representative’s legislative actions. Users can search for their district’s representatives, or state Senators, and will be returned with that politician’s contact information and voting track record. Users can also search by a map, which has each Congressional district, and can find representatives through this method.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

mongoDB Command Client

Installing into your local (Optional)

In the command line, begin running Mongo:

mongod

In a separate shell:

mongo

-USE CapitolHill_Db

Go to routes/apiRoutes.js and uncomment the following lines:

45-47 80-83 102-109

this will run the initial population of your databates. In the command line:

npm install

webpack -w

node server.js

After your server has run once and your databases are populated, comment the above lines out again to prevent dublicate data.

Landing Page

Search for your representative by name Screenshot

Map View

View all congressional districts by map Screenshot

Click through districts to quick view representatives or follow the link to their full profile Screenshot

Profile View

View representatives' full profiles with contact info and recent legislation Screenshot

Troubleshoot

-Input address to locate address -Heroku app crash from recent commit

Built With

Authors

See also the list of contributors who participated in this project.

capitol-hill's Projects

capitol-hill icon capitol-hill

Capitol Hill is an application designed to easily connect people with their Senators and Congressional representatives, and to keep constituents up to date with their representative’s legislative actions. Users can search for their district’s representatives, or state Senators, and will be returned with that politician’s contact information and voting track record. Users can also search by a map, which has each Congressional district, and can find representatives through this method.

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.