Courselala.com

Node.js Blog App with Ejs & MongoDB

Building apps with Node.js and MongoDB, acquiring EJS template

In this course I will start off with covering the basics of JavaScript, and then go into Node.js, where we will create our first server. Upon doing that, we will handle req and res to our pages. Later we will refactor them to EJS and reconfigure the layout to make it easier for coding and condense the code on each file. After that, we connect to MongoDB and cover the CRUD method in the app where we send commands to the backend in a test.js file and see the results in our console.

What you’ll learn

Course Content

Requirements

In this course I will start off with covering the basics of JavaScript, and then go into Node.js, where we will create our first server. Upon doing that, we will handle req and res to our pages. Later we will refactor them to EJS and reconfigure the layout to make it easier for coding and condense the code on each file. After that, we connect to MongoDB and cover the CRUD method in the app where we send commands to the backend in a test.js file and see the results in our console.

 

We connect the backend to our app to show data for our blog post, and put our code into a controllers, models, and middleware folders to organize our code. We create a user sign up – login and logout function, and where the user must be validated to created a post. Lastly, we add a text editor for the create post page and deploy it to Heroku. Prior to deployment, I cover what were on the files we created in case you may have missed anything or you are getting errors.

 

After taking this course you will have an understanding of how to engage CRUD operations with Node and MongoDB, then create your own apps from scratch. Whenever you do create one, please share with me, I’d love to see how it looks!!!