Skip to content

Boise High Election software is a free and open-source Flask plugin made to assist with School Elections. Implementation of the app is simple and can be done with just a couple lines of code.

Notifications You must be signed in to change notification settings

jack-vuturo/BoiseHighElectionSoftware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boise High Elections Software

Boise High Election software is a free and open-source Flask plugin made to assist with School Elections. Implementation of the app is simple and can be done with just a couple lines of code.

Example Code

Here's an example of how to plug in the software to your existing Flask app:

from flask import Flask
from boisevotes import BoiseElectionsSoftware

app = Flask(__name__)
app.secret_key = ""
app.config["ELECTION_GOOGLE_CLIENT_ID"] = ""
app.config["ELECTION_GOOGLE_CLIENT_SECRET"] = ""
# install the plugin here
election = BoiseElectionsSoftware(app)

if __name__ == "__main__":
	app.run(host='0.0.0.0', port=8080)

Setup

MongoDB

  • ELECTION_DB_URL

Sign In With Google

  • ELECTION_GOOGLE_CLIENT_ID
  • ELECTION_GOOGLE_CLIENT_SECRET

About

Boise High Election software is a free and open-source Flask plugin made to assist with School Elections. Implementation of the app is simple and can be done with just a couple lines of code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published