dynamodb-go-sample

Endpoint Documentation or when running http://localhost:5000

Building Docker images

Using docker-compose:

make compose-build

Using docker (buildkit is faster)

make docker-build

Running

make compose-build
make compose-up
curl http://localhost:5000/products/hats

UI

The UI is available at http://localhost:4000

Running infrastructure locally to work/test against

make compose-infra
make test

Running Integration Tests in Docker Compose

make compose-build
make compose-test

Running Integration Tests locally

make compose-infra

export TEST_INTEGRATION=1
go test -v ./...

Clean / delete docker images

make docker-clean

Building locally

make get
make build

Dynamodb UI

make compose-up

available at http://localhost:8001