Day 75 November 6, 2018
Today's Progress:
- Exercise Tracker
- Add exercise log
Thoughts:
Completed user story 3: add an exercise log.
Today I learned:
- When I want to export multiple modules from a file I need to use
exports.propertyName
instead ofmodule.exports
- Validation for subdocument is not so simple. It seems when I do
findOneAndUpdate
the validation does not work. If I dofind
andsave
separately it worked.
Now I have done 3/4 of the challenge. 25 more days to go!
Link to work:
Exercise Tracker: Code
0 件のコメント:
コメントを投稿