benkkim / WeVoteServer

We Vote's API application server written in Django/Python. Election data pulled from many sources, used by https://github.com/wevote/WebApp and https://github.com/wevote/WeVoteCordova and https://github.com/wevote/Campaigns.

Home Page:https://api.wevoteusa.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 recent national and some reigonal elections here: https://WeVote.US/

To get started as a We Vote developer, sign the Contributor License Agreement.

Installing Python/Django API Server

We have two sets of install instuctions, the first is a simplified version specifically for the Mac, and the second is a more detailed set with more options for Linux and AWS

  1. Use these Simplified Instructions for Mac leveraging the free (and powerful) PyCharm IDE and debugger (recommended!)

  2. Or use these more detailed Installation instructions that also cover installation on Linux and in AWS

Installing We Vote Mobile Web Application (React/Flux)

The website front end application is powered by the We Vote WebApp

We distribute the We Vote WebApp in an Apache Cordova wrapper, with some native features, to provide iOS and Android apps.

See the iOS We Vote 2018 Ballot, @WeVote in the iTunes app store for iPhones and iPads.

See the Android We Vote 2018 Ballot, @WeVote in the Google Play store for most Android phone and tablet devices.

We also have a ReactNative for iOS and Android that is currently on hold.

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.

See Instructions for Scheduled Tasks

How to run the WeVoteServer tests

How to run the WeVoteServer Locust Load Tests

Join Us

We meet weekly on Google hangouts, and on a team Slack. Please contact Dale.McGrew@WeVote.US for more information.

About

We Vote's API application server written in Django/Python. Election data pulled from many sources, used by https://github.com/wevote/WebApp and https://github.com/wevote/WeVoteCordova and https://github.com/wevote/Campaigns.

https://api.wevoteusa.org

License:MIT License


Languages

Language:Python 88.4%Language:HTML 11.4%Language:JavaScript 0.2%Language:CSS 0.0%Language:Shell 0.0%Language:Procfile 0.0%