This starter React Native app is a basic starting point to accelerate kicking off new mobile projects. The project is setup with native module support ("ejected").
Node 10 or greater is required. Development for iOS requires a Mac and Xcode 9.4 or up, and will target iOS 9 and up.
To setup your mac for mobile development, read more below.
JavaScript
npm install
iOS
cd ios && pod install
Android
iOS
npx react-native run-ios --simulator="iPhone 13"
Android
- React Native
- React Navigation
- Redux
- Redux Persist
- Axios
- initial boilerplate docs
- initial boilerplate repo
- src/Assets: assets (image, audio files, ...) used by the application
- src/Components: presentational components
- src/Config: configuration of the application
- src/Containers: container components, i.e. the application's screens
- src/Navigators: react navigation navigators
- src/Services: application services, e.g. API clients
- src/Stores: redux actions, reducers and stores
- src/Translations: application strings, you can add languages files and be able to translate your app strings
- src/Theme: base styles for the application
- Presentational components are separated from containers. Containers usually define whole application screens. Presentational components are small components.
- With Redux, state is shared using global stores.
- If homebrew is not installed, view the command here
- Node LTS or only slightly behind should be used. Consider using NVM.
- Install Cocoapods