These instructions will get you a copy of the project up and running on your local machine for development purposes.
You need to install NodeJS on your computer before you can use "React Native: GitHub Users". You can install NodeJS by following these instructions.
Once you have completed the installation process, try typing npm -v
into your command line. You should get a response with the version of NodeJS.
Once you have NodeJs instaled, you need to install Yarn. You can install Yarn by following these instructions.
After instalition, try typing yarn -v
into your command line. You should get a response with the version of Yarn.
You need to configure React Native environment on your computer before you can use "React Native: GitHub Users".
If you are using Windows:
If you are using macOS:
If you are using Linux distributions:
After clone repository, go to folder and follow this steps:
- Run
yarn
to install dependencies; - Run
cd ios
andpod install
; - Run
cd ..
andreact-native run-ios
to start de aplication.
To run Android App, open the simulator (Android Studio or Genymotion) and run react-native run-android
.
Possible errors:
- No bundle URL present: run
rm -rf ios/build/; kill $(lsof -t -i:8081); react-native run-ios
- spawnSync ./gradlew EACCES: run
chmod 755 android/gradlew
- Run
yarn
to install dependencies; - Open the simulator and run
react-native run-android
to start de aplication.
If the application do not start, run react-native start
.
Now you can use "React Native: GitHub Users".
- React Native
- React Native Async Storage
- Axios
- PropTypes
- Vector Icons
- WebView
- Styled Components
- ESLint + Prettier + EditorConfig
This project is licensed under the MIT License - see the LICENSE.md file for details.
Based on Rocketseat Bootcamp 🚀