Skip to content

Elojah/selection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selection

Side hiring process test

CircleCI

Installation

OS X & Linux & Windows:

go get -u github.com/elojah/selection

Usage example

> docker-compose up # start containers
> make import # import test data into mongo
> curl -k X GET https://127.0.0.1:8080/task/scores?id=0E8dlOR1tqfg31jIR

API

/user #all users
/user?ids=eLCbLZMwPrWM24fZ9,fZueTmkoyeeM8hfgS #users by id
/task #all tasks
/task?ids=0R7p5AZpxMmffUU7k,0E8dlOR1tqfg31jIR #tasks by id
/task/scores?id=0R7p5AZpxMmffUU7k

TODO

  • Add tags to get task (API)
  • Batch users retrieve in scores calculation (Scorer)
  • Debug HTTPS Docker (API)
  • Add more routes (get all, get by id) (API)
  • Add errors.Wrap for error context

About

Side hiring process test

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published