Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 761 Bytes

Readme.md

File metadata and controls

23 lines (15 loc) · 761 Bytes

Weather App

How to run:

Locally:

  • 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

Android device using Expo Go:

  • 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.

Useful scripts:

  • yarn lint Fixes most errors reported by ESlint and prettier.
  • yarn test Runs all tests using jest and react-test-renderer.