Skip to content

NodeJS API for Barbershops. App developed in Rocketseat Bootcamp.

License

Notifications You must be signed in to change notification settings

giovanniantonaccio/gobarber

Repository files navigation

Icon made by DinosoftLabs
GoBarber API

This is an API created with NodeJS during Rocketseat Bootcamp in order to allow users to schedule appointments with a barber. For the barber it is possible to see a list with all his schedule and receive notifications of new appointments of cancellations through app and email.

🚀 Installation

Clone the repository

git clone https://github.com/giovanniantonaccio/gobarber

Install the following docker containers:

docker run --name database -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres
docker run --name mongodb -p 27017:27017 -d -t mongo
docker run --name redis -p 6379:6379 -d -t redis:alpine

Rename .env.example to .env and fill the informations.

Install the dependencies:

yarn

Run the following commands to run the server:

yarn dev

Open a new terminal and run the following command to run the queue manager:

yarn queue

📚 Technologies

This project was developed with the following technologies:

📝 License

This project is under the MIT license. See the LICENSE for more information.


Made by Giovanni Antonaccio 👋 Get in touch!