mongoose-plugins

0.3.3 • Public • Published

mongoose-plugins

Mongoose (mongodb) plugins

CRUD Helper

  • automatically installs CRUD helpers for a model
    • can handle 1:1 relation (ObjectId) references inline
  • for an example please refer to todo-server/apps/todos/models.js

Auth

  • add UserSchema (User) model

Todo

  • CRUD to support nested toJSON
  • CRUD to support ObjectId
  • add relation (OneToOne, OneToMany, ManyToMany) support
  • add pagination support to index

/mongoose-plugins/

    Package Sidebar

    Install

    npm i mongoose-plugins

    Weekly Downloads

    14

    Version

    0.3.3

    License

    none

    Last publish

    Collaborators

    • truepattern