Skip to content

shubhajitml/starry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

starry

Finding the most starred repos of an organisation

0. Run locally

python3 main.py

1. Test

make POST requests to https://starry.appspot.com/repos with data as the specifed format {"org": "google"}

curl --header "Content-Type: application/json" --request POST \
  --data '{"org": "nvidia"}' https://web-dep.appspot.com/repos

2. Measure Response Time:

measure resonse time : starry/response_time.py

3. Logs

Find the logs in starry/starry.log

4. Solution to Bottlenecks:

Latency in Response time for organisations having large no.s of repos

  • [Solved] using Redis

TODO

  • Handle Pagination
  • Endpoint Errors Handling

About

RESTful api to fetch top repositories (by stars) of an organisation on github

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages