- After cloning the repository run
yarn install
- Create a
.env
file in the root path and add your OpenWeather API key like this:OPEN_WEATHER_API_KEY=<YOUR API KEY HERE>
- Install Expo cli using
npm install --global expo-cli
- Run Metro using
yarn start
- Pick an option from the left side menu to run the app
- Download Expo Go from the Play Store
- Visit the Expo page for the Weather App here
- Open the Expo Go app and scan the QR code show in the Weather App page.
yarn lint
Fixes most errors reported by ESlint and prettier.yarn test
Runs all tests using jest and react-test-renderer.