MEAN: how to start.
Jeff Dickey
343

There’s a mistake in your remove todo route in server.js
It was probably an API update by Mongoose.
But the correct method to remove by id is

Todo.findByIdAndRemove(req.params.id, function() {…