Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 781 Bytes

README.md

File metadata and controls

39 lines (31 loc) · 781 Bytes

Leaderboard

Requirements

  • Docker 17.06+
  • Go 1.9.2+

Quickstart

  1. Setup Go environment
    • Set GOPATH
      export GOPATH=$HOME/go
      
      More information here
    • Once GOPATH is set, you can clone this repository by doing
      go get github.com/dangkaka/leaderboard
      
      It is located in GOPATH/src/github.com/dangkaka/leaderboard
  2. Start the application
    docker-compose up -d
    
  3. localhost:3000 is ready to use

Explore the API

http://localhost:3000/swagger

GET    /health                   
GET    /api/v1/scores           
POST   /api/v1/scores       
DELETE /api/v1/scores/:id

Dashboard

http://localhost:3000/