In the root directory, apply the docker compose file which will spin up a postgres db
docker compose up -d
Copy these environment variables to .env
ALLOW_API_KEY=68daa0a7-b8c0-4735-9328-f8c876aeb0b9
ALLOW_ORIGIN=http://localhost:5173
DATABASE_URL="host=localhost port=5432 user=golensdb password=golensdb dbname=golensdb sslmode=disable"
HOST_PORT=:3000
Run the app
godotenv -f .env go run main.go
Run tests suite
go test ./...
or
ginkgo ./...