Express Basics
Treehouse
Course Summary
Learn how to use Express.js to build dynamic websites on the Node.js platform. In the process, you'll learn some fundamental HTTP concepts that you can apply to any other framework!
-
+
Course Description
About this Course Learn how to use Express.js to build dynamic websites on the Node.js platform. In the process, you'll learn some fundamental HTTP concepts that you can apply to any other framework! What you'll learn
- Installing and Setting up Express
- Pug Templating
- Routing in Express
- HTTP GET and POST
- Basic Form Processing
- Middleware
About the Teacher
Joel is a web developer, as well as an author and teacher of JavaScript content at Treehouse. Joel lives in Portland, Oregon with his wife and two-year-old daughter.
-
+
Course Syllabus
Getting Started with Express
Build your first Express App from scratch! 9 steps- What is Express? 4:05
- Install Express 4:28
- Review Installing Express 1 objective
- Review: Installing Express 5 questions
- Creating a Server in Express 3:23
- Creating a Route with Express 6:55
- Review: Your First Express App 5 questions
- Adding Multiple Routes to the App 4:34
- Setting Up a Basic Express App 2 objectives
Using Templates with Express
Learn how to serve dynamic web pages easily with Pug, a popular template engine that can be used with Express. 10 stepsDeeper into Routing with Express
Routing is how users can access different parts of your application. Let's examine how to offer users more from our app. 12 stepsMiddleware
Two essential components of Express are routing and middleware. Now that we have a handle on routing, let's see what middleware is all about! 9 stepsParameters, Query Strings, and Modularizing Routes
Now that we have a solid grasp on the basics, let's apply that knowledge to developing the Flashcard application. 9 stepsServing Static Files in Express
Web pages need CSS and other assets to look good. Express can supply those with what's called a static server. Let's set one up; it's easy! 4 steps