Treehouse - Express Basics (2016)
AAC | 70.5 Kbps | 48.0 KHz | 2 channels | 3h 26mn | 580.3 MB
Express is a "Fast, unopinionated, minimalist web framework for node." In this course you'll learn how to build an Express site from scratch!
Getting Started with Express
Express is the most popular web server for Node.js. Self described as a “Fast, un-opinionated, minimalist web framework for node.js.”, Express is open and flexible, allowing you to write only the code that you need, and nothing more.
An Intro: Express.js is amazing
Review - An Intro: Express.js is amazing
Review: Installing Express
Review Installing Express
Your First Express App
Review - Your First Express App
Improving your first app, some final touches
Setting Up an Express Server
Developing Express Apps Like a Boss
As a developer “how” you work is just as important as “what” you are working on. Having the right tools and strategies at your disposable can make the difference in a successful and on time project.
Adding Routes to the App
Add a new route to the app.
Easily Debug Express (and other node apps)
Review - Nodemon
Interactive Debugging and Exploratory Programming
Review - Interactive Debugging
The Request and Response Objects in Express
The request an response object house all of the complex information that goes into HTTP requests made to Express, and the HTTP responses that it delivers. The request and response objects themselves can appear complex at first. And they are! The reality is that they save you, the developer, tons of time. In this stage you'll learn how to use the HTTP request and response objects.
Requests and the request object
Review - The Request and Response Objects
Responses and the Response Object
Review - Responses
Using Templates with Express
Templates are common across all web frameworks and are commonly used in many different kinds of web applications. In this stage, you will learn about the Jade template engine and its syntax.
What is Template Rendering?
Review - What is Template Rendering?
What is Jade?
Using Jade in your Express App
Review - Jade Basics
The “response.render” Method
Review the res.render method
Scaffolding Your Project’s Templates
Scaffolding Your Project’s Templates - adding “partials”
Review - Scaffolding your Project's Templates
Serving Static Files in Express
Setting Up the Express Static Server in Development
Review Static Middleware
Add Static to the Layout Template
Review - The Static Server
Doing more with Express
In this stage you will learn some ways you can use Jade syntax to make development easier. Additionally, you'll learn how to use the Express generator to quickly set up a new express project.
Making Lists in Jade Templates
Review - Adding Lists to Jade Templates
Using Logic in Jade Templates
Review - Logic in Jade Templates
Using “express-generator” to Start an Express Project
Review - Using the Express Generator
Where do I go from here?
Review - Where do I go from here?
Before Treehouse he Cofounded and led GraphAlchemist, a Portland based firm providing full stack web development, analytics, and data visualization to high potential startups, medical researchers, and Fortune 500s.
Huston has lived and worked in the Middle East and he completed a Master's Degree in International Policy at the Monterey Institute of International Studies. He has a background in Private Equity Finance and Commercial Real Estate. He is a speaker of Arabic, an Ultra-marathoner, and a Crossfit certified trainer.