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.
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
This project was developed with the following technologies:
- Node.js
- Express
- nodemon
- Sucrase
- Docker
- Sequelize
- PostgreSQL
- node-postgres
- Redis
- MongoDB
- Mongoose
- JWT
- Multer
- Bcrypt
- Youch
- Yup
- Bee Queue
- Nodemailer
- date-fns
- Sentry
- DotEnv
- VS Code with ESLint
This project is under the MIT license. See the LICENSE for more information.
Made by Giovanni Antonaccio 👋 Get in touch!