CatchTheClimate is a React Native app to search for the weather in any city / postcode in the world using the OpenWeather API. The current weather and a 7 day forecast is displayed for the searched city.
- Refer to React Native documentation for setting up the development environment.
-
Get a free API key by registering an account at https://openweathermap.org/api
-
Clone the repo
git clone https://github.com/haydenmlh/CatchTheClimate.git
- Install NPM packages
npm install
-
Open an Android emulator or connect an Android phone to the development machine with USB debugging enabled.
-
In the root directory of the project, run in a terminal:
npx react-native run-android
- Search Function
- Display Current Weather and 7-day Forecast
- Migrate to Typescript
- Create types for Typescript
- Link Welcome splash screen and info display screen
- Save city
- Add Offline indicator
- Add Settings screen for changing API Key, units and theme
- Add multiple cities feature
- Add Jest testing
- Add CI/CD on Github
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.