Harrison Kimani
Kimani code thoughts.

Kimani code thoughts.

Aggregating power outage notices using Flask and VueJS in Kenya.

Photo by Thomas Kelley on Unsplash

Aggregating power outage notices using Flask and VueJS in Kenya.

A web project to list planned power outages in Kenya made in Flask and Vue JS

Harrison Kimani's photo
Harrison Kimani
·Aug 14, 2022·

1 min read

The Kenya Power and Lighting Company(KPLC), publishes notices on planned power interruptions and incidents on their website and Twitter. The information on the KPLC website site is published as downloadable PDFs while on Twitter they mostly tweet images.

We have developed a webapp with the goal of listing all these notices without needing to reference multiple sources. The app has a Flask API running on Render that reads parsed information from a MongoDB database running on MongoCloud. The information is parsed from PDFs scrapped from the KPLC website using a cronjob. The frontend is a VueJs app developed by Mary as part of her journey to polish her frontend development skills. Vuex is used for state management and Axios for fetching data from the Flask API.

The project is still a work in progress and some parts might not work as expected.

 
Share this