Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/emtudo/gobarber

Schedule for Barber
https://github.com/emtudo/gobarber

Last synced: about 23 hours ago
JSON representation

Schedule for Barber

Awesome Lists containing this project

README

        

# Go Barber

## Requirements

Database postgres

Install with docker

```shell
docker run --name postgres -e POSTGRES_PASSWORD=docker -p 5432:5432 -d
postgres
docker run --name mongobarber -p 27017:27017 -d -t mongo
docker run --name mailhog -p 1025:1025 -p 8025:8025 -d mailhog/mailhog
docker run --name redisbarber -p 6379:6379 -d -t redis:alpine
```

## Migrations

```shell
yarn && yarn sequelize db:migrate
```

## Test

```shell
yarn dev // test api
yarn queue // test queue (send emails)
```

## Check emails

Open: http://localhost:8025