svs / covid19-supply-chain-backend

2 stars 6 forks source link

Fetch Essentials from ApiEndpoint instead of json #25

Open swap-interactive opened 4 years ago

swap-interactive commented 4 years ago

The current implementation in https://github.com/svs/covid19-supply-chain-backend/pull/17 gets essentials from static json file. This needs to be fetched from an api endpoint or from picked up from erb file via window object. Preferably in former way.