codephile-backend
codephile-backend copied to clipboard
Back-end for Official Codephile App
Addition of codechef and codeforces institut level rank : 1. A new controller rank.go added 2. Two api endpoints created (/rank/codechef, /rank/codeforces)
- upgraded to new mongo driver package and removing the mgo package used - bumped dependencies and beego version - added to .gitignore
- changed query to autocomplete type - added a path var for defining the field to search in - added filter for path var so only certain fields can be...
Currently if the codeforces API gives status which is not "OK", then it retries, assuming that max API limit is exceeded. But status could be not "OK", even if handle...
Something like this could be added as well https://github.com/mdg-iitr/appi/blob/1870d2a007501d0a82d73fe2469471418587e50c/linter.py or included in the test suite.
This change required changes in other places of the code as well.