Getting Started with MongoDB, Node.js and Restify
Nick Parsons

Nick Parsons Thank you for the great article. I followed the steps that you had laid out here. Everything worked except PUT and DELETE. I believe it is because during POST we let MongoDB generate the ObjectID and it is true ObjectID and not a string. Subsequent calls PUT and DELETE code uses string as _id param and the DB fails to find the right document.

I slightly modified the code to accommodate the conversion.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.