The Loopback Rx Capture Module enables health systems to maximize their opportunity for specialty medications. Prescription orders written by health system physicians are matched to dispensing pharmacies and 340B data to track capture rates and missed opportunity by volume, revenue and gross margin.
- Compute answers using Wolfram's breakthrough technology & knowledgebase, relied on by millions of students & professionals. For math, science, nutrition, history.
- Popular free Alternatives to Loopback for Mac, Windows, Linux, Software as a Service (SaaS), Web and more. Explore 8 apps like Loopback, all suggested and ranked by the AlternativeTo user community. List updated: 8/1/2020 4:36:00 PM.
- 1.3.4 Fri Dec 13 2013 1.3.3 Fri Dec 06 2013 1.3.2 Fri Dec 06 2013 1.3.1 Fri Dec 06 2013 1.3.0 Mon Nov 18 2013 1.2.1 Mon Nov 11 2013 1.2.0 Fri Nov 08 2013 1.1.0 Tue Oct 29 2013 1.0.0 Fri Sep 13 2013 Unstable.
- NOTE: This module is primarily intended for use with LoopBack 2.0. It does work with LoopBack 1.x applications, but none of the LoopBack 1.x examples or generated code (scaffolding) use it. This function takes an optional argument that is either a string or an object.
Important: If you’re new to LoopBack, use the current release,LoopBack 4.0.
Install LoopBack tools
Install the LoopBack command-line interface (CLI) tool to create and modify LoopBack apps
To install the LoopBack CLI tool, enter this command:
For more information, see Installation.
Upgrading an existing StrongLoop installation to version 3
For instructions to upgrade existing StrongLoop installation, see Updating to the latest version.
Migrating your app to version 3
Read the Migration Guide for instructions on upgradingto LoopBack 3.0.
The Release Notes provide a comprehensive reference forall the changes between 2.x and 3.x.
Getting started
- Install LoopBack tools.
- Read LoopBack core concepts to learn about key concepts you need to understand to use LoopBack.
- Follow Getting started with LoopBack for a quick tutorial introduction.
Check out the LoopBack Developer Forum to ask questions and discuss how you are using LoopBack.
Note:IBM API Connect is an end-to-end API management solution that uses LoopBack to create APIs, and provides integrated build and deployment tools. For more information, see Installing IBM API Connect.
If you are an IBM customer, for technical support see the IBM Support Portal.
The LoopBack framework
The LoopBack framework is a set of Node.js modules that you can use independently or together to quickly build REST APIs.
Kontakt 5 7 3 – high end audio sampler. A LoopBack application interacts with data sources through the LoopBack model API, available locally within Node.js, remotely over REST, and via native client APIs foriOS, Android, and HTML5. Using these APIs, apps can query databases,store data, upload files, send emails, create push notifications, register users, and perform other actions provided by data sources and services.
Clients can call LoopBack APIs directly using Strong Remoting, a pluggable transport layer that enables you to provide backend APIs over REST, WebSockets, and other transports.
The following diagram illustrates key LoopBack modules, how they are related, and their dependencies.
Note: The first phase of this series is complete. Click on the links below for each part.
In this series, we will work through building an application to support the needs of DIY bands. We’ll start out solving some basic problems and move into more complex ground, eventually transforming the application into a platform that others can use and build upon. Online test platform.
There is a corresponding workshop as well as a code repository.
? To see the code for this step, here is commit/diff.
Corresponding Video
? What is LoopBack: a demo and how to get started
? Initializing a LoopBack application
Previously on Let’s build a band app!
We are starting from scratch so there is no previously in this episode :) but we do have some prerequisites, the first being Node.js. We can easily install Node for our platform at the following website: nodejs.org.
With Node, we get npm, the Node package manager. We will use npm to install our second prerequisite and that is LoopBack. Once we have Node installed, we can run
npm install -g loopback-cli
. This will install the LoopBack cli globally (-g
) on our machine so we can initialize a LoopBack application in any directory on our computer.In this episode
In this episode, we will install our prerequisites, get an understanding of what LoopBack provides and initialize our LoopBack application.
What is LoopBack
LoopBack is an open-source framework to rapidly build RESTful APIs in Node.js. It has a command line interface (CLI) tool that you can use to scaffold your application and build out your API layer based on your data (a model-driven approach). It isn’t just fast and easy; it’s also robust and extensible. It is built on top of Express, so it has widely-used and battle-tested foundation.
LoopBack is so awesome, it is almost magical. Let me show you by building an API in 73 seconds:
Let’s initialize our LoopBack application
We can initialize a LoopBack application in our terminal by typing
lb
or lb app
and this will invoke the generator. The generator will go through a series of prompts to scaffold our LoopBack application. Let’s get started.What’s the name of your application?
![Loopback Loopback](https://rogueamoeba.com/loopback/images/tour-passthru-overlay.png)
The first step is to name our application. Let’s call it:
band-app
.Enter name of the directory to contain the project:
Loopback 2 1 3 X 24
In this step, we are simply choosing the name of the directory that we are going to build out the application into. By default, it assumes we would like to create a new directory with the same name as the application that we have given in the previous step. So let’s hit enter and let the generator do its work.
Outputs:
Note: If we want to name our directory something else, we can do so in this step. If we had already created a directory with the same name as our application—we are working from that directory—LoopBack will detect this and we could simply hit enter.
Which version of LoopBack would you like to use?
We will choose the current version of LoopBack, 3.x.
Note: While LoopBack version 2 is still being supported, version 3 is the current version and in general you should use it for new applications.
What kind of application do you have in mind?
We are presented with four options as starting points:
- api-server (A LoopBack API server with local User auth)
- empty-server (An empty LoopBack API, without any configured models or datasources)
- hello-world (A project containing a controller, including a single vanilla Message and a single remote method)
- notes (A project containing a basic working example, including a memory database)
We will choose the default option as it is useful to have a built-in User model to extend from when building our model for our users.
Note: As alluded to above, it is best practice to extend base models such as
User
rather than using them directly. If we have multiple objects extending from a base model and we modify a base model, there may be adverse effects on all the models extending it.Protip: in the command line, type
j
or k
or ↑ and ↓ to navigate up or down.Scaffolding application and running npm install
For an explanation of all the files and directories that the tool creates, see Project layout reference in the LoopBack documentation.
At this point, the tool has scaffolded our application. Then it runs
npm install
to install all of the application’s external dependences. This may take a moment, depending on internet connection. Do not be alarmed by the many modules that are installed: to reduce duplication of effort, Node.js has a large ecosystem of many small modules. The Node package manager, npm, handles these modules in a smart and efficient manner.Once the tool finishes installation of external modules, we will see a listing of these modules in a tree structure.
Handy next steps for our convenience
At this point, our application is initialized and the terminal outputs some helpful next steps to continue development. We can run our node app with
node .
and it will output, two URLs: one which will take us to the root of our app and one which takes us to our API explorer. There won’t be much at the explorer yet, but we will ‘explore’ that later (sorry for the pun), but if we go to the root of our application, we will see a timestamp letting us know it is working properly. The code that gets the timestamp and outputs it in the browser in our server/server.js
file. Until next time, you can check out that server file and see that it looks very much like an Express server (remember, Express underpins a LoopBack application.) We may also take a look at the config.json
file, which contains some of the configuration for our application, such as our API root, the host and port information. Feel free to poke around further.What’s Next?
Loopback 2 1 3 X 2 3
In the next episode, we will initialize our first endpoint which will be generated based on some questions about our data. It’ll be fun, fast and easy! See you then.