This is a fork of the Ionic DreamHouse sample application that demonstrates how to build mobile apps with Ionic 2. Read more about it here: http://coenraets.org/blog/2016/11/new-and-improved-ionic-2-sample-application/
The reason for this fork is to adapt the code to work with PropertyWebBuilder as the backend API providor:
etewiah/property_web_builder#6
Follow these instructions to install the app and run it with the mock (in-memory) data services:
-
Make sure you have the latest version of Cordova and Ionic:
npm install -g npm npm install -g cordova npm install -g ionic
-
Clone the repository:
git clone https://github.com/dreamhouseapp/dreamhouse-mobile-ionic
-
Navigate to the
dreamhouse-mobile-ionic
directory :cd dreamhouse-mobile-ionic
-
Install the dependencies
npm install
-
Run the app in the browser
ionic serve
Follow these instructions to run it with the REST data services:
-
Install the PropertyWebBuilder implementation of the REST services (see this repository for instructions), and run the Rails server.
-
Adjust the
SERVER_URL
inproviders/config.ts
. The default is http://localhost:5000. -
Run the app in the browser
ionic serve