Rocketseat's final bootcamp challenge.
GoBarber is a control and interaction system between the barber shop and its customers. You can log in, register barbers and customers. It is also possible to schedule schedules with the barber of your choice.
The following instructions show the walkthrough of how to copy the project to run on local machine for development and testing purposes.
A step by step series of examples that tell you how to get a development env running
# Run the following command in a local directory to copy the project.
$> git clone https://github.com/joaogasparr/gostack-gobarber.git
The first thing you must do is configure all database settings. To do this, follow the steps below at the terminal.
$> docker run --name postgresql -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgres:11
$> docker run --name mongodb -p 27017:27017 -d -t mongo
$> docker run --name redis -p 6379:6379 -d -t redis:alpine
# First install back-end dependencies
$> cd ./backend/ && yarn
# Create the .env file by copying from .env.example and replace the information
$> cp .env.example .env
# Start back-end service
$> yarn dev
# First install front-end dependencies
$> cd ./frontend/ && yarn
# Then run app
$> yarn start
# First install mobile dependencies
$> cd ./mobile/ && yarn
# Create the .env file by copying from .env.example and replace the information
$> cp .env.example .env
# Second step start metro bundler
$> yarn start or yarn start --reset-cache
Then run the app on android
$> react-native run-android or yarn android
Then run the app on iOS
$> cd ./ios/ && pod install && cd ..
$> react-native run-ios or yarn ios
This project is licensed under the MIT License - see the LICENSE file for details
Made with ♥ by João Vitor Gaspar 👋 See my linkedin!
