anoff / cryptobooks

keep track of your cryptocurrencies stored on multiple hot/cold wallets📈📚
GNU General Public License v3.0
4 stars 0 forks source link

Use GraphQL to make frontend dev happy #7

Closed subesokun closed 5 years ago

subesokun commented 7 years ago

For the frontend API we should use GraphQL and connect the resolvers to the Azure storage.

anoff commented 7 years ago

I'd use graphQL for interacting with the pricing API and REST to save/load the user assets, which should happen only once for a session. Agree?

subesokun commented 7 years ago

Mhh personally I'd use it for both and depending and the current view only a subset of the user assets might be loaded to improve the initial page load, especially on flaky networks. But as I don't know yet which data gets transferred when loading the user assets I can't say that for sure. Also maintaining and documentating two APIs might be a bit troublesome.

anoff commented 5 years ago

🚮