Skip to content

miyakoj/flintwaterpublic

Repository files navigation

MyWater-Flint Source Code

Description

This source gives you a starting point to create user and administration websites to aid in navigating a water crisis such as the one Flint, MI is experiencing. Though the original runs on the Google Cloud Platform and utilizes Google Fusion Tables and Firebase Authentication, the source can also be run on any web server running PHP and MySQL with some modifications.

Requirements

Libraries/Frameworks Used

Plugins Used

Other

Configuration

There are areas that require you to insert your own API keys and other information.

  • /app.yaml.sample - Only necessary if using Google App Engine. Remove ".sample" from the file name.
  • /firebase-messaging-sw.js - Firebase Cloud Messaging sender ID.
  • /manifest.json - Firebase Cloud Messaging client ID.
  • /admin/includes/globals.php - The total number of households in your town/city.
  • /admin/includes/template.html - Google API key near the end of the file.
  • /admin/js/custom_scripts.js - Firebase Authentication API key and Firebase URLs.
  • /includes/template.html - Google Analytics IDs in the head of the file.
  • /js/map.js - Google Client ID, Google API key, and the Google Fusion table ID of the table being used to provide water quality data.

Credits

MyWater-Flint is a joint project between University of Michigan-Flint and the University of Michigan-Ann Arbor Michigan Data Science Team with support from Google.org.