Skip to content

joaogasparr/gostack-gobarber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoStack

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.

Última confirmação do Github Idioma principal do GitHub GitHub language count License Stargazers

🚀 Getting Started

The following instructions show the walkthrough of how to copy the project to run on local machine for development and testing purposes.

Prerequisites

Installing

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

📚 Databases

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

⚙️ Back-end

# 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

💻 Front-end

# First install front-end dependencies
$> cd ./frontend/ && yarn

# Then run app
$> yarn start

📱 Mobile

# 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


📝 Licença

This project is licensed under the MIT License - see the LICENSE file for details


Made with ♥ by João Vitor Gaspar 👋 See my linkedin!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors