← All modules
Node.js

Node.js: Node.js Tutorial for Beginners | CRASH COURSE

Node.js revolutionized the way we build web applications, but more importantly, it thrust JavaScript into the spotlight (as if it already wasn't). Now, JavaScript is the most popular and important programming language in the world, and with Node.js, you can build command-line and web applications completely with JavaScript. In this comprehensive course, you'll learn everything you need to know about Node.js, from installation to working with a database, using Handlebars, and writing an HTTP server from scratch. ► Download the source files for this course: https://github.com/tutsplus/Node.j

45 lessons5 hr 33 minQuiz + certificate

Module 1: Node.js Basics and Setup

  • ▶1 Introduction
  • ▶1 Installing Node.js
  • ▶2 Using REPL
  • ▶3 Working with REPL Commands
  • ▶4 Working with Standard Input and Output
  • ▶5 Using ReadLine as CommonJS Modules
  • ▶6 Rewriting the Calculator with ES Modules
  • ▶1 Working with Paths

Module 2: File Operations and HTTP Servers

  • ▶2 Reading and Writing Files
  • ▶3 Writing a Command Loop
  • ▶4 Making HTTP Requests
  • ▶5 Using Custom Events
  • ▶1 Creating an HTTP Server

Module 3: Nodemon, NPM, and Static Content

  • ▶2 Using Nodemon and NPM Scripts
  • ▶3 Generating Content
  • ▶4 Extracting Query String Data
  • ▶5 Handling URLs
  • ▶6 Displaying a Form
  • ▶7 Processing Form Data
  • ▶8 Serving Static Files

Module 4: Express Framework and MVC Introduction

  • ▶1 Getting Started with Express
  • ▶2 Structuring the Project
  • ▶3 Using Route Parameters
  • ▶4 Introducing MVC
  • ▶5 Writing a Simple View Engine

Module 5: Middleware and Form Handling

  • ▶6 Handling Static Assets
  • ▶7 Processing Creation Forms
  • ▶8 Handling Edit Forms
  • ▶9 Deleting Data
  • ▶1 Introducting Middleware
  • ▶2 Creating and Processing Login Requests

Module 6: Sessions, Handlebars, and MongoDB Setup

  • ▶3 Using Sessions
  • ▶1 Setting Up Handlebars
  • ▶2 Generating Lists
  • ▶3 Making Decisions
  • ▶4 Defining Global View Variables
  • ▶5 Using Different Layouts
  • ▶1 Getting Started with MongoDB
  • ▶2 Storing Database Credentials

Module 7: Mongoose Models and User Authentication

  • ▶3 Creating Mongoose Models
  • ▶4 Editing Documents in MongoDB
  • ▶5 Creating and Deleting Documents
  • ▶6 Discussing Security
  • ▶7 Really Authenticating the User
  • ▶1 Conclusion