NodeJS MongoDB Tutorial

NodeJS MongoDB TutorialIn this video I show the easiest way to connect NodeJS to a MongoDB database. Installation and solving common errors is covered. We’ll create a database and then query and update it using NodeJS. We’ll review how to template pages with Jade. We review how to set up a NodeJS tutorial. Also because of requests, I will show myself writing all of the code.

I have other tutorials on the following topics if you want to learn more about : NodeJS, MongoDB, or Jade. All of the code follows the video below.

If you like videos like this, it would help me greatly if you’d support me on Patreon.

After making just $3.49 off of my last 8 videos I decided if I want to keep making educational videos I’ll have to look for an income source. $1 is greatly appreciated! If you can’t afford it though that is perfectly ok because I’m very happy that my videos are helping over 30 million people each month.

Code From the Video

package.json

app.js

index.js

newstudent.jade

studentlist.jade

Leave a Reply

Your email address will not be published.

Google+