Skip to content

patrickdawson/FaceLogin

Repository files navigation

Angular2-Cordova-Starter

This project was generated with angular-cli version 1.0.0-beta.20-4 and cordova 6.4.0

Preinstalled Components

With this project the following components are preinstalled:

cordova

platforms

  • browser

plugins

  • cordova-plugin-camera
  • cordova-plugin-nativestorage

JavaScript packages

  • lodash
  • angular2-toaster
  • bootstrap
  • font-awesome
  • jquery

useful commands

development

You can use angular-cli for angular2 development. 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.

To run the complete cordova application, you first have to build your angular2 app using ng build. Use the -prod flag for a production build. Then you're able to prepare your app for the target system using cordova run <platform> where platform could be browser. A shortcut for deploying the app is available as NPM script. Just run npm run browser.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class.

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. Before running the tests make sure you are serving the app via ng serve.

Further help

To get more help on the angular-cli use ng --help or go check out the Angular-CLI README. To get more help for cordova use cordova --help.

About

Test App for MS Cognitive Face API

Resources

License

Stars

Watchers

Forks

Packages

No packages published