hackclub / sprig

🍃 Learn to code by making games in a JavaScript web-based game editor.

Home Page:https://sprig.hackclub.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move firebase functionality out of /lib/game-saving/account.ts into its own file

Cosmin-Mare opened this issue · comments

At the moment, all the firebase API functionality is inside /lib/game-saving/accounts.ts and it should be its own lib file(dbUtils.ts), because other future functionality involving the db may not directly involve game-saving, or accounts.

i would advocate for using a filename firebase.ts instead