Full-Stack React Projects
上QQ阅读APP看书,第一时间看更新

Name

The name field is a required field of type String.

mern-skeleton/server/models/user.model.js:

name: {
type: String,
trim: true,
required: 'Name is required'
},