Project logo

gobarber-web


This software is a demonstration for scheduling appointments for a barber shop.

webpage webpage
It is separated among three projects

📝 Table of Contents

🧐 About

This is a demonstration for appintments for a barber shop. The web version is for the professional. He is goint to see his appointments in this environment. The mobile version is for the clients. He will be able to schedule his appintments with his mobile.

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development.

Prerequisites

You will need to have installe in your machine NodeJs, Redis, Postgresql and MongoDB. You should also have an environment ready for react-native.

Installing

Backend

To install the backend, these are the steps required:

You should start postresql, with a new database ready for it (the name is of you choice).

You should also start redis and mongodb server.

git clone https://github.com/lucasraziel/gobarber-server.git gobarber-server

cd gobarber-server

yarn

It is also required to setup the environment. The .env.example file must be renamed to .env and must have its data complete according to your environment.

yarn sequelize db:migrate

yarn dev

yarn queue

The yarn queue command is only required if you wish that the application sends their emails.

Web

The web environment must be installed in this manner:

git clone https://github.com/lucasraziel/modulo09.git gobarber-web

cd gobarber-web

yarn

You must, then, edit src/services/api.js

⛏️ Built Using