{% include analytics.html %}
LB3 Commands | LB4 Commands | Description | |
---|---|---|---|
lb or lb app
|
lb4 or lb4 app
|
Create a new application | |
lb datasource
|
lb4 datasource
|
Create a new datasource | |
lb model
|
lb4 model
|
Create a new model. In LB3, this would create the model, but you would automatically get all the model methods and remote methods. In LB4, this command only creates the model; you must also create a repository to handle the CRUD operations of your model, and you must create a controller to define your model's REST API endpoints. Alternatively, you can use lb4 rest-crud to create a configuration file that allows you to avoid having to create a repository and controller.
|
|
lb relation
|
lb4 relation
|
Create a relation between two models | |
lb swagger
|
lb4 openapi
|
In LB3, create a fully functioning application using an API defined in the Swagger 2.0 specification. In LB4, create a fully functioning application using an API defined in either the Swagger 2.0 or the OpenAPI 3.0 specification. |