3rd prize project for Hack The 6ix in September 2018 at Toronto, Canada
A web app that helps the average person voice their positions to current bills being debated at the Ontario House of Commons by conveniently emailing their corresponding MPPs and providing an approval or disapproval template email of the bill for them to send.
siMPPlify geolocates the user to provide them information on their MPP. It also allows one to research issues and quickly generate a draft email, which one can send from the website to the MPP. The goal is to be able to do this in five minutes! Never have the barriers to participating in a democracy been lower.
siMPPlify uses cheerio to scrape the Legislative Assembly of Ontario's website to gain information on the latest bills. It uses the Represent Civic Information API as well as Google Maps API to figure out who the user's MPP is. Then based on the user's choices, it helps populate an email, which the user can further edit, before submitting using nodemailer.
-
Clone the repository
git clone https://github.com/LaxOn/siMPPlify.git -
Go in the folder and install node dependencies
cd siMMPlify && npm install -
Run nodemailer.js to host the backend and the website.
node nodemailer.js -
Using your favourite web browser, go to
http://127.0.0.1:1234/index.html
