I want to apply it, to the Firebase Realtime DB, and access it through Web API, since there doesnt seem to be a component for editing my database in the thunkable X, even though i see it mentioned a lot around here. (please correct me if im wrong).
Anyway, i setup a Web API component like so, but i might be wrong here. I only added the URL, i’m not sure if i should add anything more? I know there is a API key in firebase somewhere, but im not sure if it should go the settings somewhere
And this is how my database JSON structure is looking.
Also, i set my rules to true, so they are always open, and AFAIK should not need authentication.
When i click the button in the live web thingy, the screen just flashes out of existence, never to be seen again, so i have no idea what the problem is
Thanks for the replys guys, i realized halfway that i did not need to use the web api at all, but just do what @muneer told.
I misunderstod the way to use it.
On a side note, what kind of data can i put inside my firebase database? Can i also for example upload media, such as images? I know Airtable can have images in it.
I am switching back to the old designer, instead of the new “drag and drop” one.
It seems to be lacking basic grouping features, that the old one has, such as responsive rows and columns. This seems to be quite impossible to achieve a good looking results across device screen sizes, which is sad.
The new one is much more intuitive, but it lacks the fine controls of being able to add padding, locations preferences etc.
Yes, so but for example a JSON property of “profile picture”, needs to hold the URL for the media image yes? it does not accept raw image data, as i remember?
Actually, in Firebase, there is the Realtime DB and there is the Storage. You will naturally store the image in the Firebase Storage and provide the download URL to the Firebase Realtime DB. However, there is no direct way to do that in Thunkable at the moment.
Therefore, you will use a cloud storage such as cloudinary to save the image and pass the URL to the RTDB.
Do you have maybe some pros and cons, when to use the realtime database vs using Airtable?
I’m am thinking specifically right now about saving for example items in a restaurant or a shop, and the quickest way to update prices, images, descriptions titles etc etc
I’m leaning a bit more toward Airtable, because that is a easy way to teach a new person, because it is very much like an excel sheet, which many people already know about
Airtable seems to be a good choice for such a project.
Another advantage of Airtable is that its tables can be directly viewed by the Data Viewer List without any coding something that is not available in Firebase.
The drawback is the limit of the free Airtable service which is only 1200 total rows in all tables which is something your project will reach to fairly quickly.
Another advantage of Airtable is the ability to set any column to type attachment which can handle any file type including images but again there is no native way to handle such from Thunkable.