O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Developing Node.js Applications on IBM Bluemix

Book Description

Abstract

This IBM® Redbooks® publication explains how to create various applications based on Node.js and run them on IBM Bluemix®. In this book, you will do the following activities:


  • Develop a Hello World application in Node.js, executing on IBM Bluemix. Through this activity, you can learn about these technologies:


  • IBM SDK for Node.js

  • Eclipse Orion Web IDE

  • Use asynchronous callback

  • Create an Express application

  • Build a rich user interface application by using AngularJS based in Node.js


  • This book is for beginner and experienced developers who want to start coding Node.js applications on IBM Bluemix.

    Table of Contents

    1. Front cover
    2. Notices
      1. Trademarks
    3. Preface
      1. Authors
      2. Now you can become a published author, too!
      3. Comments welcome
      4. Stay connected to IBM Redbooks
    4. Chapter 1. Developing a Hello World Node.js app on Bluemix
      1. 1.1 Getting started
        1. 1.1.1 Objectives
        2. 1.1.2 Prerequisites
        3. 1.1.3 Expected results
      2. 1.2 Architecture
      3. 1.3 Step-by-step implementation
        1. 1.3.1 Log in to your Bluemix account
        2. 1.3.2 Create the Node.js application on Bluemix
        3. 1.3.3 Enable continuous delivery by using toolchain
        4. 1.3.4 Create a Hello World Node.js server
        5. 1.3.5 Add a module to the Node.js application
      4. 1.4 Exercise review
    5. Chapter 2. Understanding asynchronous callback
      1. 2.1 Getting started
        1. 2.1.1 Objectives
        2. 2.1.2 Prerequisites
        3. 2.1.3 Expected results
      2. 2.2 Architecture
      3. 2.3 Step-by-step implementation
        1. 2.3.1 Create the Node.js application on Bluemix
        2. 2.3.2 Enable continuous delivery
        3. 2.3.3 Integrate with the Weather Company Data service
        4. 2.3.4 Access the Weather Company Data service from the Node.js app
        5. 2.3.5 Access the Weather Company Data service through a Node.js module
      4. 2.4 Exercise review
    6. Chapter 3. Creating your first express application
      1. 3.1 Getting started
        1. 3.1.1 Objectives
        2. 3.1.2 Prerequisites
        3. 3.1.3 Expected results
      2. 3.2 Architecture
      3. 3.3 Step-by-step implementation
        1. 3.3.1 Log in to you IBM Bluemix account
        2. 3.3.2 Create the Node.js application on Bluemix
        3. 3.3.3 Create the Hello World Express application
        4. 3.3.4 Create a simple HTML view and organize the code
        5. 3.3.5 Integrate with Watson Natural Language Understanding (NLU) service
        6. 3.3.6 Deploy the application and run it
      4. 3.4 Exercise review
    7. Chapter 4. Building a rich UI application by using AngularJS with Node.js
      1. 4.1 Getting started
        1. 4.1.1 Objectives
        2. 4.1.2 Prerequisites
        3. 4.1.3 Background
        4. 4.1.4 Expected results
      2. 4.2 Architecture
      3. 4.3 Step-by-step implementation
        1. 4.3.1 Log in to IBM Bluemix
        2. 4.3.2 Create an SDK for Node.js Cloud Foundry App
        3. 4.3.3 Create your first AngularJS page
        4. 4.3.4 Add a dynamic form to the page
        5. 4.3.5 Add a controller to the form
        6. 4.3.6 Create an AngularJS service to invoke the Node.js Author Service
        7. 4.3.7 Use the ng-repeat function to display a list of authors
      4. 4.4 Exercise review
    8. Appendix A. Additional material
      1. Locating the material on GitHub
    9. Related publications
      1. IBM Redbooks
      2. Online resources
      3. Help from IBM
    10. Back cover