The project officially uses Yarn, however you can use whichever package manager you like. Install as follows:
npm i
yarn
- Sign up to the Weather API
- Verify email address
- Login
- Copy API key at top of authenticated home page
- You need a
.env
file containing configuration, as follows:whereREACT_APP_WEATHER_API_KEY = {{YOUR_WEATHER_KEY}}
{{YOUR_WEATHER_KEY}}
is your api key for WeatherAPI. - Alternatively, just set the environment variable when needed.
npm run start
yarn start
Built by Jacob (jacob@and-element.com)
Minor amendments by Joe (joe@and-element.com)