/ionic2-realty-rest

Sample application with Ionic 2, Angular 2, and REST services powered by Node.js

Primary LanguageJavaScript

IonicRealty: Ionic 2 Sample App with REST services

Watch the video here.

Deploying and Running on Heroku

  1. Make sure you are logged in to the Heroku Dashboard

  2. Click the Button below to deploy the application on Heroku.

Deploy

Your own instance of the application is automatically deployed.

Deploying and Running Locally

  1. Install the the latest beta version of the Ionic CLI:

    npm install -g ionic@beta
    

    or

    sudo npm install -g ionic@beta
    
  2. Clone this repository

    git clone https://github.com/ccoenraets/ionic2-realty-rest
    
  3. Navigate to the ionic2-realty-rest directory

  4. Install the dependencies

    npm install
    
  5. Start the server

    node server
    
  6. Open another command prompt and type the following command to build the app and start it in the browser:

    ionic serve
    

Resources

More information is available in this blog post: Angular 2 and Ionic 2 Data Services - Part 2: Using REST Services

Additional Resources: