Watch the video here.
-
Make sure you are logged in to the Heroku Dashboard
-
Click the Button below to deploy the application on Heroku.
Your own instance of the application is automatically deployed.
-
Install the the latest beta version of the Ionic CLI:
npm install -g ionic@beta
or
sudo npm install -g ionic@beta
-
Clone this repository
git clone https://github.com/ccoenraets/ionic2-realty-rest
-
Navigate to the ionic2-realty-rest directory
-
Install the dependencies
npm install
-
Start the server
node server
-
Open another command prompt and type the following command to build the app and start it in the browser:
ionic serve
More information is available in this blog post: Angular 2 and Ionic 2 Data Services - Part 2: Using REST Services
Additional Resources:
-
A version of the same application implemented with mock data services is also available. Read this blog post for details: Angular 2 and Ionic 2 Data Services - Part 1: Promises and Observables
-
A version of the same application with a Salesforce backend is also available. Read this blog post for details: Building Customer-Facing Mobile Apps with Angular 2, Ionic 2, and Salesforce