Closed Conorc1000 closed 8 years ago
This function's great as it makes the data much easier to understand as it provides the key name. Quick question for Rory - why has he created a random number for the id'key' and is there anything checking to see if duplicate random numbers are being returned ? Just checked collaborators - should we be adding Rory to the Repo ?
Closing this to tidy up the issues... the reference info will still be available in the closed issues
Here is a quick introduction to the existing database.
To view the database with a gui:
go to url - https://crackling-inferno-1794.firebaseio.com/
You will need to login using the credentials i have gittered to the team
To use firebase in your code follow these steps - https://www.firebase.com/docs/web/quickstart.html This shows the standard firebase connection but there are other specialised connections including angular and react.
The info about a slipway is stored as an array. On the client-side the previous developer (Rory) transformed the array to an object using this function:
We may wish to do this differently but this shows you the order of information on the Array.
Currently the images key/slipwayArray[24] has an array of image Strings as a value. This will be changed to a string that is another firebase URL where the images can be found. This has not been done yet.
The current size of the database is 1.8MB.