πΈ TechsΒ Β Β Β |Β Β Β
π Techs πΈ
This project was developed at the RocketSeat GoStack Bootcamp 11 with the following technologies:
- Axios
- Commitlint
- Commitizen
- Date-fns
- Husky
- Jest
- ReactJS
- React Native
- React Native Gesture Handler
- React Native Image Picker
- React Native Vector Icons
- Semantic-release
- Styled Components
- TypeScript
- Unform
- VS Code with ESLint, EditorConfig & Prettier
- Yup
π Prerequisites β οΈ
In order to use and test the mobile app on a simulator or on your physical smartphone, you should've already setup the development environment for React Native applications. You can follow the following article (PT-BR) to setup your environment: React Native Environment (Android/iOS).
And also, firstly i recommend that you access and run the backend repository for a complete experience.
Or go to gobarber.desenvolvendosistemas.dev.br to see the web project in a production environment.
π How To Use β
To clone and run this application locally, you'll need Git, Node.js v10.16 or higher + Yarn v1.13 or higher installed on your computer.
Hit me to toggle collapse: πΉοΈπ€
From your command line
follow these steps...
# Clone the project
$ git clone https://github.com/caiohenrique-developer/react-native-deploy 'GoBarber Mob' && cd 'GoBarber Mob'
# Install dependencies
$ yarn
# or
$ npm i
# ** Simulator **
# If you want to run the project on a simulador like Android Studio or Genymotion, start the react-native server as it is
$ yarn start
# or
$ npm start
# On another terminal, install the app on your simulator
# Start the project using the command below for Android devices
$ yarn android
# or
$ npm android
# or
# Start the project using the command below for iOS devices
$ yarn ios --simulator="iPhone XS Max"
# or
$ npm ios --simulator="iPhone XS Max"
# ** Physical Smartphone **
# If you want to run the project on your physical smartphone, change the baseURL on src/services/api.js to your machine's ethernet adapter IP. Use the ethernet adapter IP if you're on a cable connection or the WiFi adapter IP if you're on a wireless conecction.
# After changing the baseURL, start the react-native server
$ yarn start
# or
$ npm start
# On another terminal, install the app on your physical smartphone
# Start the project using the command below for Android devices
$ yarn android
# or
$ npm android
# Start the project using the command below for iOS devices
$ yarn ios
# or
$ npm ios
# Very well, now you can enjoy this project! ;)
π Badges π
π License π
Copyright Β© 2021 GoBarber, MIT .
βAlways running in search of the goals!β
Done with β₯ by myself π Get in touch!