- New Postgres table schemas
- Using Stored Procedures with transactions that validate business logic
- User Ids now use UUID
- Updated and simplified all endpoints to call the stored procedures
Notes: There are still a few things missing that broke because of the migration,
in particular, because we moved a lot of the business logic into the database,
we now require that certain data that lived in the game-config.json to be
present in the database as well, to prevent cheating and truly have a single
source of truth.
* Add two views to resource store
* Add the endpoints (#4)
* add handleAmountChange
* add template changes
* add components to resourceAccounts
* refactor the storeview layout a bit
* clean up some stuff, change grand total
* Add handleSetUpgrade function and other related stuff
* Fix select drill to upgrade
* Small refactor - apply drill on upgrade
* Refactor types - WIP
* Add handleBuy function, sort storeItems by owned
* Add tiers to storeItems
* Show equipment on moon, add radiobutton to select
* Modify types
* Cleanup some code and comments etc.
* Add claim function to increment user balance and decrement well
* Add API to get data
* Set inventoryItem and activeTier in state
* Update stakingSource whenever inventoryItems are updated
* Disable upgrade button when mining is active
* Add initial implementation of lightbox
---------
Co-authored-by: Nico Li <nilindenau@gmail.com>