I recently ported a board game to Vue so that I could continue to play it with my friends. For the real-time interaction I used Firebase as backend.Now I thought about solving the whole thing with a node server and Socketio. For the board game I have to save an array of objects and exchange keys of single objects if necessary.Is it very bad practice to store this array in a global variable on the node server?Since I don't have much backend experience myself, the database solutions that exist intimidate me. The whole thing would run on a Heroku dyno, which would be restarted once a day anyway. Data persist etc. isn't a big deal.
Submitted May 08, 2020 at 03:28PM by reibekuchen
No comments:
Post a Comment