Loading README.md +1 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ * AIR api base: `https://muniair-f106.restdb.io` * SUN api base: `https://munisun-d71a.restdb.io` * TEMP api base: `https://munitest-16ae.restdb.io` * Energy api base: `https://energy-1ed6.restdb.io` # Getting started 1) Install [node.js](https://nodejs.org/en/download/) on your machine Loading package.json +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ "build": "react-scripts build; cpy build/index.html ./ --rename=200.html", "test": "react-scripts test", "eject": "react-scripts eject", "deploy": "surge ./build --domain awesome-toys.surge.sh", "deploy": "surge ./build --domain TODO", "lint": "eslint ./" }, "dependencies": { Loading src/utils/helpers.js +2 −2 Original line number Diff line number Diff line Loading @@ -23,9 +23,9 @@ export const useRest = (type) => { resource: apiSun, rest: 'snow', }, percipitation: { precipitation: { resource: apiSun, rest: 'percipitation', rest: 'precipitation', }, speed: { resource: apiAir, Loading src/views/HomePage.js +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ const queryBuilder = ({ max = 15, skip = 0, filter, month }) => { const typeMapper = { '': 'Amount of sun', snow: 'Amount of snow', percipitation: 'Amount of rain', precipitation: 'Amount of rain', speed: 'Wind speed', pressure: 'Air pressure', moist: 'Air moisture', Loading Loading
README.md +1 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ * AIR api base: `https://muniair-f106.restdb.io` * SUN api base: `https://munisun-d71a.restdb.io` * TEMP api base: `https://munitest-16ae.restdb.io` * Energy api base: `https://energy-1ed6.restdb.io` # Getting started 1) Install [node.js](https://nodejs.org/en/download/) on your machine Loading
package.json +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ "build": "react-scripts build; cpy build/index.html ./ --rename=200.html", "test": "react-scripts test", "eject": "react-scripts eject", "deploy": "surge ./build --domain awesome-toys.surge.sh", "deploy": "surge ./build --domain TODO", "lint": "eslint ./" }, "dependencies": { Loading
src/utils/helpers.js +2 −2 Original line number Diff line number Diff line Loading @@ -23,9 +23,9 @@ export const useRest = (type) => { resource: apiSun, rest: 'snow', }, percipitation: { precipitation: { resource: apiSun, rest: 'percipitation', rest: 'precipitation', }, speed: { resource: apiAir, Loading
src/views/HomePage.js +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ const queryBuilder = ({ max = 15, skip = 0, filter, month }) => { const typeMapper = { '': 'Amount of sun', snow: 'Amount of snow', percipitation: 'Amount of rain', precipitation: 'Amount of rain', speed: 'Wind speed', pressure: 'Air pressure', moist: 'Air moisture', Loading