BestWeather is a mobile app built with JavaScript technologies based in React Native. It's amazing app to view weather forecast of your city, including offline access.
For administrate and share the main state to all application, we use the Redux library.
The Redux is a state management library that follows the principles of Flux Architecture.
But, the Redux follow the three principles:
- Single source of truth
- State is read-only
- Changes are made with pure functions
For more information access: Three Principles of the Redux
Your need of the some prerequisites installed and configured before try run and coding the project:
- Internet Connection (of course)
- NodeJS >= 10.0.0
- Yarn >= 1.21
- And some React Native prerequisites. More info, access the React Native Getting Started page in React Native CLI Quickstart tab for more more details on how to set up your environment.
First time your need run in project root path:
yarn install
And if you're going to run on iOS:
cd ios && pod install
With Xcode installed, configured and fulfilling the above prerequisites, execute:
npx react-native run-ios
With yout simulator running, execute:
npx react-native run-android
Some Text Editor, with ESLint, Prettier and editorConfig installed and configured. I recommend the Visual Studio Code (VSCode).
For help debug the application install Reactotron.
Download the latest release for your system operational: https://github.com/infinitered/reactotron/releases