forest-loopback

0.1.10 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i forest-loopback

Weekly Downloads

4

Version

0.1.10

License

GPL

Last publish

Collaborators

  • seyz