Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Node.js Blog App with Ejs & MongoDB
Rating: 4.3 out of 5(6 ratings)
30 students

Node.js Blog App with Ejs & MongoDB

Building apps with Node.js and MongoDB, acquiring EJS template
Created byStephen Brooks
Last updated 12/2021
English

What you'll learn

  • Cover the basics of JavaScript
  • Build apps with EJS and structure it for ease of coding
  • use NodeJs for creating server and routing
  • Connect to MongoDB for sending and receiving data within our app

Course content

1 section33 lectures5h 3m total length
  • JavaScript Introduction & Starting At very beginning9:14
  • Introduction1:06

    Introduction to course and what will be covered

  • Necessities & setting up5:49
  • JavaScript Functions6:40
  • JavaScript - Working with Arrays4:53
  • JavaScript - Working with Objects8:41
  • Req & res with pages7:44
  • JavaScript - Logical Statements7:11
  • Getting into Node.js4:35
  • Node - Looking at Req & Res5:31
  • More in Node req, res9:12
  • Node Express6:47
  • Refactoring to EJS8:32
  • EJS Scaffolding3:47
  • Using MDB5 for Layouts3:52
  • Intro to MongoDB9:47
  • Inserting Date - Create (CRUD)11:16
  • Read, Update & Delete (CRUD)6:32
  • Sending Post10:02
  • Receiving Post10:31
  • Single Post9:59
  • Recent Post5:06
  • Uploading images & Middleware11:21
  • MVC with EJS7:26
  • Validation with MiddleWare15:01
  • Registeration15:01
  • User Auth15:01
  • Express-Sessions14:18
  • Conditional Display13:16
  • Unique Users12:22
  • Errors On Form Submission {Required}15:01
  • Using WYSIWG text editor12:54
  • Deployment & Overview15:01

Requirements

  • basic knowledge of html, css and javascript is helpful but not necessary

Description

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

Who this course is for:

  • All audiences - beginners, backend developers, developers from other languages and college student needing to learn the basic structure of a full stack