Redirecting to http://loopback.io/doc/en/lb2/Command-line-tools.html ...
LoopBack provides two powerful tools for creating and working with applications:
The slc loopback command-line tool
slc loopback command to create and scaffold applications. Scaffolding simply means generating the basic code for your application. You can then extend and modify the code as desired for your specific needs.
slc loopback command provides an Application generator to create a new LoopBack application and a number of sub-generators to scaffold an application, as described in the following table. The commands are listed roughly in the order that you would use them.
|Application generator||Create a new LoopBack application.|
|Data source generator||Add a new data source to a LoopBack application|
|Model generator||Add a new model to a LoopBack application.|
|Property generator||Add a new property to an existing model.|
|ACL generator||Add a new access control list (ACL) entry to the LoopBack application.|
|Relation generator||Add a new model relationship.|
|Remote method generator||Add a new remote method.|
|Middleware generator||Add a new middleware configuration.|
|Boot script generator||Add a new boot scripts.|
|API definition generator||Export Swagger API definition.|
|Swagger generator||Generates a fully-functional application that provides the APIs conforming to the Swagger 2.0 specification.|
StrongLoop Arc is a graphical tool for building, deploying, and monitoring LoopBack applications.
Arc Composer enables you to:
- Create and modify models. See Creating and editing models for more information.
- Create and modify data sources. See Creating and editing data sources for more information.
- Discover models from data sources that support the discovery API. See Discovering models from a database for more information.
- Automatically create database schemas based on your application models (auto-migration). See Migrating a model for more information.
For more information, see Composing APIs.
Profiler module enables you to generate and view:
- Application CPU profiles (per process).
- Application heap snapshots (per process), to help diagnose memory leaks.
For more information, see Profiling with Arc.
Click Profile Settings (full) to set up Smart Profiling. See Smart profiling with Arc for more information.
Build & Deploy module enables you to build, package, and deploy your Node application to a local or remote system.
For more information, see Building and deploying with Arc.
Metrics module enables you to gather and view performance metrics on your application (per process).
For more information, see Viewing metrics with Arc.
Process Manager module enables you to manage an application running in clustered mode across multiple server hosts.
For more information, see Connecting to Process Manager from Arc.
The StrongLoop Arc Tracing module enables you to analyze performance and execution of Node applications to discover bottlenecks and trace code execution paths. You can display up to five hours of data to discover how applications perform over time.
You can drill down into specific function calls and execution paths for HTTP and database requests, to see how and where your application is spending time. Tracing provides powerful "flame graph" visualization of an application's function call stack and the corresponding execution times to help you track down where the application spends its time.
For more information, see Tracing.