Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

2015 PASO CABA Elections realtime results tracking

Introduction

This project was built to track the realtime results of the past 2015 PASO CABA elections in terms of which party and primary candidate has won in each district.

Backend

For the backend we have used the provided REST API for the 2015 Buenos Aires PASO elections.

We have parsed the results to generate the desired JSON files that the frontend app will display for the elections results in a map by district.

The automation of the execution is configured as a cronjob that was configured to run each minute backend/scripts/cron_script.sh

Usage info: here

Frontend

For the frontend we have opted to use handlebars templates to dinamically generate the HTML code for the application.

We have shown the realtime results by district allowing the user to filter the results by clicking in a district.

The visualization also let's readers drill down the results by political party giving the resulting candidates ranking by district.

Usage info: here

Server

We are using npm, bower and gulp to automate the optimization and deployment process.

The deployment takes care of minimizing, uglifying and versioning the static files so that it plays nice with the newsroom http cache configuration.

Usage info: here

Technologies && Libraries

Credits

Acknowledgments

  • Florencia Fernandez Blanco && Mariana Trigo Viera for the generated copy and UX tips respectively