- Docker 17.06+
- Go 1.9.2+
- Setup Go environment
- Set GOPATH
More information here
export GOPATH=$HOME/go
- Once GOPATH is set, you can clone this repository by doing
It is located in
go get github.com/dangkaka/leaderboard
GOPATH/src/github.com/dangkaka/leaderboard
- Set GOPATH
- Start the application
docker-compose up -d
localhost:3000
is ready to use
GET /health
GET /api/v1/scores
POST /api/v1/scores
DELETE /api/v1/scores/:id