'api read filter for firebase. make a where call to the firebase in the document

enter image description here

enter image description here

I want to filter my database in firebase to call with read api. As the picture from firebase showing, my goal is to read all the meals in document with a specific filter created_by I have made this script in the picture in below in node.js but it gives any result and I have an error in postman (500 internal servor). Please do you have any solution ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source