We Vote's API application server written in Django/Python. Election data pulled from many sources, used by https://github.com/wevote/WebApp and WeVoteReactNative
Clone or download
DaleMcGrew Merge pull request #962 from DaleMcGrew/dale_WVS_oct15
Added first functional version of voterGuidesUpcomingRetrieve.
Latest commit cf5c644 Oct 16, 2018
Permalink
Failed to load latest commit information.
admin_tools Replace Facebook scrape for picture with an API call Aug 22, 2018
analytics Added more indexes to AnalyticsAction table so we can generate voter … Sep 10, 2018
apis_v1 Added first functional version of voterGuidesUpcomingRetrieve. Oct 16, 2018
ballot Moved many database calls to the readonly databases. Oct 15, 2018
bookmark Added the merge measures process. Still needs more testing. May 31, 2018
candidate Added number of left/right endorsements to Partisan Analysis page. Ad… Oct 8, 2018
config Retrieving Candidate Photos from Facebook Jul 19, 2018
docs updating README to include Homebrew installation instructions for Pos… Oct 12, 2018
donate Added feature to merge voter guides when a person is signing in. Adde… Apr 24, 2018
elected_office Added "contributor_comments" and "contributor_email" to suggested vot… Oct 11, 2018
elected_official Retrieve Elected Officials from Google's representativeInfoByAddress API Sep 24, 2018
election Fixes to "Create Voter Guide". Oct 8, 2018
electoral_district Adding more search terms for Electoral Districts. Oct 15, 2018
email_outbound Fix to bug with primary_email_address. Jun 27, 2018
exception In Python 3.4 (what we are still using on the Master application serv… Jun 27, 2017
follow Fixing some errors from Splunk logs. Added more read_only options. Oct 15, 2018
friend Optimizations, based on what we are seeing in New Relic. Added quite … Sep 4, 2018
geoip Updated the way we retrieve Ballotpedia data for elections. Added too… Jun 17, 2018
google_custom_search Now retrieving Ballotpedia candidate photos. Added support for storin… Jun 19, 2018
image Moved many database calls to the readonly databases. Oct 15, 2018
import_export_ballotpedia Added "contributor_comments" and "contributor_email" to suggested vot… Oct 11, 2018
import_export_batches Fixed issue with scraping measures/propositions off endorsement pages… Sep 29, 2018
import_export_ctcl Moved 'readonly' queries to use the readonly database. Needs testing … Nov 9, 2017
import_export_endorsements Added new import_export_ballotpedia app. Added code to reach out to B… Apr 12, 2018
import_export_facebook Better error message when you can't get a Facebook candidate picture Sep 12, 2018
import_export_google_civic Retrieve Elected Officials from Google's representativeInfoByAddress API Sep 24, 2018
import_export_maplight In Python 3.4 (what we are still using on the Master application serv… Jun 27, 2017
import_export_twitter Moved many database calls to the readonly databases. Oct 15, 2018
import_export_vote_smart Added the ability to hide an issue. (Needed since we are going to be … Feb 28, 2018
import_export_wikipedia Testing crashing fix copying ballot items. Better support for "Retrie… Apr 16, 2018
issue Moved many database calls to the readonly databases. Oct 15, 2018
loadtest Did significant upgrade of voterGuidesToFollow, since it was the slow… Sep 5, 2018
measure Measure edit: some fields weren't saving. Oct 15, 2018
office Added race-level data to the voterBallotItemsRetrieve API. Sep 18, 2018
organization Fixing some errors from Splunk logs. Added more read_only options. Oct 15, 2018
party Moved 'readonly' queries to use the readonly database. Needs testing … Nov 9, 2017
pledge_to_vote Did another iteration on election migration tool. Jan 28, 2018
politician Exclude all PERCENT_RATING entries (from Vote Smart). We want to move… Aug 5, 2018
polling_location Added "contributor_comments" and "contributor_email" to suggested vot… Oct 11, 2018
position Added first functional version of voterGuidesUpcomingRetrieve. Oct 16, 2018
position_like Added positionListForVoter API endpoint so we can show the voter's po… Sep 5, 2016
quick_info Did iteration on election migration tool. Jan 27, 2018
scripts react 0.14.0 and babel 6 updates. new build system for webpack and ad… Dec 2, 2015
search If field is missing, sort it last. Aug 31, 2018
support_oppose_deciding Optimizations, based on what we are seeing in New Relic. Added quite … Sep 4, 2018
tag Initial checkin of many apps/data models: ballot, candidate, election… Oct 10, 2015
templates Fixed "Import from Master Server" code for measures. Added ability to… Oct 15, 2018
twitter Fixing some errors from Splunk logs. Added more read_only options. Oct 15, 2018
voter Merge pull request #958 from DaleMcGrew/dale_WVS_oct5 Oct 15, 2018
voter_guide Added first functional version of voterGuidesUpcomingRetrieve. Oct 16, 2018
wevote_functions Added "contributor_comments" and "contributor_email" to suggested vot… Oct 11, 2018
wevote_settings Added ability to retrieve suggested voter guides from past elections … Aug 9, 2018
wevote_social Had to upgrade sign in system to get Facebook and Twitter sign in wor… May 25, 2018
.gitattributes new commit of django app Aug 1, 2015
.gitignore Updated Locust loadtest. Added the ability to mark an organization "I… Aug 31, 2018
.travis.yml build file Oct 5, 2015
CONTRIBUTING.md Adding CONTRIBUTING.md file so we can include a CLA Nov 13, 2017
LICENSE First check in of Django/Python API settings and basic We Vote archit… Sep 26, 2015
Procfile First check in of Django/Python API settings and basic We Vote archit… Sep 26, 2015
README.md Adding code to cache PositionNetworkScore entries. Fixed problems pre… May 11, 2018
SEMVER.md #38 - Added semver instructions Sep 29, 2015
manage.py Add a geoip app to manage the GeoLite db Jan 16, 2016
package.json adding Redux for state management Nov 24, 2015
requirements.txt Fixed ballot refresh scripts to work for BallotReturned entries that … May 29, 2018

README.md

Build Status Coverage Status

README for WeVoteServer

This WeVoteServer repository contains a Python/Django-powered API endpoints server. We take in ballot data from Google Civic API, Ballotpedia, Vote Smart, MapLight, TheUnitedStates.io and the Voting Information Project. We then serve it up to voters, and let voters Support/Oppose and Like ballot items. We are also building tools to capture and share voter guide data.

You can see our current alpha version for a San Francisco ballot here: https://WeVote.US/

To get started, sign the Contributor License Agreement.

Installing Python/Django API Server

Installation instructions.

Installing We Vote Mobile Web Application (Node/React/Flux)

The website front end application is powered by WebApp

The mobile native front end applications are powered by ReactNative for iOS and Android

After Installation: Working with WeVoteServer Day-to-Day

Read about working with WeVoteServer on a daily basis

If you need to test donations and have not updated your openssl and pyopenssl during install and setup, you will need to update your local.

Join Us

Join our Google Group here to discuss the WeVoteServer application (creating a social ballot): https://groups.google.com/forum/#!forum/wevoteengineering

We meet weekly on Wednesday nights at the Code for San Francisco brigade of Code for America, daily on a Google hangout, and have mini-hackathons on many weekends. Please contact Dale.McGrew@WeVote.US for more information.

You may join our Google Group here for questions about election related data (importing and exporting): https://groups.google.com/forum/#!forum/electiondata