Skip to content

Latest commit

 

History

History
124 lines (74 loc) · 3.87 KB

README.md

File metadata and controls

124 lines (74 loc) · 3.87 KB

Ambient Workspace

Build Status codecov.io MIT license Dependency Status devDependency Status

Install & Start

Prerequisites:

1) Ionic & Cordova

npm install -g ionic@beta
npm install -g cordova

2) Android SDK

Get the Android SDK. Beginning of this article is helpful.

3) Emulator (Optional, can use phone instead)

Set up the default emulator with

android avd

Example of a working AVD:

Example of a working AVD

Installation:

npm install
ionic platform add android

Running:

ionic serve
# or
# run the app on your phone or on an emulator, with live reload and console logs
# opens an emulator if one isn't open but doesn't start the app
ionic run android --livereload -c

Useful links

Ionic 2 Documentation

Hue API

Angular 2

Documentation

Angular Cheat Sheet

TypeScript Cheat Sheet

Resources

Tutorials

http://gonehybrid.com/build-your-first-mobile-app-with-ionic-2-angular-2-part-4/

https://auth0.com/blog/2015/09/03/angular2-series-working-with-pipes/

https://auth0.com/blog/2015/09/17/angular-2-series-part-2-domain-models-and-dependency-injection/

https://medium.com/google-developer-experts/angular-2-introduction-to-new-http-module-1278499db2a0#.l6pubi679

https://www.thepolyglotdeveloper.com/2016/01/make-http-requests-in-an-ionic-2-android-and-ios-app/

https://auth0.com/blog/2015/10/15/angular-2-series-part-3-using-http/

http://blog.ionic.io/ionic-2-and-auth0/

Example apps

You can see the difference between the official ones here https://devdactic.com/ionic-cheatsheet/

Starter sidemenu

Starter tabs

Starter tutorial

https://github.com/jkuri/ionic2-rxjs-socketio-chat

https://github.com/lathonez/clicker

https://github.com/driftyco/ionic-conference-app

https://github.com/ccoenraets/ionic2-realty

https://github.com/ccoenraets/ionic2-employee-directory

Other resources

https://github.com/AngularClass/awesome-angular2

https://github.com/timjacobi/angular2-education

https://github.com/AngularClass/angular2-webpack-starter This doesn't have Ionic, it's an angular 2 starter for web. But, this has a really good development setup.

Testing for future reference

http://mcgivery.com/unit-testing-ionic-app/ I don't think it'll be any different with Angular 2.

http://lathonez.github.io/2016/ionic-2-unit-testing/

http://gonehybrid.com/how-to-write-automated-tests-for-your-ionic-app-part-2/

https://bradb.net/blog/unit-testing-with-the-ionic-framework/

https://developers.livechatinc.com/blog/testing-angular-2-apps-part-1-beginning/

http://twofuckingdevelopers.com/2016/01/testing-angular-2-with-karma-and-jasmine/

Testing Angular 2 official docs