Search Filters in Firebase Realtime Database in Thunkable

Hello Thunkable community!

I am working on my first project in Thunkable and need help with search filters using Firebase Realtime Database.

In my app, I have a search screen, where users can choose location, type of pet, gender, and age. These choices should work as filters in the database. When users click the Search button, they go to another screen that shows the filtered results.

:pushpin: What I have already set up: :white_check_mark: On the search screen, users select the filters and click Search. :white_check_mark: The app moves to the results screen, where the filtered data should be displayed.

:pushpin: What I need to know: :small_blue_diamond: How to store the user’s choices temporarily to use them for filtering? :small_blue_diamond: What is the best JSON structure in Firebase to save pets and allow efficient searches? :small_blue_diamond: How can I get the filtered data in the second screen to show the results?

Since this is my first project, I want to learn the best way to set up this search and filter system in Thunkable. If anyone can share tips, examples, or how to configure the blocks, I would really appreciate it! :raising_hands::fire: