git
bitbucket.org
,
gitlab.com
, or
github.com
,
git push
your local repo to the above remote repo.
node
assignments the line
node_modules/
must
be in your .gitignore
file.
<nmla@iba.dk>
with:
submission <subjectname>
'
in the subject line
In today's lesson you will find in Example 45.3
examples of extended schema attributes. You may copy the
code from mongooseUser5.js
to do the following.
String
constraint, and
explain what happens. We are interested in the
mongoose
error message, and your interpretation of
it.
Number
constraint, and
explain what happens. We are interested in the
mongoose
error message, and your interpretation of
it.
Date
constraint, and
explain what happens. We are interested in the
mongoose
error message, and your interpretation of
it.
unique
, and explain what
it does. Make an experiment that proves yours and
mongoose
s point.
required
constraint, and
explain what happens. We are interested in the
mongoose
error message, and your interpretation of
it.