Skip to content

Technical Overview

Kenji edited this page Jan 30, 2025 · 1 revision

Technical Overview

flowchart TD
    phone(AquaWatch Mobile App)
    shiny["shinyapps.io ('backend')"]
    bc_api[(Blue CoLab API)]
    usgs[(USGS/HRECOS)]
    openweather[(OepnWeather)]
    wordpress[WordPress]
    grafana[Grafana]

    phone<-- embedded -->shiny
    phone<-- embedded -->grafana
    
    shiny<-- api call -->bc_api
    shiny<-- api call -->usgs
    grafana<-- api call -->bc_api
    phone<-- embedded -->wordpress
    phone<-- api call -->openweather
Loading

Figure 1: Block Diagram, showing basic interfaces. Depicts all the services the AquaWatch Mobile App talks to.

  1. Grafana - Service used to host the visualizations for current data.
    1. The site is embedded in the app.
    2. API calls are made from Grafana.
    3. To change the look edit the grafana dashboard.
  2. OpenWeather - Service used to gather current Air Quality Index (AQI).
    1. API calls are made directly from the application
    2. To change the look, edit the corresponding file in aquawatch_mobile_app.
  3. Wordpress - Service to host various screens like the 'About Us' and 'Blue CoLab Blogs' are hosted in Blue CoLab's wordpress.
    1. The sites are embedded in the app.
    2. No API calls are made.
    3. To change the look, edit the following sites:
      1. https://bluecolab.pace.edu/about-us-2/
      2. https://bluecolab.blogs.pace.edu/blog-app/
    4. To edit the sites - please ask Professor Cronin for Wordpress Access.
  4. shinyapps.io - Service used to host the backend powering historic data visualizations.
    1. The site is embedded in the app.
    2. API calls are made from the shintapp.io webapp.
      1. Blue CoLab API - We make API calls to Alan to get information about Choate Pond. For API see here https://colabprod01.pace.edu/.
      2. USGS/HRECOS - API to gather water data for Hudson River locations. For API see https://github.com/DOI-USGS/dataretrieval-python.
    3. To change the look edit backend_py
Clone this wiki locally