Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emtudo/gobarber
Schedule for Barber
https://github.com/emtudo/gobarber
Last synced: about 23 hours ago
JSON representation
Schedule for Barber
- Host: GitHub
- URL: https://github.com/emtudo/gobarber
- Owner: emtudo
- Created: 2019-07-02T10:38:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T11:34:24.000Z (almost 2 years ago)
- Last Synced: 2023-03-02T01:47:00.839Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.46 MB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
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