Oddbean new post about | logout
 	var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var UserSchema = new Schema({
    name: {type: String, required: true},
    email: {type: String, unique: true, required: true},
    password: {type: String, required: true},
    address: {type: String, required: true}
});
var User = mongoose.model('User', UserSchema);

module.exports = User;