This repository aims to represent how I will be handling EventSub notifications from Twitch
- Rename
sample.env
to.env
and edit values as needed - Run docker containers with
docker compose up
- Run the package with
go run twitch_receiver/cmd/main.go
EXPORT GOOSE_DRIVER="postgres"
EXPORT GOOSE_DBSTRING="postgres://test:password@localhost:5432/test"
EXPORT GOOSE_MIGRATION_DIR="shared/database/migrations/"
go install github.com/pressly/goose/v3/cmd/goose@latest
goose up
$env:"GOOSE_DRIVER" = "postgres"
$env:"GOOSE_DBSTRING" = "postgres://test:password@localhost:5432/test"
$env:"GOOSE_MIGRATION_DIR" = "shared/database/migrations/"
go install github.com/pressly/goose/v3/cmd/goose@latest
goose up