go mod download
go run cmd/server/main.go
go test ./...
docker build -t {dockerhub_user}/stats-api .
docker push {dockerhub_user}/stats-api:latest
Currently the only supported API call is a GET to /api/v1/schedule
which accepts two query params date
(required) and teamID
(optional) where date is in YYYY-MM-DD
format and teamID is a number
/int
.
http://127.0.0.1:4000/api/v1/schedule?date=2022-07-21&teamID=147
http://134.209.123.132:4000/api/v1/schedule?date=2022-07-21&teamID=147