Ionic 3.0 has arrived! It was time to update the DreamHouse sample application. In this post, I share a new version of DreamHouse built with Ionic 3 and Angular 4.
Watch the video:
The source code and installation instructions are available in this repository.
- 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-ionic directory :
Install the dependencies
Run the app
Mock and REST Services
The app comes with two interchangeable implementations of the data services:
- The Mock services implementation uses in-memory data and are used for prototyping or testing purpose.
- The REST services implementation uses Angular’s new observable-based http object to access Node.js-based REST services.
The mock services implementation is used by default. Follow the instructions in the repository readme file to switch to the REST services implementation.