SHARE

Yo gang, in this MongoDB tutorial, I’ll be showing you how we can save data to the database using the save() method from mongoose.

—– COURSE LINKS:
+ Repo – https://github.com/iamshaunjp/mongodb-playlist
+ Atom editor – https://atom.io/a
+ Download GIT – https://git-scm.com/
+ CMDER – http://cmder.net/
+ MongoDB – https://www.mongodb.com/
+ Robomongo – https://robomongo.org/

JS Playlist – https://www.youtube.com/playlist?list=PL4cUxeGkcC9i9Ae2D9Ee1RvylH38dKuET

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

ASYNC JS Playlist – https://www.youtube.com/playlist?list=PL4cUxeGkcC9jAhrjtZ9U93UMIhnCc44MH

———————————————————————————————
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

8 COMMENTS

  1. Hey Shaun, A number of people here (including me) are dropping comments not understanding how / where connection.js gets invoked….

  2. dude i got this error :
    Saving records Saves a record to the database:
    TypeError: MarioChar is not a constructor
    at Context.<anonymous> (testsaving_test.js:10:18)

  3. Same, I was getting a error about "string" not being defined turns out I had to change it to "String". Then after that I got an error saying describe was not defined. lol

  4. Hey Shaun, great tutorials!!!! really appreciate the effort. In this tutorial however I have 1 doubt. I did not understand how the connection.js file automatically runs, while testing. I might be missing something. Thanks!!!

LEAVE A REPLY

Please enter your comment!
Please enter your name here