This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install mongoose --save | |
very impo - mongoose.connect('mongodb://localhost/advisorDemoTestDB', { useMongoClient: true }) | |
var mongoose = require('mongoose'); | |
var Schema = mongoose.Schema; | |
var adminSchema = new Schema({ | |
email : { type : String, required : true}, | |
password : {type : String , required : true} | |
}) | |
var admin = mongoose.model('admin' , adminSchema); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<noscript> | |
<style type="text/css"> | |
.pagecontainer {display:none;} | |
</style> | |
<div class="noscriptmsg"> | |
<p>You don't have javascript enabled. Good luck with that.</p> | |
</div> | |
</noscript> |
NewerOlder