This PR enables the API call to Firebase to create a game in game_room table like below:
As you can see, the key value of game_room hash is auto generated, and I didn't set id in the object, because I think we should generate it automatically from the Firebase instance, not by hard-coding it. If you guys agree with that, I'll put the auto-generated id in a separate PR.
This PR enables the API call to Firebase to create a game in
game_room
table like below:As you can see, the
key
value ofgame_room
hash is auto generated, and I didn't setid
in the object, because I think we should generate it automatically from the Firebase instance, not by hard-coding it. If you guys agree with that, I'll put the auto-generatedid
in a separate PR.Newly created game room looks like this:
Let me know if you guys notice anything!