Ionic DreamHouse is a sample application that demonstrates how to build mobile apps with Ionic 2.
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 cordova npm install -g ionic -
Clone the repository:
git clone https://github.com/dreamhouseapp/dreamhouse-mobile-ionic -
Navigate to the
dreamhouse-mobile-ionicdirectory :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:
-
Replace all references to
property-service-mockandbroker-service-mockwithproperty-serviceandbroker-service -
Install the Node.js implementation of the REST services (see this repository for instructions), and run the Node server.
-
Adjust the
SERVER_URLinproviders/config.ts. The default is http://localhost:5000. -
Run the app in the browser
ionic serve