Github API Integration

Application can

  1. list commits for certain git repository on github
  2. list open pull requests.
  3. merge open pull request.
  4. list closed pull request.

Warning: I Experienced issue that Github API returns PR still remain in open state during 5 minutes after merge pull request success.

One way to check the site

Host dist folder (only 470k) on anywhere (lite-server, live-server, local IIS), then access.

Another way to check the site

This project was generated with Angular CLI version 1.6.8.

Prerequisites

  1. Please install Node 6.9.0 or higher Node

Both the CLI and generated project have dependencies that require Node 6.9.0 or higher, together with NPM 3 or higher.

  1. Please run following command to install Angular CLI.

npm install -g @angular/cli

Development server

Run ng serve -o for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.