Introduction
  • The source code for this course
  • What is nodejs?
  • Creating our first server
  • Understanding the request and response objects
  • Responding with HTML
  • Asynchronous vs synchronous
  • Introduction to npm
  • Introduction to express framework
  • Sending HTML files with express
  • Static assets with express
build the blog
  • Installing project files
  • Creating the home page
  • Creating the about page
  • Introduction to templating engines
  • Introducing layouts in templating engines
  • Refactoring post and contact page to edge
  • Introduction to mongodb
  • Introduction to mongoose
  • CRUD operations with mongoose models
  • Reading data from database using mongoose
  • Getting single database documents
  • Deleting database records
  • The create post form
  • Express post requests
  • Saving posts to database
  • Displaying a list of posts
  • Dynamic data with templating engines
  • The single post page
  • Adding database fields to the schema
  • Renaming description to subtitle
  • Image upload with express
  • Saving uploaded images to database
  • Introduction to express middleware
  • Registering validation middleware
  • Refactoring to MVC
  • Refactoring middleware
  • User registration
  • User model
  • Handling user registration
  • Mongoose model hooks
  • Mongoose model validation
  • User login process
  • The login process
  • Express sessions
  • Persistent express sessions
  • Authentication middleware
  • Displaying validation errors
  • Displaying validation errors in template
  • Flash messaging
  • Persist request data on form
  • Redirect if auth middleware
  • Conditionally display login and register links
  • User logout
  • Relating the post collection with the user collection
  • Display post with user data
  • Creating a 404 page
  • Adding a wysiwyg editor
  • File upload to cloudinary
  • Environment variables