Skip to content

dangkaka/leaderboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

Small project with gin + gorm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published