Unverified Commit c0fbcf68 authored by Karel Hala's avatar Karel Hala
Browse files

Add all available REST dbs

parent 4c0ad3a6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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": {
+2 −2
Original line number Diff line number Diff line
@@ -23,9 +23,9 @@ export const useRest = (type) => {
        resource: apiSun,
        rest: 'snow',
      },
      percipitation: {
      precipitation: {
        resource: apiSun,
        rest: 'percipitation',
        rest: 'precipitation',
      },
      speed: {
        resource: apiAir,
+1 −1
Original line number Diff line number Diff line
@@ -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',