Although in theory, you could code a LoopBack application from scratch, installing the LoopBack CLI tool makes it much easier to get started. It will scaffold an application that you can then customize to suit your needs. For more information, see Command-line tools.
You have two options for LoopBack tools:
- Install IBM API Connect developer toolkit, which includes:
- The graphical API Designer tool that you can use to create and modify LoopBack applications.
apiccommand-line tool for scaffolding and modifying LoopBack applications.
Prerequisite: install Node.js
If you haven’t already installed Node, download and install Node.js. For best results, use the latest LTS (long-term support) release of Node.js.
Warning: LoopBack does not support Node.js versions prior to 4.x.
Install the LoopBack CLI tool
To install the LoopBack command-line interface (CLI) tool, enter the command:
npm install -g loopback-cli
This installs the
lb command-line tool for scaffolding and modifying LoopBack applications.
For more information, see Command-line tools.