We’re giving away 1,500 DJI Tello drones. Enter to win ›
Get the code
Set up the API
Deploy the API
By David Okun | Published October 25, 2017 - Updated May 7, 2018
API ManagementNode.jsPlatform as a ServiceCloud
Creating REST APIs has always been a challenging job. LoopBack, a highly extensible open source Node.js API framework, is meant to make that experience easy. IBM API Connect provides the tools to use with LoopBack projects. In this developer pattern, we’ll demonstrate the basic flows to create and expose REST APIs using LoopBack.
In this journey, we’ll build REST APIs for a service named AnimalsDemo. The service itself is fictional, but the steps are the same that you’d use for any real service. First, we create the APIs, which we then link to a data source. Second, we define the data models and set up access control. Finally, we push the app to IBM Cloud. These steps will remain the same even with an actual production-ready service. The beauty of LoopBack is it saves a lot of effort in coding redundant functionalities, since most REST APIs are about CRUD operations after all.
November 13, 2018
September 26, 2018
July 27, 2018
Back to top