Web enabled application to view the github users and to compare the contribution of each user among others.
- Visual Studio Code or any IDE
- Node
- Clone the repository https://github.com/sajeetharan/GitWar
- Navigate to GitWar Folder
C:\GitWar\server>
- Run npm install
C:\GitWar\server>npm install
- Run node server.js
- Navigate to public Folder
C:\GitWar\public>
- Run npm install -g @angular/cli@latest
C:\GitWar\public>npm install -g @angular/cli@latest
- Run npm install
C:\GitWar\public>npm install
- Add access_token generated from git developer account inside GitWar/src/environments/environment.ts
export const environment = {
production: false,
apiUrl: 'e3fe83bbb20a95f4b17df7d431a161310813d701'
};
- Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files
C:\GitWar\public>ng serve
- 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.
C:\GitWar\public>ng build
- Run ng test to execute the unit tests via Karma.
C:\GitWar\public>ng test
- Test coverage results Run ng test --single-run --code-coverage and see the generated coverage results under AccountsPortalApp /coverage/index.html
C:\GitWar\public>ng test --single-run --code-coverage
- Run ng e2e to execute the end to end testing using protractor
C:\GitWar\public>ng e2e
- Write MORE Tests
MIT
Free Software, Hell Yeah!