This project is a mobile version of the gobarber project, its source code was developed with React Native technology to work on Android and IOS devices.
To start the gobarber application in the mobile version (APP) it is also necessary that the Back-end (API) of the project is started and in execution, also make sure you have an environment configured to run a smartphone emulator on your computer, on my machine I used an android emulator from android studio itself, AVD (Android Virtual Device) use a vm with at least android Pie 9 or more updated, and a version also with access to google play, in my example I used a vm from Google Pixel 3a
You can also use Expo, for that know how to configure the expo on your computer to emulate or even use your own smartphone.
IMPORTANT: If you use the same method as me to run the application in an android studio emulator, right after starting the emulator it is important to run the command
adb reverse tcp:3333 tcp:3333
in the terminal to have communication with the emulator and you can install the goBarbar app.
# Access the mobile directory
$ cd gobarber-react-native
# Install all project dependencies
$ yarn
# Assuming your emulator is already started and you have already run the reverse command, install the application on the emulator.
$ yarn android
# Launch app in emulator
$ yarn start