Archived | Quickly create and customize a LoopBack application based on Node.js

Archived content

Archive date: 2019-08-30

This content is no longer being updated or maintained. The content is provided “as is.” Given the rapid evolution of technology, some content, steps, or illustrations may have changed.

In this tutorial, Tim Baker, IBM® Senior Technical Sales Specialist, takes you through a video demonstration of how to use IBM API Connect Version 5. He shows a practical example of creating and publishing an application—from start to finish, on-premises to the cloud—highlighting the following features of version 5:

  • Offline developer toolkit experience, including the new command-line interface (CLI) and API Designer
  • The ability to quickly create and customize a LoopBack application based on Node.js
  • Direct access of the API Designer to source configuration files
  • New API assembly features that allow construction of rich policies
  • The consumer-facing developer portal experience
  • Real-time data and analytics gathering capabilities

To get started with IBM API Connect, get the Essentials plan for the API Connect service on IBM Cloud, which entitles you to 50K API calls per month at no charge. Next, download the IBM API Connect Developer Toolkit from npm..

Without writing a single line of code, I’ve created an application that is tied to a MongoDB data source that provides the ability to interact with that data source using these API path of operations. It provides me the ability to create new items inside my data source, to query the data source for specific items, and update items.

Whether you prefer to use a command line and or graphical editor, you will see just how quickly you can create and publish your applications to the cloud. In this video, you learn how to:

  • Create a StrongLoop® application.
  • Connect to an existing data source (a Mongo data source).
  • Set up the data source and define the data to be stored in there.
  • Create a data model and a review model, and link the models.
  • Create API assembly policies.
  • Create new APIs from existing IT assets and cloud assets (SOAP and REST).
  • Build an advanced assembly to demonstrate the assembly mapper in API Connect.
  • Orchestrate two endpoints that are mapped to combine the responses into an aggregate response.
  • Use an operation switch to show resource-level policies working together with API-level policies.
  • Use the IBM DataPower® GatewayScript program directly from the assembly builder.
  • Associate APIs with products.
  • Publish the API definition to the central management server.
  • Customize the view of the analytics dashboard.

Find more informational and how-to videos on developerWorks TV!