If you haven't seen it yet, check out my earlier video on setting up a node.js client for Firebase:
https://youtu.be/-khvgXEq09w
You may want to review data queries as well:
https://youtu.be/oYhIhEVmXXw
Once you're comfortable setting up a Firebase node client and querying data, this walkthrough will demonstrate two key Firebase concepts:
1) shallow data structures and
2) data streams.
Maintain the discipline of shallow data structures and data streams from the beginning of your Firebase experience. Don't fall into either of these performance traps.