felipe-jm / gobarber-backend

:rocket: GoBarber Backend

Repository from Github https://github.comfelipe-jm/gobarber-backendRepository from Github https://github.comfelipe-jm/gobarber-backend

GoBarber
Bootcamp GoStack GoBarber

:octocat: πŸš€

Backend

πŸ’» Run it!

# Install the dependencies
yarn install

# Set up the docker container for the postgres service
docker run --name postgres -e POSTGRES_PASSWORD=<database_password> -p 5432:5432 -d postgres

# Set up the docker container for the mongodb service
sudo docker run --name mongo -p 27017:27017 -d -t mongo

# Set up the docker container for the redis service
sudo docker run --name redis -p 6379:6379 -d -t redis:alpine

# Copy the .env.example that is in the root of the project, rename it to .env and fill the variables according to your enviroment

# Run migrations to your database
yarn sequelize db:migrate

# Run the backend server
yarn dev
yarn queue

Check the rest of the project! πŸ™


Made with much πŸ’œ and πŸ’ͺ by Felipe Jung 😊 Talk to me!

About

:rocket: GoBarber Backend


Languages

Language:JavaScript 98.1%Language:HTML 1.9%