NOTE
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.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Start Arc in your project root directory:

    Code Block
    $ cd <my-project-dir>
    $ slc arc
  2. Click the Composer icon to go to the Arc Composer module:

    You'll see Arc Composer; for example:
    Image RemovedImage Added 
  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. 

...

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:

    Code Block
    $ cd <my-project-dir>
  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 LB for more information.