/lotg

Lord of the Git

Primary LanguageJavaScript

Lord Of The Git

Fullstack 1st Hackathon - Lord of the Git

FULLSTACK DEVELOPERS ISRAEL

Wednesday, December 7, 2016

Campus TLV
98 Yigal Alon st.
Floor 34rd (Electra Tower)
Tel-Aviv (map)

Problem

Developing apps that integrate with git providers (GitHub, BitBucket, GitLab) require separate integration with each one.

Solution

One API to rule them all. One npm package that generalizes integration with git providers. We can't get fully compatible with neither service. Let's get 80% compatible with all.

Goals:

  • Create the basic package
  • Implement at least one usecase (e.g. getUserRepos)
  • Build a demo app that uses the package and demonstrate how it works against Github, Bitbucket and Gitlab without changing a sinle line of code (only configuration)

API Commands that we've implemented

  • getUserRepos - get a list of repositories of a certain user
  • getUserCommits - get a list of commits that a certain user perform on all the repos
  • getUserCommitsCount - get a number of commits that a certain user perform on all the repos