Ionic DreamHouse

Ionic DreamHouse is a sample application that demonstrates how to build mobile apps with Ionic 2.

Installation Instructions

Follow these instructions to install the app and run it with the mock (in-memory) data services:

  1. Make sure you have the latest version of Cordova and Ionic:

    npm install -g npm
    npm install -g cordova
    npm install -g ionic
    
  2. Clone the repository:

    git clone https://github.com/dreamhouseapp/dreamhouse-mobile-ionic
    
  3. Navigate to the dreamhouse-mobile-ionic directory :

    cd dreamhouse-mobile-ionic
    
  4. Install the dependencies

    npm install
    
  5. Run the app in the browser

    ionic serve
    

Using REST Services

Follow these instructions to run it with the REST data services:

  1. Replace all references to property-service-mock and broker-service-mock with property-service and broker-service

  2. Install the Node.js implementation of the REST services (see this repository for instructions), and run the Node server.

  3. Adjust the SERVER_URL in providers/config.ts. The default is http://localhost:5000.

  4. Run the app in the browser

    ionic serve