yj-oh / react-native-weather-app

🌤 A simple weather app using OpenWeatherMap API. Learning React Native with NomadCoders.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🌤 react-native-weather-app

clear rain snow
dust mist thunder

🤹‍♀️ Getting Started

Requirement

Clone

git clone https://github.com/yj-oh/react-native-weather-app.git

Install dependencies

cd react-native-weather-app
yarn install

⭐️ Setting up API Key

  • To run project you need to provide your own OpenWeatherMap API Key.
  • Go to https://openweathermap.org/api, sign up and get an API key.
  • Create a env.json file in the root directory.
{
  "api_key": "YOUR_API_KEY_HERE"
}

Run the app with Expo

yarn start
  • You'll then be in the expo development environment.
  • You can either :
    • Open the iOS Simulator.
    • Open it in the Expo app on your phone.

🔮 Dependencies

dependency version
react 16.13.1
expo ~40.0.0
expo-location ~10.0.0
expo-linear-gradient ^8.4.0
axios ^0.21.0
prettier ^2.2.1

About

🌤 A simple weather app using OpenWeatherMap API. Learning React Native with NomadCoders.


Languages

Language:JavaScript 100.0%