gabrielmnzs / gobarber

✂️ Aplicação de agendamento para serviços de beleza, entre provedores e clientes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gobarber

Preview   |    Technologies   |    Getting started   |    License


License Last commit License License Stars

GoBarber is a barber shop/beauty salon service scheduling platform. With this application, service providers can register and users can make appointments with these providers.


🔥 Preview

preview           preview

🧪 Technologies

This project was developed using the following technologies:

🚀 Getting started

Clone the project

$ git clone https://github.com/gabrielmnzs/gobarber.git

Backend ⚙️

Import the Insomnia.json on Insomnia App or click on button bellow

Run in Insomnia

Requirements

Obs.: I recommend use docker

Access the folder

$ cd backend

Follow the steps below

# Install the dependencies
$ yarn

# Make a copy of '.env.example' to '.env'
# and set with YOUR environment variables.
# The aws variables do not need to be filled for dev environment
$ cp .env.example .env

# Create the instance of postgreSQL using docker
$ docker run --name gobarber_postgres -e POSTGRES_USER=docker \
              -e POSTGRES_DB=gobarber -e POSTGRES_PASSWORD=docker \
              -p 5432:5432 -d postgres

# Create the instance of mongoDB using docker
$ docker run --name mongodb -p 27017:27017 -d -t mongo

# Create the instance of redis using docker
$ docker run --name redis -p 6379:6379 -d -t redis:alpine

# Once the services are running, run the migrations
$ yarn typeorm migration:run

# To finish, run the api service
$ yarn dev:server

# Well done, project is started!

Frontend 💻

Requirements

  • Make sure the API is running

Access the folder

$ cd frontend

Follow the steps below

# Install the dependencies
$ yarn

# Be sure the file 'src/services/api.ts' have the IP to your API

# Start the client
$ yarn start

App 📱

Requirements

  • Make sure the API is running

Access the folder

$ cd app

Follow the steps below

# Install the dependencies
$ yarn

# Be sure the file 'src/services/api.ts' have the IP to your API

# If you are going to emulate with android, run this command
# Be sure to have the emulator open
$ yarn android

# If you are going to emulate with ios, run this command
$ yarn ios

📝 License

This project is licensed under the MIT License. See the LICENSE file for details.


Made with 💜 by Gabriel Menezes

About

✂️ Aplicação de agendamento para serviços de beleza, entre provedores e clientes.

License:MIT License


Languages

Language:TypeScript 92.2%Language:Java 2.8%Language:Objective-C 2.0%Language:JavaScript 1.7%Language:Ruby 0.3%Language:Starlark 0.3%Language:Handlebars 0.3%Language:HTML 0.2%Language:Shell 0.2%