nodemon – app crashed – waiting for file changes before starting

Mongoose expects you to specify types using the built-in constructor functions, which are named with capital letters, e.g. StringNumberBoolean, etc.

var mongoose = require('mongoose');

module.exports = mongoose.model('User', {

   email : String ,
   pwd : String

});

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)