phlask-map icon indicating copy to clipboard operation
phlask-map copied to clipboard

[V2] Pull new data format into the frontend

Open vontell opened this issue 10 months ago • 3 comments

Is your feature request related to a problem? Please describe. Now that our data is migrated into a new format and new table, we need to update the frontend to begin using this new data.

Describe the solution you'd like This will require a few changes:

  • Update all instances in the frontend where *.firebaseio.com is used to now use the new DB url, https://phlask-beta.firebaseio.com/. There is also a https://phlask-test.firebaseio.com/ and https://phlask-prod.firebaseio.com/ that should be used based on the environment.
  • Update all places in the code that reference the fields of a resources to be updated to follow our new schema/standard. Although we don't have typescript, we might be able to create a class that can give us stronger typing on the fields that are available.
  • Create a way for us to filter for certain resource types when pulling the data from Firebase.

This does not include the changes for adding resources - that will come at a later date.

vontell avatar Apr 09 '24 23:04 vontell