Depending on your requirements, there could be a few steps involved.
Run 'slc lb project' to scaffold a Node.js application
Add models and configure the datasource. LoopBack automatically creates CRUD methods for you and expose them as REST APIs.
You can drop in code into models folder to customize the model, for example:
var app = require('../app'); var MyModel = app.models.MyModel; // From models.json MyModel.newMethod = function() { ... }; MyModel.prototype.anotherMethod = function() { ... };
You can find an example at: https://github.com/strongloop-community/loopback-example-database