Skip to content

lab-241/appbase-client-ionic

Repository files navigation

App base ionic project

Ionic based mobile part of App Base ecosystem.

Build Status

Getting started

NB : Before run this app you have to ensure you have started AppBase REST api server.

Open bash console into appbase mobile project directory, then :

$ npm install
$ bower install
$ ionic serve --lab

Change api endpoint config value

By default in development this mobile client fetch api at http://localhost:3000. You can change it manually or by running ngconstant grunt task (default task).

NB : It necessary to test on device.

# replace [http://your-server.org/api] with your AppBase api endpoint
$ API_ENDPOINT=[http://your-server.org/api] grunt && ionic serve --lab

This will override API_BASE_URL in appbase.conf module located at www/app/conf/ConfParams.js.

TIP : Common Ionic commands

  • Develop in the browser with live reload: ionic serve
  • Add a platform (ios or Android): ionic platform add ios [android]
  • Build your app: ionic build
  • Simulate your app: ionic emulate
  • Run your app on a device: ionic run
  • Package an app using Ionic package service: ionic package

TIP : style with .scss files

This project support sass vi gulp task live compilation task.

Attention: Don't forget to imprt custom scss files in scss/ionic.app.scss like this :

// Include all of Ionic
@import "www/lib/ionic/scss/ionic";
@import "auth";
@import "shop";

Links

About

APPBASE Ionic mobile client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages