Skip to content

equalize-squad/equalizei-front

Repository files navigation

Equalize Front

Build Status Commitizen friendly Code Climate Codecov Coverage Status

Setup the project

  1. $ npm install -g angular-cli - Install the Angular CLI
  2. $ git clone https://github.com/equalize-squad/equalizei-front.git - Clone the project
  3. $ cd equalizei-front - Go into the project folder
  4. $ npm install - Install all dependencies

Running the project

  1. $ ng serve - Opens the server
  2. Open http://localhost:4200/

Running unit tests

npm test

Tests will execute after a build is executed via Karma

If run with the watch argument --watch (shorthand -w) builds will run when source files have changed and tests will run after each successful build

Coverage

After ran the unit tests, run the following command to see the coverage:

npm run coverage

and see the reports at coverage folder

Running end-to-end tests

ng e2e

Before running the tests make sure you are serving the app via ng serve.

End-to-end tests are ran via Protractor using Cucumber. 😁

How to contribute 😍

Follow the GitHub Flow