Repo for third module of the GoStack bootcamp
This API uses docker, docker redis:alpine, docker mongo
to get inside the psql bash:
docker exec -it postgres psql -U postgres gobarber
-
Fill .env file
-
Docker installs:
If your have postgres installed locally, use port 5433
docker run --name postgres -p 5433:5432 -d -t postgres
docker run --name mongobarber -p 27017:27017 -d -t mongo
docker run --name redisbarber -p 6379:6379 -d -t redis:alpine
-
Start mongo, postgres, redis
docker start postgres mongobarber redisbarber
-
Run migrations:
npx sequelize-cli db:migrate