Skip to content

This is "Exercise Tracker", fourth problem of FCC node js section.

Notifications You must be signed in to change notification settings

memorandumtk/exerciseTracker_Express

Folders and files

NameName
Last commit message
Last commit date
Oct 31, 2023
Nov 26, 2020
Oct 31, 2023
Aug 27, 2021
Jul 16, 2022
Nov 26, 2020
Jul 16, 2022
Oct 31, 2023
Oct 31, 2023
Oct 31, 2023
Oct 31, 2023

Repository files navigation

Exercise Tracker

This is the boilerplate for the Exercise Tracker project. Instructions for building your project can be found at https://www.freecodecamp.org/learn/apis-and-microservices/apis-and-microservices-projects/exercise-tracker

mongodb default value

This case, I used date.now as a default value.

https://mongoosejs.com/docs/defaults.html

surprising point was

Note: Mongoose only applies a default if the value of the path is strictly undefined

Important! Mongoose Default Shchema Date type = ISO 8601 string type e.g."2011-10-05T14:48:00.000Z"

About

This is "Exercise Tracker", fourth problem of FCC node js section.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published