how to create a default id via mongoose code example
Example: mongoose generate objectid
var mongoose = require('mongoose');
var id = mongoose.Types.ObjectId();
var mongoose = require('mongoose');
var id = mongoose.Types.ObjectId();