The Silent Field
Task due dates are stored, but they disappear when the task list is serialized for the client.
The bug report
You get the whole project — a React front end, an Express API, and Mongoose models — opened in a browser editor. Reproduce the symptom by reading the code, change what’s wrong, and run the hidden tests to prove it.
What the fix must prove
- stores the supplied due date on a new task
- returns the stored due date in the task-list response
- uses null when a task has no due date