+ Repo –
+ Atom editor –
+ Download GIT –
+ Node.js for Beginners Playlist –
+ MongoDB playlist –

You can find more front-end development tutorials on CSS, HTML, JavaScript, jQuery, WordPress, Node.js & more on the channel homepage…


========== PSD to WordPress Playlist ==========

============ Node.js for Beginners Playlist =============

============== The Net Ninja =====================

For more front-end development tutorials & to black-belt your coding skills, head over to – or

================== Social Links ==================

Twitter – @TheNetNinja –


  1. To check for error such as deletion of non-existing ninja, better to use the findOneAndRemove() function so that you can return the document removed if found and test for !ninja for not found…

  2. After my delete request I got: UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Can't set headers after they are sent.
    It still deleted the entry from mongodb successfully.
    Is that warning significant?

  3. I always see tutorials like this that show how to delete/update a single record. How do you do multiple? For instance, I select several items in a grid that I want to delete/update. Do I have to loop the grid and call delete/update on each one? What if I selected a 100 items? Is there a better way to bulk delete/update?

  4. Best programming series on the web! Shaun you are the most underrated educator on the internet. Can't wait for you to write a book 😉

  5. How can it handler more error keeping the same approach? For instance, when you try to delete one item that doesn´t exist.

  6. Hello Net Ninja. Would you go to talking about the API authentication in this series? If you would that will be awesome! 😀


Please enter your comment!
Please enter your name here