Академический Документы
Профессиональный Документы
Культура Документы
Even though we can become busy in our work, we should always keep being informed
and find out what is happening in our society.
To implement this function, we used GitHub API and The Guardian API.
In order to make the application work, we firstly need to get user to log in to their Github
accounts using oAuth, from which we could parse the time of their commits. Then we
could use these time information as a tie to get the headlines of news from The
Guardian. In this way, we use the headlines of news posted around users commit time to
represent the things happening around the world.
1
TECHNICAL METHODS
OAuth for GitHub using Firebase
HTML/CSS/JS
Materialize CSS
SUMMARY OUTPUT
The app displays the users commits with a relevant headline taken from Guardian news
that most closely matches to when that commit was made.
The first GitHub user is Frances, the second GitHub user is Cornell Tech and the other 3
represent some of the top contributors on GitHub.
If you would like to see how an entire response looks like (very long screen), please view
an example here.
User @fvcproductions
2
User @josh
3
User @feross
User @cornell-tech
4
APP DEMO
You are welcome to fiddle with the app via GitHub pages but please let it be noted that
we were only able to get it to work for a certain user and even though a user can login
through GitHub, the app is not able to get the logged in users commits.