Skip to content

davilima6/invoice-calculator

Repository files navigation

Invoice Calculator

This is a simple invoice calculator using Angular 7, session storage and API from https://byrd1.docs.apiary.io.

This project was generated with Angular CLI version 7.3.8.

Usage

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

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.

Publish to Github Pages

  1. Run npm install -g angular-cli-ghpages
  2. Run git checkout -b gh-pages master
  3. Run ng build --prod --base-href "https://davilima6.github.io/invoice-calculator/"
  4. Run ngh --dir=dist/invoice-calculator