/gobarber-backend

gerenciar e realizar compromissos de barba e corte de cabelo para uma barbearia | NodeJS & ExpressJS

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Requirements

Database postgres

Install with docker

docker run --name postgres -e POSTGRES_PASSWORD=docker -p 5432:5432 -d
postgres

Configuration

## In /src/config/database.js 
replace the database settings with your own.
host: 'Your Address',
  port: 'Your Port',
  username: 'Your User',
  password: 'Your Address',
  database: 'Your Database',

Dependencies

yarn install

Migrations

npx sequelize db:migrate

Test

yarn start