apigee-api-workshop

Workshop Steps

  1. Install Apigee 127 Globally
$ npm install -g apigee-127`
  1. Create the project with Apigee 127
$ a127 project create apigee-api-coders-workshop
  1. Download the files to install Usergrid
$ a127 usergrid download
  1. Start Usergrid
$ a127 usergrid start
  1. Open Usergrid page
$ a127 usergrid portal
  1. Login with user superuser and password superuser
  2. In the web interface, create an organization called workshop
  3. Select the organization on the drop box and create an application named sandbox for that organization
  4. Go to ROLES->Guest and click on Add Permission
  5. On Path write /**, select all checkboxes and click on Add
  6. Unzip the file demoData.zip and in a terminal go inside it
  7. Run the following command to insert data to the database:
$ node install.js
  1. On the terminal, go to the project folder and run:
$ node app.js

You should see the API on the following URL:

http://localhost:10010/

Run the full project

Greg Rewis, the workshop teacher, gave us a link to download the full project.

The main difference is that in the full project a graphical interface is implemented.

To run it do the following:

  1. Unzip api-workshop.zip file.
  2. Do steps 3 to 13 of Workshop steps
  3. In a terminal, navigate to the folder.
  4. Run the following command:
$ node app.js

You should see the app on the following URL:

http://localhost:10010/

Tools