StrongLoop Arc is no longer under active development, and will soon be deprecated. Arc's features are being included in the IBM API Connect Developer Toolkit: Please use it instead.
Skip to end of metadata
Go to start of metadata



You must first install StrongLoop.

Then, if you don't already have a Node app, create a LoopBack app with slc loopback.  See Creating a new API.

If you want to understand what's going on:

Now you can compose your API using Arc Composer or with the slc command-line tool.

Using Arc Composer


You can use the Arc Build & Deploy, Profiler, Metrics, and Process Manager modules with any Node application. However, API Composer works only with LoopBack applications.

To use API Composer:

  1. Start Arc in your project root directory:

  2. Click the Composer icon to go to the Arc Composer module:

    You'll see Arc Composer; for example:
  3. Create one or more data sources; see Creating and editing data sources.
  4. Create models:
  5. If desired, create database tables based on your models.  See Migrating a model.
  6. Add additional functionality, such as relations between models and access controls (ACLs), using slc; see steps 5+ below. 

Using slc

If you prefer using a command-line tool, you can use slc instead of Arc:

  1. Create a new LoopBack application as described at the beginning of this article.

  2. Go into your LoopBack project root directory:

  3. Create one or more data sources using slc loopback:datasource; see Connecting models to data sources.
  4. Create models:
  5. If desired, create database tables based on your models; see Creating a database schema from models.
  6. Use slc loopback:relations to add relations between models; see Creating model relations.
  7. Use slc loopback:acl to create access controls (ACLs); see Controlling data access.
  8. Add other API and application features; see LoopBack for more information. 
  • No labels