- React native implement of the Minimal Weather App
- Clone the repo
- Run
yarn install
ornpm install
- Go inside
ios
folder and runpod install
for necessary pod files installation - Run
yarn android
for android oryarn ios
for ios
- CI/CD pipeline has been created on github and application can be downloaded from the latest build action which can be accessed from here
- Weather information are retrieved from Open Weather Map
The application is structured according to the servies and responsibilities.
Inside the src
folder, there are following folders.
models
- models used across the application. They are used to map the infomation coming from user or API to application format.navigator
- definitions for screen navigation structure based onreact-navigation
library.redux
- state management for application data layer.redux-saga
is used for handling side-effects.screens
- UI layer that user can interact.services
- third party or in-app services that application rely onutils
- utility functions
- Tests are considered but not included in current implementation. For better consistency, they should be included.
- Imperial
- Temperature - Fahrenheit
- Metric
- Temperature - Celsius