Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.22 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.22 KB

AQ&U Production

  • Website
  • API
  • Functions

We use pipenv as our python package dependency resolver for local development.

pipenv install --no-lock

functions

Google Cloud Functions

airnow_connector

Connector to the AirNow API where DAQ/EPA sensors are hosted. This runs every hour.

purpleair_connector

Connector to PurpleAir. This runs every 5 minutes.

run

Google Cloud Run - Docker containers

api

the backend api

website

the frontent website.

scripts

create_gcp_services

python create_services.py will run you through the creation of all the services (besides Functions and Cloud Run because we do these manually)

BigQuery

telemetry.telemetry: All time-series data is stored in this table. Sources are:

  • AQ&U: AirU sensors publish data to a Mosquitto MQTT broker hosted at air.eng.utah.edu at the University of Utah. A service located at /home/becnel/aqandu-prod-mosquitto-bq-bridge on the same server listens to the topic airu/influx, ingests incoming data, and forwards it to telemetry.telemetry.

internal.api_request_tracker: All user API requests get logged here

internal.api_quota_history: Stores the quota used by each API user.