/favourite-language

Simple web app that reveals the favourite language of a GitHub user.

Primary LanguageJavaScriptMIT LicenseMIT

Favourite Language

Built on top of Angular2 quickstart.

Simple web interface that displays a GitHub user's favourite programming language.

Get The Dependencies

In order to run and test the application, it's dependencies need to be installed.

Run the following command from inside the project directory and on a shell to do so.

npm install

Run The Application

From the project directory, run the following command on a shell.

npm start

Tests

The application employs two types of tests - Unit and End To End.

Unit Tests

To run the unit tests, run the following command (from the project directory and in a shell).

npm run test

This will run the tests in the background, watching for changes.

Alternatively, to run the tests once, you can use the following command.

npm run test-once

E2E Tests

To run the end to end tests, run the following command (from the project directory and in a shell).

npm run e2e