Skip to content

Honzama/github-events-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-events-task

Using Flask framework to load events from https://api.github.com/events API

How to run in localhost

  • Run and build project with "docker-compose up"

Localhost endpoints

C4 (level 1) Model

image

Assumptions

  • Flask framework is a good choice because of its simplicity and flexibility

  • Using Docker is good for reproducibility across multiple machines

  • Calling the GitHub Events API every minute is near optimal frequency because of the 60 calls per minute rate limit

  • Picking up an external ID from the GitHub Events API is an easier approach than generating a custom ID in the database