Sinatra - ShineYourEye

Caution! This article is 7 years old. It may be obsolete or show old techniques. It may also still be relevant, and you may find it useful! So it has been marked as deprecated, just in case.

Sinatra app ShineYourEye preview
While working at mySociety, I helped build and define what will become the new Pombola Lite approach to building parliamentary monitoring sites. Some of my tasks included creating and separating the core-backend code from the custom-site-specific code in a Sinatra application, so that it can be used with other countries in the future and not just with Shine your Eye.

It has the same approach as the viewer-sinatra project, i.e., the site generated by Sinatra is then scraped to generate a static site served by GitHub pages. I wrote about the technical details of this process in this blog post.

Visit site https://www.shineyoureye.org
Visit repo https://github.com/theyworkforyou/shineyoureye-sinatra
Creation Date 2016.
Technologies Ruby, Sinatra, Github pages, Leaflet, HTML5, CSS3, responsive design