-
Notifications
You must be signed in to change notification settings - Fork 22
Home
Create REST APIs Using LoopBack
Build and Expose REST API with LoopBack in 5 minutes
Cloud
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 newest tools to use with LoopBack projects. In this journey, we’ll demonstrate the basic flows to create and expose REST apis using LoopBack.
David Okun
https://github.com/IBM/loopback-in-five/
In this journey, we’ll build REST APIs for a service named AnimalsDemo. The service is fictional, but the steps are the same simple for any real service: First we create the APIs, then we link to a datasource. After that we define the data models, and lastly, we set up access control. After that, we’ll push the app to the IBM cloud.
- User scaffolds api using lb cli
- User links to compose mongodb data source
- User generates the model objects
- User configures the ACL
- User prepares the manifests for deployment
- User pushes app to Bluemix Cloud Foundry
Compose for Mongodb : cloud based Mongodb service. (this one is not on the list) LoopBack: A highly extensible, open source Node.js framework. Cloud Foundry : Build, deploy, and run applications on an open source cloud platform.
API Management: The process of creating, documenting, and making APIs available, providing access controls, and tracking statistics. Node.js: An open-source JavaScript run-time environment for executing server-side JavaScript code. Databases: Repository for storing and managing collections of data.
Platform as a Service: A platform for Cloud services making it easy to develop, deploy, and manage applications by abstracting the complexity of maintaining the infrastructure required to carry out these activities.