So… yes to the structure. That’s exactly right. But JSON is not necessary with Firebase (it can be used).
You simply use the “Set Cloud variable ‘name’ block” and enter the path to the value as the name of the variable. I can provide a screenshot of blocks later if it’s helpful but you might do something like group name/Variable to get the value in 1. A. above. If you had unique names (which you’ll want to use), you might have this:
A. Miata: 14
Maybe the 14 represents the number of Miatas that have been retrieved from the JSON response. Not a great example, I know, but bear with me.
Your Cloud variable would be named [bucket name]/Mazda/Miata. There’s no need for the realtime DB blocks. You just use variable blocks and that’s it.
basically, I’m making an app for people who come to my auto garage.
the user data on fire base would be:
vin# (so we can order the proper parts using the vin, which removes a-lot of headache)
a log of the stuff that we’ve done to the car (were currently using google sheets, but i HATE it)
now I’m just trying to figure out how exactly i can discern between people logging in, so when people input THEIR vin, it doesn’t change the same single cloud-variable on the database
i remember there being an option in firebase to “collect user data” but i never figured it out all the way. which is what I’m currently digging around attempting to find again, lol
I’m right now working on a photo journal app where users can sign up, sign in, and then store and retrieve photos with timestamps and captions that they’ve generated. So I’m no expert yet but I do have it working. And there are many topics on this in the forums. I’ve been Googling firebase sign in thunkable to find info.
i wonder if you will find this VIN check digit calculator useful. Apparently, the 9th digit of the VIN is the check digit and it is based on the values of all the other characters in the VIN . see below:
i’ve coded the algorithm in thunkable and this app below (using new drag and drop interface) shows how it is used: you supply a VIN and it will return the VIN with the correct check digit in the 9th position.