Skip to content
Be the change you wish to see in the world. Sustainability app built to address the 16th sustainable development goal (SDG): Peace, Justice, and Strong Institutions, created during the Minerva Hackathon 2019.
HTML Python CSS JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
seed_data
static
templates
.DS_Store
.gitignore
README.md
design_notes.notesairdropdocument
model.py
requirements.txt
seed.py
server.py

README.md

We the People

We the People gives voice to 15 million young citizens who don’t yet vote, and all other members of society who can. Citizens can view other citizens and assign tickets to them to complete various initiatives they care about. They can also create tickets for themselves and display their progression on them on their profiles.

Table of Contents

Overview

We the People was built to:

  • Solve a problem classified in the 16th sustainable development goal: Peace, Justice and Strong Institutions.
  • Teach young people the power of voting and enable them to contribute to their communities in ways other than voting.
  • Build awareness of the politicians and initiatives being solved in everyon's communitites.
  • inspire people to not wait for politicians to fix their problems, as creating sustainable communities is everyone's responsibility.

Tech Stack

Frontend: JavaScript (AJAX, JSON), Jinja, jQuery, Bootstrap
Backend: Python, Flask, SQLAlchemy, PostgreSQL
Libraries: Chart.js
API: Genius

Setup/Installation

On local machine, go to desired directory. Clone protag repository:

$ git clone https://github.com/rbarner14/we_the_people.git

Create a virtual environment in the directory:

$ virtualenv env

Activate virtual environment:

$ source env/bin/activate

Install dependencies:

$ pip install -r requirements.txt

Create database:

$ createdb music

Build database:

$ python3 -i model.py
>>> db.create_all()

Seed database:

$ python3 -i seed.py

Run app:

$ python3 server.py

Navigate to localhost:5000 in browser.

Demo

Demo

Deck

Sustainable development goals.

SDG

Initiatives.

SDG

Citizen profile.

Profile

Citizens in the We the People community.

Citizens

Initiatives completed by SDG and over time.

Donut Graph

Create ticket.

Ticket

Thanks for exploring!

Future Development

  • Implement algorithm to suggest causes and initiatives leveraging their favorites.
  • Incorporate block chain token disbursement.
You can’t perform that action at this time.