This is a sample project retrieving commits from a repository (this very one! Yes recursive, right!) for a specific repository and displaying in with light frontend (here Vuejs)
- build REST API that allows to read commits
- consume GitHub API from NodeJS
- refresh action (front end) references: https://developer.github.com/v3/
Implemented with vuejs available here
Implemented with expressjs with typescript available here
GET /commit
git clone [email protected]:bcdbuddy/commit-history.git
# Front end
cd frontend
yarn install
cp sample.env .env
yarn serve
# Back end
cd backend
yarn install
cp sample.env .env
yarn watch
- test
- change repository parameter from .env to actual parameter
- add features:
- compare commits
- issues
- pull requests associated with a commit
- branches
- support other repository (gitlab, bitbuckets)