Getting Started with Express.js

Watch User Created Playlist (10)

This playlist is user created.

pro-course-rss-logo

PRO RSS Feed

Create a Basic Server with Express

Define dynamic routes through Express

P

Use Template Engines with Express

P

Serve static files with express

P

Save and Delete Content in Express with HTTP Verbs

P

Handle Errors with a Redirect in Express

Organize Code by Subpath in Express

P

Use Streams in Express

P

Handle Errors with Express Middleware

P

Integrate MongoDB into your Express App

P
node tutorial about Create a Basic Server with Express

Create a Basic Server with Express

4:24 node

In this lesson we will initialize our Express application using npm init.

After loading express through npm we will look at a couple basic functions Express exposes to us such as .get and .send. This will allow basic interaction via the url.

We will also see how using a package like nodemon can allow for rapid iteration when developing an application.

node tutorial about Define dynamic routes through Express

Define dynamic routes through Express

4:30 node PRO

Routing is a fundamental aspect of Express. This lesson demonstrates how to define dynamic routes and access route parameters in your code.

node tutorial about Use Template Engines with Express

Use Template Engines with Express

3:20 node PRO

Template engines allow you to define your UIs in a declarative manner while maintaining a dynamic, data driven presentation layer. This lesson will demonstrate how to use template engines that have built-in support for Express as well as engines without explicit Express support.

node tutorial about Serve static files with express

Serve static files with express

3:20 node PRO

Sometimes you just need to serve existing files. In this lesson we'll examine how to use functionality built into Express to do just that.

node tutorial about Save and Delete Content in Express with HTTP Verbs

Save and Delete Content in Express with HTTP Verbs

7:04 node PRO

In this lesson you will learn how to support data modification by handling HTTP verbs besides GET. We will look at how to edit, save, and delete content with .put and .delete.

node tutorial about Handle Errors with a Redirect in Express

Handle Errors with a Redirect in Express

6:48 node

Take your routing skills to the next level and learn to recover from errors, initiate downloads, and go beyond simple request and response. When we get a route that does not match we don't want the page to just error out. With .redirect we can send the user to an error page and display a helpful message.

We will go on to see how to download a file with .download and track behavior with get.all.

node tutorial about Organize Code by Subpath in Express

Organize Code by Subpath in Express

3:59 node PRO

As your application grows, it's easy to end up with a long list of route handlers and helper functions. In this lesson we'll look at strategies for keeping things organized and manageable.

We will move individual subpaths into their own file by using .router to create an instance of the Express router.

node tutorial about Use Streams in Express

Use Streams in Express

6:59 node PRO

Streams are a big part of Node's famous non-blocking I/O, and Express lets you take full advantage of them. This lesson demonstrates how to integrate streams into your server to improve performance and simplify your code.

We will look at .creatReadStream, .createWriteStream, and .pipe to read and write from streams.

node tutorial about Handle Errors with Express Middleware

Handle Errors with Express Middleware

5:28 node PRO

Middleware is what Express apps are made of. While the term may be unfamiliar, the techniques and concepts aren't. This lesson will round out your understanding of the various types of middleware and how to use them.

node tutorial about Integrate MongoDB into your Express App

Integrate MongoDB into your Express App

9:09 node PRO

This lesson will walk you through replacing the app's file system reliance with a live MongoDB database. We'll also use a popular ORM library to manage our database operations.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?