##Sequelize REST 样板
安装
npm install sequelize-rest-boilerplate
用法
var SQLRest = require('sequelize-rest-boilerplate');
var Payment = require('./sequelize_payment_model');
var router = new SQLRest(Payment, 'payment');
app.use('/payments', router);
app.listen(process.env.PORT);
1