GithubHelp home page GithubHelp logo

mrbatista / loopback-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from strongloop/loopback-cli

0.0 1.0 0.0 1.13 MB

LoopBack CLI tool for creating projects, models and more.

License: Other

JavaScript 100.00%

loopback-cli's Introduction

loopback-cli

LoopBack CLI tool for creating projects, models and more. This package supersedes the older slc tool.

This module is in Active LTS mode, new features are no longer accepted. (See Module Long Term Support Policy below.)

LoopBack 3 users looking for new features are encouraged to upgrade to LoopBack 4. Refer to loopback-next#1849 for more information on how to upgrade.

Installation

To install the LoopBack CLI tool:

$ npm install -g loopback-cli

Use

Getting started

  1. Run lb [appName] to create a new LoopBack application.
  2. Run node . to start the scaffolded server.

What's next

Run lb -l to list all available commands:

$ lb -l
Available commands:
  lb acl
  lb app
  lb boot-script
  lb bluemix
  lb datasource
  lb export-api-def
  lb middleware
  lb model
  lb property
  lb relation
  lb remote-method
  lb soap
  lb swagger
  lb zosconnectee

Run lb <command> --help to learn more about each command. For example:

$ lb model --help
Usage:
  lb model [options] [<name>]

Options:
  -h,   --help          # Print the generator's options and usage
        --skip-cache    # Do not remember prompt answers             Default: false
        --skip-install  # Do not automatically install dependencies  Default: false

Arguments:
  name  # Name of the model to create.  Type: String  Required: false

Description:
  Creates a new Model in the LoopBack application.

Example:

  lb model Product

  This adds an entry to `Product.json` defining the model "Product".

Refer to Create a simple API for more information.

Refer to README_Soap for more information on 'lb soap' command.

Contributing

IBM/StrongLoop is an active supporter of open source and welcomes contributions to our projects as well as those of the Node.js community in general. For more information on how to contribute please refer to the Contribution Guide.

Mailing List

Discuss features and ask questions on LoopBack Forum.

License

MIT

Module Long Term Support Policy

This module adopts the Module Long Term Support (LTS) policy, with the following End Of Life (EOL) dates:

Version Status Published EOL
5.x Active LTS Nov 2018 Dec 2019
4.x Maintenance LTS Sep 2017 Dec 2019
3.x End-of-Life Jul 2017 Apr 2019

Learn more about our LTS plan in the docs.

loopback-cli's People

Contributors

bajtos avatar crandmck avatar crshnburn avatar dhmlau avatar hacksparrow avatar jannyhou avatar rashmihunt avatar raymondfeng avatar shimks avatar virkt25 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.