CCD-MONGO
Mongoose based service and CCD controller Also implements the basic CRUD methods
CCControllerService<T>
Example ...imports and setup //the mongoose model needs to be definedmongoose.Model'User', new mongoose.Schema; app.use'/', new UserCtrl'User'.router;app.listen3000;
Note
If you like to be more structured and have the db methods in a separate class then you can use the CCService<T>
class for that.