cd apps/api
docker compose up -d
go mod tidy
go run ./cmd/server/main.go
export GOOSE_MIGRATION_DIR='./internal/db/migrations'
export GOOSE_DRIVER='postgres'
export GOOSE_DBSTRING='user=postgres password=postgres dbname=postgres host=localhost port=5432'
go tool goose create -s NOME_DA_MIGRATION sql
go tool goose up
export GOOSE_MIGRATION_DIR='./internal/db/seeds'
export GOOSE_DRIVER='postgres'
export GOOSE_DBSTRING='user=postgres password=postgres dbname=postgres host=localhost port=5432'
go tool goose create -s NOME_DA_SEED sql
go tool goose -no-versioning up
go tool sqlc generate