Skip to content

Ballot-Curing/ballot-curing-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ballot Curing Project - Backend

Ballot Curing team project for EN.601.310 Software for Resilient Communities

See our website here

Repository Architecture

Flask API endpoints are in api/. Please see API README for API configuration.

State ingest programs, daily querying programs, and ballot statistics programs are in db/.

Configuration

Quick-start: source exports.sh

If you would like to manually set things up: The BALLOT_CURING_PATH, PYTHONPATH, and FLASK_APP environment variables must be set.

cd ballot-curing-backend/
export BALLOT_CURING_PATH=$PWD
export PYTHONPATH=$PYTHONPATH:$PWD:$PWD/db/shared
export FLASK_APP=$PWD/api/src/app.py

Set up variables for state configurations in config.ini. A sample configuration is provided.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •