Simple Online Store API
Run go mod tidy
to install dependencies required that state on go.mod
Make sure you have go v11 or above installed
Run make migrate
or go run main.go migrate
Run make run
or go run main.go
for a dev server. Navigate to http://localhost:7723/
.
Run make test
or go clean -testcache && go test ./... | grep -v 'no test files'
.
Run make build
or go build -o os-api
.
- order cancelled due to mismatch (negative) qty
- use unsigned data type for qty
- Andhika Gama - Initial work - AndhikaGama