forest-loopback

v0.1.10
Forest Liana for Expressjs and Loopback

Forest Express/Sequelize connector

Build Status The official Loopback liana for Forest.

Installation

  1. Run $ npm install forest-loopback --save
  2. Add the following code to your app.js file:
app.use(require('forest-loopback').init({
  modelsDir: __dirname + '/../common/models',  // The directory where all of your Loopback models are defined.
  secretKey: 'ultrasecretkey', // The secret key given my Forest.
  authKey: 'catsOnKeyboard', // Choose a secret authentication key.
  loopback: require('loopback') // The loopback instance given by require('loopback').
}));

License

GPL v3

npm i forest-loopback

Metadata

  • GPL
  • Whatever
  • Sandro Munda
  • released 6/14/2016

Downloads

Maintainers