Created
May 22, 2016 07:33
-
-
Save BasantPandey/ad887dc2f56e9bc3d921d3dceab8d3f7 to your computer and use it in GitHub Desktop.
Create Address book Model
This file contains 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
var mongoose = require('mongoose'); | |
module.exports = mongoose.Schema({ | |
firstname: String, | |
lastname: String, | |
phone:String, | |
email:String | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment