SHARE

—– COURSE LINKS:
+ Repo – https://github.com/iamshaunjp/rest-api-playlist
+ Atom editor – https://atom.io/a
+ Download GIT – https://git-scm.com/
+ Node.js for Beginners Playlist –
https://www.youtube.com/playlist?list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp
+ MongoDB playlist – https://www.youtube.com/playlist?list=PL4cUxeGkcC9jpvoYriLI0bY8DOgWZfi6u

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

SUBSCRIBE TO CHANNEL – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1

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

https://www.youtube.com/playlist?list=PL4cUxeGkcC9gnow7e45LQFkNVxwQ5BH-W

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

https://www.youtube.com/playlist?list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp

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

For more front-end development tutorials & to black-belt your coding skills, head over to – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk

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

Twitter – @TheNetNinja – https://twitter.com/thenetninjauk

15 COMMENTS

  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! 😀

LEAVE A REPLY

Please enter your comment!
Please enter your name here