A React learning project I'm working through has an outdated backend built through Node that posts a movie object as such using REST
"movies": {
"5b21ca3eeb7f6fbccd471815": {
"genre": "5b21ca3eeb7f6fbccd471818",
}
but gets
"movies": {
"5b21ca3eeb7f6fbccd471815": {
"genre": { "_id": "5b21ca3eeb7f6fbccd471818", "name": "Action" },
}
I'm using Firebase instead. The database looks like this, Firebase RT DB. Is there a way in Firebase that I can reference the genre object by it's Id and accomplish the same thing when calling Get?