Technologies | Prerequisites | How To Use | License
To use or/and test this app, you have to install NodeJS on your machine. How to install Node you can see here.
- Clone this repository:
$ git clone https://github.com/senatormad/LiveCovid19-Home
- Go into the repository:
$ cd LiveCovid19-Home/
- Install dependencies:
$ yarn install
- Create .env file in project root and insert next values with your RapidAPI key:
#.env
REACT_APP_DOC_TITLE = "LiveCovid19.World"
REACT_APP_RAPIDAPI_URL_ALL_COUNTRIES = "https://covid-19-data.p.rapidapi.com/country/all?format=undefined"
REACT_APP_RAPIDAPI_URL_TOTALS = "https://covid-19-data.p.rapidapi.com/totals?format=json"
REACT_APP_RAPIDAPI_HOST = "covid-19-data.p.rapidapi.com"
REACT_APP_RAPIDAPI_KEY = "<< YOUR RAPID API KEY >>"
- And now you can start app:
$ yarn start
- Or you can build app:
$ yarn build