- A simple weather app using OpenWeatherMap API
- Learning React Native with NomadCoders.
- Node.js
- Yarn
- React native
- Expo CLI
- Xcode for iOS development
git clone https://github.com/yj-oh/react-native-weather-app.git
cd react-native-weather-app
yarn install
- 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"
}
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.
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 |