restifizer-mongoose-ds

0.1.20 • Public • Published

NPM

We are working hard to create documentation. If you have exact questions or ideas how we can improve documentation, create a ticket here: https://github.com/vedi/restifizer-mongoose-ds/issues

Any feedback is appreciated.

Mongoose Data Source for Restifizer

Restifizer - it's a way to significantly simplify creation of full-functional RESTful services. It's available at: https://github.com/vedi/restifizer

This Data Source allows you to use mongoose model in your REST service. For example:

  MongooseDataSource = require('restifizer-mongoose-ds'),
  User = require('mongoose').model('User'),

...

module.exports = BaseController.extend({
  dataSource: new MongooseDataSource(User),
...

Package Sidebar

Install

npm i restifizer-mongoose-ds

Weekly Downloads

12

Version

0.1.20

License

MIT

Unpacked Size

11.3 kB

Total Files

5

Last publish

Collaborators

  • vedi