Just Express (with a bunch of node and http). In detail.

12h 33m 3s
English
Paid

Course description

You have some notion of what Node, Express, and http are or you wouldn't be here. Node and back-end JavaScript have taken the world by storm, [SOME BIG COMPANY] moved to node and it changed the world, blah blah blah. One of the first things you're going to learn in any node course is about the Express module. But how much do you really learn about it? How to render a page in one template engine? How to make a get and a post route?

Read more about the course

Most MEAN and MERN stacks students I've met learned Express in a few breaths and then moved on to MongoDB, MySQL, Angular, React, or whatever was in the rest of the tech stack. What is http anyway? Should I even care? It's easy to get 2 inches deep and find you've accomplished your task, but in fact have no idea why it works or how you'd go further. That, in my opinion, is no good for someone who wants to be a great developer.

I've had a lot of students ask for a course on just Express js because they were either overwhelmed when they learned it, or they can't find any detail on it to go further than beginner knowledge. That's what this course is for. We will go through the various pieces of Express in detail so you can know why it behaves the way it does and get the most out of it. Express 5 is currently in alpha, so when it hits beta or full release, and as questions come up, the course will expand accordingly!

Note: this course is not a quick path to launch a webapp with Express/Node. You can get that in 10 minutes in many other places. This course is meant to take a longer, deeper look at what Express js actually does.

I've been using Express since V.2, in 2012 and have seen it do just about everything. It is one of my favorite node modules and consistently one of the most downloaded on npm. There are other awesome technologies that patch into Express that get easily missed. This course will naturally lead into other things like websockets, webRTC, etc. Prepare for one of the most awesome node modules on npm!

Sections:

  1. Environment Setup (skip if you have node installed already)

  2. Before Express... - TCP & HTTP, making an express-less node server

  3. Express 101 - Making a basic web sever with Express

  4. Express 201 - Middleware and Rendering

  5. Express 301 - Req & Res revisited, the router, and the express generator

  6. Rendering Project

  7. API Project

  8. Passport (jwt & local strategy still coming)

  9. Best Practices (Coming...)

  10. Supplemental - connecting to various DBs (very basic - only for those already familiar with a database)

Requirements:
  • You have a working knowledge of JavaScript (Not a ninja, but you should not be brand new).
  • You have at least run a Nodejs program before. I will cover some basics, but this is NOT an intro to node class.
  • You have basic command line knowledge (at least capable of navigating and running a program)
  • You have a computer capable of running Nodejs.
Who this course is for:
  • Beginner node developers who want to learn Express but overwhelmed by full MERN or MEAN courses
  • Beginner node developers who need a review of JUST Express js
  • Developers who want to go into the various pieces of Express in a little more depth without having to look at the docs
  • Developers interested in using node as a webserver or using web sockets with Express

What you'll learn:

  • Express. That's (mostly) all we cover so when you finish, you'll know it!
  • Set up an Express server that can do anything Express can do!
  • Operate that Express Server as a REST API
  • Use that Express Server to render your front-end web pages with EJS, PUG, & handlebars
  • Understand the basics of HTTP and the request/response cycle

Watch Online

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 55 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing

Watch Online Just Express (with a bunch of node and http). In detail.

0:00
/
#1: Course Overview

All Course Lessons (55)

#Lesson TitleDurationAccess
1
Course Overview Demo
03:44
2
Install node and npm on Mac
04:15
3
Install node and npm on PC
04:44
4
Pre-Express
06:06
5
How the Internet Works - TCP and UDP
18:11
6
What is an HTTP request and how does it work?
14:13
7
Course Housekeeping - How I do Nodejs
05:23
8
Node/HTTP servers 101
15:23
9
Serving up routes and static files in plain Node (no fun...)
21:26
10
What is Express and why should I care?
09:19
11
Enter Express... the basics
11:30
12
Basic Routing in Express
14:42
13
Serving Static Files in Express
16:07
14
Middleware. (It's all Express really is.)
16:16
15
Putting on your Express helmet, and other awesome Express middleware
17:07
16
Responding with JSON
09:45
17
STOP - Time for a Review
19:11
18
Chose your weapon - API or server side rendering
16:11
19
Wiring up Express with a view engine
19:15
20
Rendering in Express (with EJS) - Part1 of 2
16:08
21
Rendering in Express (with EJS) - Part2 of 2
19:12
22
Rendering Engine Option 2. Handlebars
09:07
23
Rendering Engine Option 3: Pug/Jade
10:48
24
Getting data from the request object - forms and cookies
28:40
25
Getting data from the query string
12:55
26
Getting data from params (URL wildcards) - req.params and req.param()
17:26
27
Sending files, and headers already sent!
15:21
28
The Router
17:53
29
The Express Generator
14:20
30
STOP - Checklist Update and Short Review
04:58
31
Don't fear the HTTP headers!!
28:57
32
Project Overview
04:30
33
Project Setup
09:36
34
Adding the request module
12:49
35
Putting the data in the template
10:23
36
Adding the single-movie view
20:55
37
Adding the search feature
17:11
38
Project Overview and Setup
06:27
39
Project structure and routes
07:40
40
First route and middleware
15:07
41
Movie Routes and some header work
17:17
42
Movie Routes and some header work - Continued
20:24
43
Search Routes with router.use()
13:27
44
Intro to Passport
05:04
45
Overview of OAuth 2.0
11:14
46
Passport and the github Strategy
18:04
47
Passport and the Github Strategy - part 2
19:13
48
Intro
02:46
49
Basics of the PostGres module w/Express
09:45
50
Structuring your DB calls (w/pg)
08:20
51
The MongoDB module
10:21
52
The MySQL module
10:57
53
Express view to Express Route
21:48
54
React to Express
17:30
55
Express to S3
23:42

Unlock unlimited learning

Get instant access to all 54 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Comments

0 comments

Want to join the conversation?

Sign in to comment

Similar courses

Learn Nodejs by building 12 projects

Learn Nodejs by building 12 projects

Sources: udemy
Nodejs is open source cross platform environment for creating server side and network applications. It is built on the Chrome's JavaScript Runtime and can be used to build large...
14 hours 33 minutes 23 seconds
The Modern GraphQL Bootcamp (with Node.js and Apollo)

The Modern GraphQL Bootcamp (with Node.js and Apollo)

Sources: udemy
GraphQL is quickly changing how Node.js developers write their APIs and backend applications. It offers a much-needed replacement to the traditional REST HTTP A
23 hours 26 minutes 42 seconds
Full-Stack Web Developer Bootcamp with Real Projects

Full-Stack Web Developer Bootcamp with Real Projects

Sources: udemy
This Course covers full process of web development from scratch till deployment with domain name. We will use Node, Express, MongoDB to build Server side which
22 hours 11 minutes 13 seconds
React and NodeJS: A Practical Guide with Typescript

React and NodeJS: A Practical Guide with Typescript

Sources: udemy
I'm a FullStack Developer with 10+ years of experience. I'm obsessed with clean code and I try my best that my courses have the cleanest code possible. My teach
6 hours 54 minutes 59 seconds
MERN 2024 Edition - MongoDB, Express, React and NodeJS

MERN 2024 Edition - MongoDB, Express, React and NodeJS

Sources: udemy
Welcome to the immersion in the MERN Stack! This course will help you master all aspects of building a fully functional "Jobify" application using MongoDB.
19 hours 7 minutes