roadapps.mod-checklist
v1.0.0
Published
RoadApps Checklist Module
Downloads
1
Readme
RoadApps Checklist Scheme
$ npm install roadapps.mod-checklist
Usage
var mongoose = require('mongoose');
var Schemas = require('roadapps.mod-checklist')(mongoose);
var Checklist = Schemas.Checklist;
mongoose.connect('mongodb://localhost/heisenberg');
Checklist.find().exec(function(err, checklists) {
console.dir(checklists);
});
var q = new Schemas.Question();
q.text = 'hail';
q.save(console.log);
Schemas
- Checklist
- Form
- Question
- Vehicle