Cloud Hosted Backend

The backend is hosted on a public cloud provider and composed of 3 components:
  1. A Postgres relational database with PostGIS extension enable containing pre-defined tables to receive 4 data points (timestamp, device identification, route identification, and location coordinates)  from individual devices every 30 seconds.
  2. A serverless application written in the Python Programming language according to the template required by Amazon Web Services' Lambda framework has been written to issue a spatial query \cite{adibhatla2019} to the Postgres database to retrieve a list of devices within a certain distance from the requester's current location as defined by the frontend application at a specific time.
  3. A REST endpoint that serves as a uniquely identifiable address on the internet to identify the specific serverless application to the frontend application.