https://documenter.getpostman.com/view/17475694/2s93CPrCw6
Install the Go programming language.
Install docker.
Then install Go modules
go mod tidy
To run database migrations. "D:/Projects/go" should be replaced with your local path to the project.
docker run -v D:/Projects/af1-spider-web-app/migrations:/migrations --network host migrate/migrate -path=/migrations/ -database "<your-postgres-address>" up
To clear the database:
docker run -v D:/Projects/af1-spider-web-app/migrations:/migrations --network host migrate/migrate -path=/migrations/ -database "<your-postgres-address>" down -all
To start the API:
make run
or
go run main.go
To start the Alerts Service:
go run alerts/cmd/main.go
make test
or
go test -v ./...