This is based on a blog post and series I wrote for IBM DevWorks. The associate code repo is here.
Table of Contents
Open Table of Contents
You Need An API
Applications these days need APIs. And let’s face it – it’s not always easy to set them up. LoopBack is a Node API framework built to solve this problem. Using LoopBack, you can quickly generate powerful REST APIs in 5 minutes, flat. Using IBM Cloud, you can deploy them in 5 more minutes, flat.
In this pair of videos, I will show you how to use Loopback to create a fully functional API architected in Node.js, how you can secure it, and how you can persist your data to a datastore, like MongoDB. I’ll then show you how to deploy your API to IBM Cloud using Cloud Foundry.
LoopBack is free to use and open source, so it’s easy to follow along in this tutorial, or just check out the code on GitHub to see how it works.
Videos!
Want To Know More?
LoopBack is extensible far beyond what you see here; it can be used for everything from prototypes to production applications. Check out the Acme Freight developer journey to see a working example of a microservices architecture using LoopBack to create and access APIs for on-premises data.
P.S. – When you’re ready to add broader API management capabilities for your API’s, you’ll be happy to know that LoopBack helps power IBM API Connect. You can create LoopBack projects directly within the API Designer, so you can get productive fast and scale when you need it, giving you complete control of your server-side API experience.