9 Commits

Author SHA1 Message Date
99bc7a319f Merge feature/api
* Added backend capabilities with SQLite3
* Added routes for Next.js backend
2023-03-19 10:21:19 +07:00
Emil Nielsen
7098346b51 Fix some legacy issues in the resourceStore 2023-03-19 10:13:40 +07:00
Emil Nielsen
e820f1c45b Merge feature/resource_store
* 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
2023-03-19 10:06:22 +07:00
Emil Nielsen
8b10db0de5 Add the endpoints 2023-02-25 09:40:12 +07:00
Emil Andreas Nielsen
801532759d
Feature/resource yields (#3)
* 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>
2023-02-24 13:37:07 +07:00
Emil Andreas Nielsen
0c1f15464f
Feature/homepage (#2)
* Basic UI for resources

* Style upgrades etc.

* Add template for drill

* Add moons and drill templates

* Add mining timer

* Delete comment

* Modify some styling to cards and resources

* Enhance styling on difference components

---------

Co-authored-by: Nico Li <nilindenau@gmail.com>
2023-02-12 12:40:35 +07:00
nicoxify
988920afc0
Test (#1)
* test

* test

* test
2023-02-12 12:14:16 +07:00
Nico Li
e5c4d8eae8 Initial commit 2023-02-09 21:38:59 +07:00
Nico Li
99ac7890c0 Initial commit from Create Next App 2023-02-09 16:56:13 +07:00