Module 2: Starting the Node Server

In this module, you install and start a Node.js server that exposes the conference data (sessions and speakers) through a set of REST services.

Steps

  1. Download the supporting files for this tutorial here, or clone the repository:

    git clone https://github.com/ccoenraets/ionic-tutorial
    

    If you downloaded the zip file, unzip it anywhere on your file system.

  2. Open a terminal window (Mac) or a command window (Windows), and navigate (cd) to the ionic-tutorial/server directory

  3. Install the server dependencies:

    npm install
    
  4. Start the server:

    node server
    

    If you get an error, make sure you don't have another server listening on port 5000.

  5. Test the REST services. Open a browser and access the following URLs:

comments powered by Disqus