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 "GoBarber Mobile". 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 "GoBarber Mobile".
If you are using Windows:
If you are using macOS:
If you are using Linux distributions:
You must have the GoBarber API.
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
.
- 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
.
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
Now you can use "GoBarber Mobile".
- React Native
- Redux
- Redux Saga
- Axios
- PropTypes
- Vector Icons
- Styled Components
- ESLint + Prettier + EditorConfig
This project is licensed under the MIT License - see the LICENSE.md file for details.
Based on Rocketseat Bootcamp 🚀