Follow the steps in Creating a new API to create a LoopBack application, then run Arc as follows:
Logging in to Arc
When you first start Arc, you'll see the login screen:
StrongLoop Arc is free to use, but you must login to use it.
First, if you haven't done so you must register at strongloop.com. On the bottom right of the StrongLoop Arc Sign In page is a link to the registration page on strongloop.com. If you've forgotten your password you can reset it using the link on the bottom left.
Login with your StrongLoop username (or email address) and password. After logging in, you'll see the StrongLoop Arc launchpad:
To exit Arc, type Ctrl-C in the console where you started Arc.
Overview of Arc Composer
Click Composer in the Arc Launchpad or module picker to display Composer module.
As shown above, Composer has five main sections:
- Module picker - use to switch between Arc modules such as Composer, Build & Deploy, and so on.
- App controller - use to start and stop your application. See Running an app.
- Models and data sources navigation - click on a model or data source here to edit it in the main editing view. See Creating and editing models, Creating and editing data sources, and Discovering models from a database.
- Models and data sources creation - use to create new models and data sources.
- Main editing view - displays the model or data source you're currently editing. Depending on what you're doing, the main editing view shows either the model editor or the data source editor.
Models and data sources navigation shows currently open and active objects: Open objects are highlighted with a shade of lighter gray. Active objects are highlighted in blue and displayed in the main editing view.
Using Arc offline
Arc runs as a single-page web application on your machine, however it requires internet connectivity for certain features. For example, StrongLoop's user service provisions Arc authentication and authorization, and Arc saves the information to cookies in your browser. Currently, cookies are valid for two weeks from the time you login.
Once you have a valid cookie, you can use Arc offline. Arc will also remember where you left off after you exit using Ctrl+C in your console.