frisk / forest-express-sequelize

Home Page:http://www.forestadmin.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Forest Express/Sequelize connector

Build Status The official Express/Sequelize liana for Forest.

Installation

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

License

GPL v3

Contribute

Install JSHint for the Git hooks: npm install jshint -g

About

http://www.forestadmin.com

License:GNU General Public License v3.0


Languages

Language:JavaScript 98.9%Language:Shell 1.1%