-
Assets Folder Store Assets of the appp
-
Components Folder
- This folder for reusable component. Make at least new folder for different screen or components ex. Modals Folder -> ModalComponent.tsx
-
Constants Folder
- This folder includes all of the constants in the app such as make standard font size, colors and layouts
-
Context Folder
- This folder is contains useReduce + useContext or Context API
-
Database Folder
- This folder contains Async Storage data, like access token.
-
Navigation Folder
- This folder add new navigation for app. react navigation
-
Provider Folder
- This is folder used to sync data from local to internet
-
Repository Folder
- This is folder where all the Axios happens such as calling API's getting the data from the backend.
-
Screens Folder
- This is folder contains all of your screens.
link: https://ethercreative.github.io/react-native-shadow-generator/
link: https://ionic.io/ionicons
link: https://reactnative.dev/
-
Download node : https://nodejs.org/en/download/
-
Download Visual Studio Code: https://code.visualstudio.com/download
-
Open up your terminal (Mac/Linux) or cmd/powershell with admin rights (Windows)
-
After installing node, type this on your command line interface: npm install --global yarn
-
After installing yarn, type this on your command line interface: yarn global add expo-cli
-
After installing expo-cli, type this on your command line interface: expo init RayaTraining
-
After setting up, type this command : cd RayaTraining
-
Type this command next : yarn add @react-navigation/native
-
Lastly, paste this command :
expo install react-native-gesture-handler react-native-reanimated react-native-screens react-native-safe-area-context @react-native-community/masked-view
--end of environment setup--