docker-compose build
docker-compose up
Application will run on 4030 port
npm start
React developing will run on 1234 port
Create migration
./db/create-migration.sh -n <migration name>
Migrations run automatically when app starts
Rollback last migration
docker-compose exec golang bash
migrate -source file://db/migrations/ -database postgresql://postgres:set-postgres-pwd@pg:5432/postgres?sslmode=disable down 1